]>
BookStack Code Mirror - bookstack/log
Dan Brown [Sat, 2 Jan 2021 00:09:29 +0000 (00:09 +0000)]
Added owner field to DummyContentSeeder
Dan Brown [Fri, 1 Jan 2021 23:58:53 +0000 (23:58 +0000)]
Tested new ownership + (delete/change) systems
Dan Brown [Fri, 1 Jan 2021 18:38:54 +0000 (18:38 +0000)]
Added manual type conversion to fix failing tests
Dan Brown [Fri, 1 Jan 2021 18:31:01 +0000 (18:31 +0000)]
Added user ownership migrate to delete screen.
Dan Brown [Fri, 1 Jan 2021 17:49:48 +0000 (17:49 +0000)]
Moved permission updating to its own tool
And added support for owner changing.
Dan Brown [Thu, 31 Dec 2020 17:27:23 +0000 (17:27 +0000)]
Fixed view path
Dan Brown [Thu, 31 Dec 2020 17:25:20 +0000 (17:25 +0000)]
Added user-select input
Dan Brown [Thu, 31 Dec 2020 15:27:25 +0000 (15:27 +0000)]
Converted breadcrumb-listing to new component system
Dan Brown [Wed, 30 Dec 2020 22:25:10 +0000 (22:25 +0000)]
Fixed test helper method signature
Dan Brown [Wed, 30 Dec 2020 22:18:28 +0000 (22:18 +0000)]
Added owners to entity creation and updated tests
Dan Brown [Wed, 30 Dec 2020 18:25:35 +0000 (18:25 +0000)]
Started change for entities to have concept of owners
Dan Brown [Wed, 30 Dec 2020 16:51:55 +0000 (16:51 +0000)]
Updated readme newsletter links
Shubham Tiwari [Mon, 21 Dec 2020 06:23:33 +0000 (11:53 +0530)]
Remove unnecessary changes
Dan Brown [Fri, 18 Dec 2020 22:54:53 +0000 (22:54 +0000)]
Updated wording of image cleanup option
As per #2352
Dan Brown [Fri, 18 Dec 2020 21:42:43 +0000 (21:42 +0000)]
Fixed failing home test after changes in last commit
Also made a restriction test more reliable.
Also renamed restrictionstest to entitypermissionstest to be more
consistent with newer app wording.
Dan Brown [Fri, 18 Dec 2020 21:26:22 +0000 (21:26 +0000)]
Aligned book and shelf grid item views
Updated the titles so they are limited via CSS rather than by a
estimated hardcoded limit.
For #1469
Dan Brown [Sun, 13 Dec 2020 15:07:58 +0000 (15:07 +0000)]
Updated deps based on changes done for php8 readiness
Commit cherry-picked from branch then made further changes.
Updates min php version.
Dan Brown [Fri, 18 Dec 2020 20:04:48 +0000 (20:04 +0000)]
Fixed changed namespaces for merged test
Dan Brown [Fri, 18 Dec 2020 14:16:13 +0000 (14:16 +0000)]
Merge branch 'v0.30.x'
Dan Brown [Fri, 18 Dec 2020 13:56:00 +0000 (13:56 +0000)]
Fixed issue where restricted page content in plaintext export
The content of pages made non-viewable to a user via permissions, within a visible parent, could be seen via the plaintext export option. Before v0.30.6 this would have applied only to scenarios where all pages within the chapter were made non-visible. In v0.30.6 this would make all pages within the chapter visible.
As per #2414
Dan Brown [Thu, 17 Dec 2020 21:47:59 +0000 (21:47 +0000)]
Merge branch 'v0.30.x'
Dan Brown [Thu, 17 Dec 2020 17:31:18 +0000 (17:31 +0000)]
Fixed book-tree-gen page visibility issue
When book trees were generated, pages in chapters where ALL pages within
were not supposed to be visibile, would be visible due to the code
falling back on the raw relation which would not account for
permissions.
This has now been changed so that a custom 'visible_pages' attribute is set and used by any book tree structures, to ensure it does not fall back to the raw relation.
Added an extra test to cover.
For #2414
shubhamosmosys [Thu, 17 Dec 2020 14:17:15 +0000 (19:47 +0530)]
Fix issue with viewing export dropdown list
There is issue with viewing all the export list
Dan Brown [Thu, 17 Dec 2020 02:29:53 +0000 (02:29 +0000)]
Updated chapter delete wording to fit with new logic
Dan Brown [Tue, 8 Dec 2020 23:46:38 +0000 (23:46 +0000)]
Cleaned up some user/image areas of the app
Further cleanup of docblocks and standardisation of repos.
Dan Brown [Sun, 6 Dec 2020 22:23:21 +0000 (22:23 +0000)]
Fixed issue where page export contain system would miss images
Dan Brown [Sun, 6 Dec 2020 21:32:01 +0000 (21:32 +0000)]
Merge branch 'v0.30.x'
Dan Brown [Sun, 6 Dec 2020 15:34:18 +0000 (15:34 +0000)]
Ensured base64 images are read from image upload folder
Also removed unused storage systems and updated testing.
Dan Brown [Sun, 6 Dec 2020 14:24:22 +0000 (14:24 +0000)]
Removed http fetching from image base64 generation
Dan Brown [Sun, 6 Dec 2020 12:58:40 +0000 (12:58 +0000)]
Removed generic "UploadService" which was doing very little
Dan Brown [Sun, 6 Dec 2020 12:31:36 +0000 (12:31 +0000)]
Updated .env.example to encorage use of setting APP_URL
For the purposes of secure URL generation and to avoid common problems
found when people are using reverse proxies.
Dan Brown [Sun, 29 Nov 2020 19:08:13 +0000 (19:08 +0000)]
Swapped out HTML diff implementation for own, removes tidy depdendancy
Dan Brown [Sat, 28 Nov 2020 16:42:12 +0000 (16:42 +0000)]
Fixed bad collection/array mixing causing error on seed
Dan Brown [Sat, 28 Nov 2020 16:31:35 +0000 (16:31 +0000)]
Merge pull request #2382 from BookStackApp/pages_api
Pages API
Dan Brown [Sat, 28 Nov 2020 16:30:30 +0000 (16:30 +0000)]
Added testing to cover the pages API
Dan Brown [Sat, 28 Nov 2020 15:39:40 +0000 (15:39 +0000)]
Added page export API controller
Dan Brown [Sat, 28 Nov 2020 15:28:44 +0000 (15:28 +0000)]
Made docs sidebar a slight bit easier to scroll
Now it easily goes off the page, made it indapentally scrollable.
Will probably do something different in future as it grows more.
Dan Brown [Sat, 28 Nov 2020 15:21:54 +0000 (15:21 +0000)]
Added pages API doc examples
Made some tweaks to related content and other examples while there.
Dan Brown [Sun, 22 Nov 2020 14:56:19 +0000 (14:56 +0000)]
Started pages API
Dan Brown [Sun, 22 Nov 2020 01:26:14 +0000 (01:26 +0000)]
Updated old exportService name in controllers
Dan Brown [Sun, 22 Nov 2020 01:20:38 +0000 (01:20 +0000)]
Focused base Entity class cleanup
Removed some common functions from other entities.
Aligned implementation of getUrl()
Cleaned phpdocs and added typehinting.
Also extracted sibling search logic out of controller.
Dan Brown [Sun, 22 Nov 2020 00:17:45 +0000 (00:17 +0000)]
Fixed some mis-refactoring and split search service
Search service broken into index and runner tools.
Dan Brown [Sat, 21 Nov 2020 23:20:54 +0000 (23:20 +0000)]
Moved models to folder, renamed managers to tools
Tools seems to fit better since the classes were a bit of a mixed bunch
and did not always manage.
Also simplified the structure of the SlugGenerator class.
Also focused EntityContext on shelves and simplified to use session
helper.
Dan Brown [Sat, 21 Nov 2020 17:52:49 +0000 (17:52 +0000)]
Service provider and other cleanup
- Removed old 'exposeTranslations' system to instead use new component
option system.
- Extracted validation rules into their own service provider.
- Cleaned up some formatting/comments in the repos.
Dan Brown [Sat, 21 Nov 2020 17:08:37 +0000 (17:08 +0000)]
Aligned constructors across controller classes
Since they no longer needed to run the parent contructor
since the parent constructor was no longer needed.
Dan Brown [Sat, 21 Nov 2020 17:03:24 +0000 (17:03 +0000)]
Cleaned up api docs implementation, added missing titles
Dan Brown [Sat, 21 Nov 2020 16:12:25 +0000 (16:12 +0000)]
Merge pull request #2360 from BookStackApp/activity_revamp
Tracked activity update
Dan Brown [Fri, 20 Nov 2020 20:10:18 +0000 (20:10 +0000)]
Added latest activity into users list view
Dan Brown [Fri, 20 Nov 2020 19:33:11 +0000 (19:33 +0000)]
Implemented remainder of activity types
Also fixed audit log to work for non-entity items.
Dan Brown [Fri, 20 Nov 2020 18:53:01 +0000 (18:53 +0000)]
Implemented user, api_tokem & role activity logging
Also refactored some role content, primarily updating the permission
controller to be RoleController since it only dealt with roles.
Dan Brown [Wed, 18 Nov 2020 23:38:44 +0000 (23:38 +0000)]
Started widening of activity logging
In progress, Need to implement much of the logging in controllers.
Also cleaned up base controller along the way.
Boddy4 [Wed, 18 Nov 2020 00:05:29 +0000 (01:05 +0100)]
LDAP: Added TLS support
Dan Brown [Sun, 8 Nov 2020 00:03:19 +0000 (00:03 +0000)]
Updated activities table format
Renamed some columns to be more generic and applicable.
Removed now redundant book_id column.
Allowed nullable entity morph columns for non-entity activity.
Ran tests and made required changes.
Dan Brown [Sat, 7 Nov 2020 23:15:13 +0000 (23:15 +0000)]
Removed use of book_id in activity
Dan Brown [Sat, 7 Nov 2020 22:37:27 +0000 (22:37 +0000)]
Organised activity types and moved most to repos
Repos are generally better since otherwise we end up duplicating
things between front-end and API.
Types moved to by CONST values within a class for better visibilty
of usage and listing of types.
Dan Brown [Sat, 7 Nov 2020 15:10:17 +0000 (15:10 +0000)]
Merge pull request #2283 from BookStackApp/recycle_bin
Recycle Bin Implementation
Dan Brown [Sat, 7 Nov 2020 15:05:13 +0000 (15:05 +0000)]
Checked over recycle bin parent/child flows
Dan Brown [Sat, 7 Nov 2020 14:28:50 +0000 (14:28 +0000)]
Enhanced how activities are shown on items in recycle bin
Dan Brown [Sat, 7 Nov 2020 13:58:23 +0000 (13:58 +0000)]
Added recycle bin auto-clear lifetime functionality
Dan Brown [Sat, 7 Nov 2020 13:19:23 +0000 (13:19 +0000)]
Added test coverage of recycle bin actions
Dan Brown [Fri, 6 Nov 2020 12:54:39 +0000 (12:54 +0000)]
Started testing work for recycle bin implementation
Anthony Ronda [Wed, 4 Nov 2020 01:46:47 +0000 (20:46 -0500)]
Automatic Restored Revision Changelog Summary Text
Dan Brown [Mon, 2 Nov 2020 22:54:00 +0000 (22:54 +0000)]
Cleaned up duplicate code in recycle-bin restore
Dan Brown [Mon, 2 Nov 2020 22:47:48 +0000 (22:47 +0000)]
Added per-item recycle-bin delete and restore
Dan Brown [Sat, 31 Oct 2020 23:05:48 +0000 (23:05 +0000)]
Re-aligned init files with Laravel default
Removed the custom init elements that we added in 2017 to
custom load the helpers file and instead load via composer.
Also removed laravel-microscope package due to not running due to
helpers file.
Dan Brown [Sat, 31 Oct 2020 22:11:27 +0000 (22:11 +0000)]
Merge branch 'fixes' of git://github.com/imanghafoori1/BookStack into imanghafoori1-fixes
Dan Brown [Sat, 31 Oct 2020 21:56:48 +0000 (21:56 +0000)]
Merge pull request #2298 from timoschwarzer/composer-install-in-entrypoint
Install composer dependencies in Docker entrypoint
Dan Brown [Sat, 31 Oct 2020 15:19:33 +0000 (15:19 +0000)]
Merge branch 'xss_and_redir_patch' of git://github.com/PercussiveElbow/BookStack into xss_and_redirect
Dan Brown [Sat, 31 Oct 2020 15:01:52 +0000 (15:01 +0000)]
Prevented possible XSS via link attachments
This filters out potentially malicious javascript: or data: uri's coming
through to be attached to attachments.
Added tests to cover.
Thanks to Yassine ABOUKIR (@yassineaboukir on twitter) for reporting this
vulnerability.
PercussiveElbow [Tue, 27 Oct 2020 01:34:51 +0000 (01:34 +0000)]
XSS and redirect fixes with test cases
Ole Aldric [Mon, 19 Oct 2020 10:43:41 +0000 (12:43 +0200)]
Update Localization.php in Middleware with "no" tag for estimate.
Ole Aldric [Mon, 19 Oct 2020 10:35:05 +0000 (12:35 +0200)]
updated config to also include Norwegian
Ole Aldric [Mon, 19 Oct 2020 10:26:18 +0000 (12:26 +0200)]
added missing comma that caused the testprocess to fail.
Ole Aldric [Mon, 19 Oct 2020 09:43:43 +0000 (11:43 +0200)]
Added translation for Norwegian (Bokmål)
This will add translations for Norwegian to BookStack. It is identified by the langID no_NB
imanghafoori [Fri, 16 Oct 2020 15:10:44 +0000 (18:40 +0330)]
Adds laravel-microscope package
imanghafoori [Thu, 15 Oct 2020 23:27:36 +0000 (02:57 +0330)]
fixes from laravel-microscope
Dan Brown [Tue, 13 Oct 2020 22:17:23 +0000 (23:17 +0100)]
Merge pull request #2296 from timoschwarzer/esbuild-watch-first-time-fix
Fix build:js:watch not building at first launch in Docker
Dan Brown [Tue, 13 Oct 2020 21:49:55 +0000 (22:49 +0100)]
Updated translator attribution before release v0.30.3
Dan Brown [Tue, 13 Oct 2020 21:44:33 +0000 (22:44 +0100)]
Added alias for vbscript
Dan Brown [Tue, 13 Oct 2020 21:41:09 +0000 (22:41 +0100)]
Merge pull request #2302 from nutsflag/master
Add VBScript Codemirror
Dan Brown [Tue, 13 Oct 2020 21:39:52 +0000 (22:39 +0100)]
Merge pull request #2303 from BookStackApp/l10n_master
New Crowdin updates
Dan Brown [Tue, 13 Oct 2020 21:36:07 +0000 (22:36 +0100)]
Fixed error on drawing edit on markdown editor
Was preventing save of drawings.
For #2313
Dan Brown [Mon, 5 Oct 2020 05:26:38 +0000 (06:26 +0100)]
New translations settings.php (Chinese Simplified)
Dan Brown [Sat, 3 Oct 2020 17:53:09 +0000 (18:53 +0100)]
Added recycle bin empty notification response with count
Dan Brown [Sat, 3 Oct 2020 17:44:12 +0000 (18:44 +0100)]
Started work on the recycle bin interface
Dan Brown [Fri, 2 Oct 2020 16:18:27 +0000 (17:18 +0100)]
New translations settings.php (Spanish)
Dan Brown [Fri, 2 Oct 2020 14:55:46 +0000 (15:55 +0100)]
New translations settings.php (Chinese Simplified)
nutsflag [Fri, 2 Oct 2020 13:14:29 +0000 (15:14 +0200)]
Update code.js
nutsflag [Fri, 2 Oct 2020 13:13:31 +0000 (15:13 +0200)]
Update code-editor.blade.php
Timo Schwarzer [Thu, 1 Oct 2020 09:34:56 +0000 (11:34 +0200)]
Install composer dependencies in Docker entrypoint
Timo Schwarzer [Thu, 1 Oct 2020 09:25:22 +0000 (11:25 +0200)]
Fix build:js:watch not building at first launch in Docker
Dan Brown [Wed, 30 Sep 2020 21:32:03 +0000 (22:32 +0100)]
Updated http service to not read 204 response data
Dan Brown [Wed, 30 Sep 2020 21:28:53 +0000 (22:28 +0100)]
Updated esbuild options and version & updated npm deps
Had to change way sortable is imported due to changes, Still
seemed to have functioning multi-select.
Dan Brown [Mon, 28 Sep 2020 21:26:50 +0000 (22:26 +0100)]
Updated page content related links on content id changes
For #2278
Dan Brown [Mon, 28 Sep 2020 20:55:24 +0000 (21:55 +0100)]
Fixed duplicate requests in attachment manager issue
Closes #2286
Dan Brown [Mon, 28 Sep 2020 20:15:23 +0000 (21:15 +0100)]
Merge pull request #2272 from jakubboucek/feature/fix-invalid-canonical-redirect
Fixed canonical redirects on non-root url app instances
Dan Brown [Mon, 28 Sep 2020 19:45:38 +0000 (20:45 +0100)]
Updated draw.io references to diagrams.net
Related to #2044
Dan Brown [Sun, 27 Sep 2020 22:24:33 +0000 (23:24 +0100)]
Started implementation of recycle bin functionality
Jakub Bouček [Tue, 22 Sep 2020 23:22:03 +0000 (01:22 +0200)]
Fixed canonical redirects on non-root url app instances
If BookStack instance is deployed to any non-root path, e.g. http://example.com/wiki/,
requests for http://example.com/wiki/shelves/
was redirected to http://example.com/shelves
instead of http://example.com/wiki/shelves
Synced with: https://github.com/laravel/laravel/blob/master/public/.htaccess
Dan Brown [Sat, 26 Sep 2020 17:24:05 +0000 (18:24 +0100)]
Removed redundant test
Now replaced in recent commit by one that checks actual message gets
displayed on the redirect page.
Redirect page changed to login page.