Commit Graph

50 Commits

Author SHA1 Message Date
Dan Brown
eebad3e2a0 Fixed tags not being saved on new pages 2016-05-15 14:17:25 +01:00
Dan Brown
8d80e7311c Added tag searching to search interfaces 2016-05-15 13:41:18 +01:00
Dan Brown
7932069535 Added tags to page display and simplified editing flow
Tags now save with the page content data
2016-05-15 10:39:17 +01:00
Dan Brown
b80184cd93 Renamed attribute to tags & continued interface
Also fixed page create route broken in last commit
2016-05-13 21:20:21 +01:00
Dan Brown
fcfb9470c9 Added further attribute endpoints and added tests 2016-05-07 14:29:43 +01:00
Dan Brown
75a4fc905b Major permission naming refactor and database migration cleanup 2016-05-01 22:33:56 +01:00
Dan Brown
a81a56706e Rolled out new permissions system throughout application 2016-04-24 16:54:20 +01:00
Dan Brown
8933179017 Prevented drafts from showing up in a book sort
Added tests to cover regresssion.
In reference to #100.
2016-04-15 19:51:27 +01:00
Dan Brown
e1994ef2cf Added editor control in admin settings & Fixed some markdown editor bugs
Also updated the setting system with a more sane approach to handling default values. (Now done via the setting-defaults config file)
2016-03-29 19:26:13 +01:00
Dan Brown
4656c12f6d Fixed bug causing editing notification to always show
Updated tests to prevent happening again
2016-03-13 14:33:43 +00:00
Dan Brown
5283919d24 Added new page drafts and started image entity attaching
Closes #80.
2016-03-13 12:04:08 +00:00
Dan Brown
30214fde74 Added UI components of page autosaving 2016-03-12 15:52:19 +00:00
Dan Brown
59ce228c2e Moved page editing to angular controller and started work on update drafts 2016-03-09 22:32:07 +00:00
Dan Brown
76eaf64f94 Fixed errors that occured when merging & refactored entity repositories
Also deleted the git '.orig' files that got added in last merge.
2016-03-05 19:00:26 +00:00
Dan Brown
80865b30a5 Merge branch 'custom_role_system'
Conflicts:
	app/Repos/BookRepo.php
	app/Repos/ChapterRepo.php
	app/Repos/PageRepo.php
2016-03-05 18:21:44 +00:00
Dan Brown
8e6248f57f Added restriction tests and fixed any bugs in the process
Also updated many styles within areas affected by the new permission and roles system.
2016-03-05 18:09:21 +00:00
Nick Walke
33bf20cfc8 Found the source of the issue, not sure how to fix 2016-03-04 02:33:57 -06:00
Nick Walke
5681f4dd69 Closes #70.
Added the ability to search by multi-word terms using double quotes.
2016-03-02 21:38:23 -06:00
Dan Brown
7f5872372d Added in restriction queries for most lists 2016-02-28 19:03:13 +00:00
Dan Brown
201f788806 Implemented database structure and inital interfaces for entity restrictions 2016-02-28 10:49:41 +00:00
Dan Brown
54e3122540 Added smarter page finding so changing the page name does not break old urls
Added page & book slug history to revisions so they can be looked up if a page is not found.
2016-02-25 20:01:59 +00:00
Dan Brown
61577cf6bf Added entity-specific search results pages. Cleaned & Fixed search results bugs
Added search result pages for pages, chapters and books.
Limited the results on the global search as it just listed out an infinate amount.
Fixed styling on new detailed page listings and also removed the 'bars' from the side to create  a cleaner view.
Fixed bad sql fulltext query format that may have thrown off searches.
Reduced the number of database queries down a thousand or so.
2016-02-21 12:53:58 +00:00
Dan Brown
b4dec2a99c Made page anchor hashes more relevant to the page content
This will help when adding support for new kinds of page content such as markdown as we won't be able to reference the same ID's as before thus they would break on every save.
2016-02-21 11:29:46 +00:00
Dan Brown
fe0b122aca Merge pull request #63 from AkibaWolf/patch-1
Fixes encoding issues the page HTML is formatted on save
2016-02-20 19:24:32 +00:00
Dan Brown
8eb2960950 Added recently created & updated page listings
Closes #46.
2016-02-20 18:51:01 +00:00
AkibaWolf
c2369a740d Update PageRepo.php
Fix encoding problem.

By default DOMDocument::loadHTML treats a string as being encoded with ISO-8859-1. This causes a problem with saving cyrillic pages' text that becomes completely unreadable (like Проверка instead of normal symbols).
2016-02-20 21:31:21 +05:00
Dan Brown
445f939822 Fixed issue with searching invalid chars and page-content compiliation 2015-12-29 15:37:13 +00:00
Dan Brown
05c4b2089c Accounted for non-existant entities 2015-12-28 17:19:23 +00:00
Dan Brown
4db692309b Standardized vue component http access and fixed some small bugs 2015-12-28 15:58:13 +00:00
Dan Brown
497747e621 Fixed issue with deleted users in page revision list & extended tests to cover. 2015-12-15 19:53:46 +00:00
Dan Brown
3e24b04d00 Prevent duplicate slugs on sort 2015-11-21 18:11:46 +00:00
Dan Brown
61ae96c5f8 Added better entity deletion and commented up repos 2015-11-21 18:05:03 +00:00
Dan Brown
3fd2613ab7 Prevent revision encoding issues 2015-10-18 19:40:33 +01:00
Dan Brown
1520bde191 Changed DomNodeList access to work with hhvm 2015-10-11 17:45:32 +01:00
Dan Brown
5af6656fae Extracted page form js and added better page content linking 2015-10-10 18:57:52 +01:00
Dan Brown
88049476fe Change application namespace to BookStack 2015-09-10 19:31:09 +01:00
Dan Brown
e449f25cc8 Added cross-book page/chapter sorting 2015-09-06 14:35:53 +01:00
Dan Brown
69eff86ff5 Added image user checking before deletion. Fixes #13. 2015-09-01 18:28:50 +01:00
Dan Brown
03f5f9e9b9 Added AJAX-based search to books, Fixes #15 2015-09-01 15:35:11 +01:00
Dan Brown
9a82d27548 Updated Search experience including adding fulltext mysql indicies. 2015-08-31 20:11:44 +01:00
Dan Brown
fbccc6824a Added page revisions. Fixes #2 2015-08-09 12:06:52 +01:00
Dan Brown
b54ef3bb4b Made chapters functional and cleaned design features 2015-07-30 22:27:35 +01:00
Dan Brown
fd1a0dceb2 Expanded chapters interface and improved book/page deletion 2015-07-28 20:57:13 +01:00
Dan Brown
b9df3c647a Started working on chapters 2015-07-27 20:17:08 +01:00
Dan Brown
ef77c10a70 Vastly improved design and cleaned text input 2015-07-23 21:55:46 +01:00
Dan Brown
941b4496c2 Addded sorting logic to pages 2015-07-21 20:13:29 +01:00
Dan Brown
da2ba4d9f3 Got the tree view working 2015-07-20 22:05:26 +01:00
Dan Brown
4c0783fdc7 Added search 2015-07-16 19:53:24 +01:00
Dan Brown
46217a5880 Vastly improved design 2015-07-15 22:55:49 +01:00
Dan Brown
3c7bd297ea Added page editing 2015-07-12 21:31:15 +01:00