]> BookStack Code Mirror - bookstack/log
bookstack
4 years agoMade docs sidebar a slight bit easier to scroll
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.

4 years agoAdded pages API doc examples
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.

4 years agoStarted pages API
Dan Brown [Sun, 22 Nov 2020 14:56:19 +0000 (14:56 +0000)]
Started pages API

4 years agoUpdated old exportService name in controllers
Dan Brown [Sun, 22 Nov 2020 01:26:14 +0000 (01:26 +0000)]
Updated old exportService name in controllers

4 years agoFocused base Entity class cleanup
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.

4 years agoFixed some mis-refactoring and split search service
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.

4 years agoMoved models to folder, renamed managers to 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.

4 years agoService provider and other cleanup
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.

4 years agoAligned constructors across controller classes
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.

4 years agoCleaned up api docs implementation, added missing titles
Dan Brown [Sat, 21 Nov 2020 17:03:24 +0000 (17:03 +0000)]
Cleaned up api docs implementation, added missing titles

4 years agoMerge pull request #2360 from BookStackApp/activity_revamp
Dan Brown [Sat, 21 Nov 2020 16:12:25 +0000 (16:12 +0000)]
Merge pull request #2360 from BookStackApp/activity_revamp

Tracked activity update

4 years agoAdded latest activity into users list view 2360/head
Dan Brown [Fri, 20 Nov 2020 20:10:18 +0000 (20:10 +0000)]
Added latest activity into users list view

4 years agoImplemented remainder of activity types
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.

4 years agoImplemented user, api_tokem & role activity logging
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.

4 years agoStarted widening of activity logging
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.

4 years agoUpdated activities table format
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.

4 years agoRemoved use of book_id in activity
Dan Brown [Sat, 7 Nov 2020 23:15:13 +0000 (23:15 +0000)]
Removed use of book_id in activity

4 years agoOrganised activity types and moved most to repos
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.

4 years agoMerge pull request #2283 from BookStackApp/recycle_bin
Dan Brown [Sat, 7 Nov 2020 15:10:17 +0000 (15:10 +0000)]
Merge pull request #2283 from BookStackApp/recycle_bin

Recycle Bin Implementation

4 years agoChecked over recycle bin parent/child flows 2283/head
Dan Brown [Sat, 7 Nov 2020 15:05:13 +0000 (15:05 +0000)]
Checked over recycle bin parent/child flows

4 years agoEnhanced how activities are shown on items in recycle bin
Dan Brown [Sat, 7 Nov 2020 14:28:50 +0000 (14:28 +0000)]
Enhanced how activities are shown on items in recycle bin

4 years agoAdded recycle bin auto-clear lifetime functionality
Dan Brown [Sat, 7 Nov 2020 13:58:23 +0000 (13:58 +0000)]
Added recycle bin auto-clear lifetime functionality

4 years agoAdded test coverage of recycle bin actions
Dan Brown [Sat, 7 Nov 2020 13:19:23 +0000 (13:19 +0000)]
Added test coverage of recycle bin actions

4 years agoStarted testing work for recycle bin implementation
Dan Brown [Fri, 6 Nov 2020 12:54:39 +0000 (12:54 +0000)]
Started testing work for recycle bin implementation

4 years agoCleaned up duplicate code in recycle-bin restore
Dan Brown [Mon, 2 Nov 2020 22:54:00 +0000 (22:54 +0000)]
Cleaned up duplicate code in recycle-bin restore

4 years agoAdded per-item recycle-bin delete and restore
Dan Brown [Mon, 2 Nov 2020 22:47:48 +0000 (22:47 +0000)]
Added per-item recycle-bin delete and restore

4 years agoRe-aligned init files with Laravel default
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.

4 years agoMerge branch 'fixes' of git://github.com/imanghafoori1/BookStack into imanghafoori1...
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

4 years agoMerge pull request #2298 from timoschwarzer/composer-install-in-entrypoint
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

4 years agoMerge branch 'xss_and_redir_patch' of git://github.com/PercussiveElbow/BookStack...
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

4 years agoPrevented possible XSS via link attachments
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.

4 years agoXSS and redirect fixes with test cases
PercussiveElbow [Tue, 27 Oct 2020 01:34:51 +0000 (01:34 +0000)]
XSS and redirect fixes with test cases

4 years agoAdds laravel-microscope package 2328/head
imanghafoori [Fri, 16 Oct 2020 15:10:44 +0000 (18:40 +0330)]
Adds laravel-microscope package

4 years agofixes from laravel-microscope
imanghafoori [Thu, 15 Oct 2020 23:27:36 +0000 (02:57 +0330)]
fixes from laravel-microscope

4 years agoMerge pull request #2296 from timoschwarzer/esbuild-watch-first-time-fix
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

4 years agoUpdated translator attribution before release v0.30.3
Dan Brown [Tue, 13 Oct 2020 21:49:55 +0000 (22:49 +0100)]
Updated translator attribution before release v0.30.3

4 years agoAdded alias for vbscript
Dan Brown [Tue, 13 Oct 2020 21:44:33 +0000 (22:44 +0100)]
Added alias for vbscript

4 years agoMerge pull request #2302 from nutsflag/master
Dan Brown [Tue, 13 Oct 2020 21:41:09 +0000 (22:41 +0100)]
Merge pull request #2302 from nutsflag/master

Add VBScript Codemirror

4 years agoMerge pull request #2303 from BookStackApp/l10n_master
Dan Brown [Tue, 13 Oct 2020 21:39:52 +0000 (22:39 +0100)]
Merge pull request #2303 from BookStackApp/l10n_master

New Crowdin updates

4 years agoFixed error on drawing edit on markdown editor
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

4 years agoNew translations settings.php (Chinese Simplified) 2303/head
Dan Brown [Mon, 5 Oct 2020 05:26:38 +0000 (06:26 +0100)]
New translations settings.php (Chinese Simplified)

4 years agoAdded recycle bin empty notification response with count
Dan Brown [Sat, 3 Oct 2020 17:53:09 +0000 (18:53 +0100)]
Added recycle bin empty notification response with count

4 years agoStarted work on the recycle bin interface
Dan Brown [Sat, 3 Oct 2020 17:44:12 +0000 (18:44 +0100)]
Started work on the recycle bin interface

4 years agoNew translations settings.php (Spanish)
Dan Brown [Fri, 2 Oct 2020 16:18:27 +0000 (17:18 +0100)]
New translations settings.php (Spanish)

4 years agoNew translations settings.php (Chinese Simplified)
Dan Brown [Fri, 2 Oct 2020 14:55:46 +0000 (15:55 +0100)]
New translations settings.php (Chinese Simplified)

4 years agoUpdate code.js 2302/head
nutsflag [Fri, 2 Oct 2020 13:14:29 +0000 (15:14 +0200)]
Update code.js

4 years agoUpdate code-editor.blade.php
nutsflag [Fri, 2 Oct 2020 13:13:31 +0000 (15:13 +0200)]
Update code-editor.blade.php

4 years agoInstall composer dependencies in Docker entrypoint 2298/head
Timo Schwarzer [Thu, 1 Oct 2020 09:34:56 +0000 (11:34 +0200)]
Install composer dependencies in Docker entrypoint

4 years agoFix build:js:watch not building at first launch in Docker 2296/head
Timo Schwarzer [Thu, 1 Oct 2020 09:25:22 +0000 (11:25 +0200)]
Fix build:js:watch not building at first launch in Docker

4 years agoUpdated http service to not read 204 response data
Dan Brown [Wed, 30 Sep 2020 21:32:03 +0000 (22:32 +0100)]
Updated http service to not read 204 response data

4 years agoUpdated esbuild options and version & updated npm deps
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.

4 years agoUpdated page content related links on content id changes
Dan Brown [Mon, 28 Sep 2020 21:26:50 +0000 (22:26 +0100)]
Updated page content related links on content id changes

For #2278

4 years agoFixed duplicate requests in attachment manager issue
Dan Brown [Mon, 28 Sep 2020 20:55:24 +0000 (21:55 +0100)]
Fixed duplicate requests in attachment manager issue

Closes #2286

4 years agoMerge pull request #2272 from jakubboucek/feature/fix-invalid-canonical-redirect
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

4 years agoUpdated draw.io references to diagrams.net
Dan Brown [Mon, 28 Sep 2020 19:45:38 +0000 (20:45 +0100)]
Updated draw.io references to diagrams.net

Related to #2044

4 years agoStarted implementation of recycle bin functionality
Dan Brown [Sun, 27 Sep 2020 22:24:33 +0000 (23:24 +0100)]
Started implementation of recycle bin functionality

4 years agoFixed canonical redirects on non-root url app instances 2272/head
Jakub BoucÌŒ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

4 years agoRemoved redundant test
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.

4 years agoUpdated translators fiel with latest
Dan Brown [Sat, 26 Sep 2020 16:48:02 +0000 (17:48 +0100)]
Updated translators fiel with latest

4 years agoNew Crowdin updates (#2262)
Dan Brown [Sat, 26 Sep 2020 16:46:32 +0000 (17:46 +0100)]
New Crowdin updates (#2262)

* New translations entities.php (Russian)

* New translations settings.php (Russian)

* New translations entities.php (Chinese Simplified)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Chinese Simplified)

* New translations entities.php (Czech)

* New translations common.php (Czech)

* New translations components.php (Czech)

* New translations settings.php (Czech)

* New translations errors.php (Czech)

* New translations settings.php (Czech)

* New translations settings.php (Czech)

* New translations settings.php (Czech)

* New translations settings.php (German)

* New translations settings.php (German)

* New translations entities.php (German)

* New translations validation.php (Czech)

* New translations entities.php (Spanish, Argentina)

* New translations entities.php (German Informal)

* New translations settings.php (German Informal)

* New translations auth.php (Czech)

4 years agoUpdated codemirror and updated codemirror base styles
Dan Brown [Sat, 26 Sep 2020 16:33:43 +0000 (17:33 +0100)]
Updated codemirror and updated codemirror base styles

Aligns styles with current release, since was causing overflow
with scrollbars.

Fixes #2267

4 years agoUpdated PR code to use isA and updated that function definition
Dan Brown [Sat, 26 Sep 2020 16:00:17 +0000 (17:00 +0100)]
Updated PR code to use isA and updated that function definition

Related to #2227

4 years agoMerge branch 'renderpages' of git://github.com/mr-vinn/BookStack into mr-vinn-renderpages
Dan Brown [Sat, 26 Sep 2020 15:55:05 +0000 (16:55 +0100)]
Merge branch 'renderpages' of git://github.com/mr-vinn/BookStack into mr-vinn-renderpages

4 years agoAdded test for includes on book export
Dan Brown [Sat, 26 Sep 2020 15:54:24 +0000 (16:54 +0100)]
Added test for includes on book export

Related to #2227

4 years agoFixed issue where SAML login not notifiy on existing user
Dan Brown [Sat, 26 Sep 2020 15:43:06 +0000 (16:43 +0100)]
Fixed issue where SAML login not notifiy on existing user

Added testing to cover

Fixes #2263

4 years agoUpdated settings nav to be more flexible
Dan Brown [Sat, 26 Sep 2020 15:26:30 +0000 (16:26 +0100)]
Updated settings nav to be more flexible

Uses flexbox layout, flexed to content instead of rigid thirds like
before. Also extracted row into own file

4 years agoUpdated callout links to be correct colors
Dan Brown [Sat, 26 Sep 2020 14:40:51 +0000 (15:40 +0100)]
Updated callout links to be correct colors

- Also updated to be underlined instead of bold

4 years agoMerge branch 'master' of git://github.com/alexmannuk/BookStack into alexmannuk-master
Dan Brown [Sat, 26 Sep 2020 14:35:13 +0000 (15:35 +0100)]
Merge branch 'master' of git://github.com/alexmannuk/BookStack into alexmannuk-master

4 years agoMerge pull request #2270 from gertjankrol/feature/test-migrations-workflow
Dan Brown [Sat, 26 Sep 2020 14:25:17 +0000 (15:25 +0100)]
Merge pull request #2270 from gertjankrol/feature/test-migrations-workflow

Add `test-migrations` workflow

4 years agoMerge pull request #2268 from gertjankrol/master
Dan Brown [Sat, 26 Sep 2020 14:21:21 +0000 (15:21 +0100)]
Merge pull request #2268 from gertjankrol/master

Fix the `AddActivityIndexes` migration's `down()` method

4 years agoMerge pull request #2274 from abulgatz/patch-1
Dan Brown [Sat, 26 Sep 2020 11:11:53 +0000 (12:11 +0100)]
Merge pull request #2274 from abulgatz/patch-1

Fixed "Ubunto Mono" $mono type misspelling

4 years agoFixed markdown iframe loading and content alignment
Dan Brown [Sat, 26 Sep 2020 11:01:01 +0000 (12:01 +0100)]
Fixed markdown iframe loading and content alignment

Fixes #2280

4 years agoFix "Ubunto Mono" $mono type misspelling 2274/head
Adam [Wed, 23 Sep 2020 21:19:30 +0000 (16:19 -0500)]
Fix "Ubunto Mono" $mono type misspelling

4 years agoAdded the `test-migrations` workflow 2270/head
Gertjan Krol [Tue, 22 Sep 2020 17:53:45 +0000 (19:53 +0200)]
Added the `test-migrations` workflow

4 years agoFixed the `AddActivityIndexes` migration's `down()` method 2268/head
Gertjan Krol [Tue, 22 Sep 2020 17:22:27 +0000 (19:22 +0200)]
Fixed the `AddActivityIndexes` migration's `down()` method

4 years agoMerged latest translation changes
Dan Brown [Sun, 20 Sep 2020 09:28:01 +0000 (10:28 +0100)]
Merged latest translation changes

4 years agoUpdated translation contributors
Dan Brown [Sun, 20 Sep 2020 08:15:02 +0000 (09:15 +0100)]
Updated translation contributors

4 years agoFixed some wording in example env
Dan Brown [Sat, 19 Sep 2020 22:09:08 +0000 (23:09 +0100)]
Fixed some wording in example env

4 years agoUpdated example env with helpful info
Dan Brown [Sat, 19 Sep 2020 15:09:43 +0000 (16:09 +0100)]
Updated example env with helpful info

- Added comments to explain the use of the file.
- Added comments to advise that space/hash containing values would need
to be quoted.

Related to #2258

4 years agoMerge branch 'jb-l10n-fix-czech' of git://github.com/jakubboucek/BookStack into jakub...
Dan Brown [Sat, 19 Sep 2020 14:44:18 +0000 (15:44 +0100)]
Merge branch 'jb-l10n-fix-czech' of git://github.com/jakubboucek/BookStack into jakubboucek-jb-l10n-fix-czech

4 years agoUpdated locale lists for Bulgarian
Dan Brown [Sat, 19 Sep 2020 14:36:17 +0000 (15:36 +0100)]
Updated locale lists for Bulgarian

4 years agoNew Crowdin translations (#2077)
Dan Brown [Sat, 19 Sep 2020 14:22:32 +0000 (15:22 +0100)]
New Crowdin translations (#2077)

* New translations entities.php (Portuguese, Brazilian)

* New translations entities.php (Persian)

* New translations entities.php (Spanish, Argentina)

* New translations entities.php (Thai)

* New translations errors.php (German Informal)

* New translations entities.php (Spanish)

* New translations entities.php (French)

* New translations entities.php (Arabic)

* New translations entities.php (Arabic)

* New translations components.php (Portuguese, Brazilian)

* New translations entities.php (Portuguese, Brazilian)

* New translations auth.php (Italian)

* New translations common.php (Italian)

* New translations components.php (Italian)

* New translations entities.php (Italian)

* New translations settings.php (Italian)

* New translations components.php (Chinese Simplified)

* New translations entities.php (Chinese Simplified)

* New translations settings.php (Spanish)

* New translations components.php (German)

* New translations components.php (Japanese)

* New translations components.php (Dutch)

* New translations components.php (German Informal)

* New translations components.php (Portuguese, Brazilian)

* New translations common.php (Ukrainian)

* New translations components.php (Portuguese)

* New translations common.php (Russian)

* New translations components.php (Russian)

* New translations common.php (Slovak)

* New translations components.php (Slovak)

* New translations common.php (Slovenian)

* New translations components.php (Slovenian)

* New translations common.php (Swedish)

* New translations components.php (Swedish)

* New translations common.php (Turkish)

* New translations components.php (Turkish)

* New translations components.php (Ukrainian)

* New translations components.php (Polish)

* New translations common.php (Chinese Simplified)

* New translations common.php (Chinese Traditional)

* New translations components.php (Chinese Traditional)

* New translations common.php (Vietnamese)

* New translations components.php (Vietnamese)

* New translations common.php (Portuguese, Brazilian)

* New translations common.php (Persian)

* New translations components.php (Persian)

* New translations common.php (Spanish, Argentina)

* New translations components.php (Spanish, Argentina)

* New translations common.php (Thai)

* New translations components.php (Thai)

* New translations common.php (Portuguese)

* New translations common.php (Polish)

* New translations common.php (Italian)

* New translations common.php (Bulgarian)

* New translations components.php (Italian)

* New translations components.php (Chinese Simplified)

* New translations components.php (German)

* New translations components.php (Japanese)

* New translations components.php (Dutch)

* New translations components.php (German Informal)

* New translations common.php (French)

* New translations components.php (French)

* New translations common.php (Spanish)

* New translations components.php (Spanish)

* New translations common.php (Arabic)

* New translations components.php (Arabic)

* New translations components.php (Bulgarian)

* New translations common.php (Dutch)

* New translations common.php (Czech)

* New translations components.php (Czech)

* New translations common.php (Danish)

* New translations components.php (Danish)

* New translations common.php (German)

* New translations common.php (Hebrew)

* New translations components.php (Hebrew)

* New translations common.php (Hungarian)

* New translations components.php (Hungarian)

* New translations common.php (Japanese)

* New translations common.php (Korean)

* New translations components.php (Korean)

* New translations common.php (German Informal)

* New translations components.php (German)

* New translations common.php (German)

* New translations entities.php (German)

* New translations common.php (French)

* New translations components.php (French)

* New translations common.php (Spanish)

* New translations components.php (Spanish)

* New translations components.php (Chinese Simplified)

* New translations common.php (Chinese Simplified)

* New translations common.php (Polish)

* New translations components.php (Polish)

* New translations auth.php (Polish)

* New translations entities.php (Polish)

* New translations errors.php (Polish)

* New translations passwords.php (Polish)

* New translations settings.php (Polish)

* New translations settings.php (Polish)

* New translations common.php (Spanish, Argentina)

* New translations components.php (Spanish, Argentina)

* New translations auth.php (Spanish, Argentina)

* New translations entities.php (Spanish, Argentina)

* New translations passwords.php (Spanish, Argentina)

* New translations settings.php (Spanish, Argentina)

* New translations entities.php (German)

* New translations components.php (German Informal)

* New translations common.php (German Informal)

* New translations entities.php (German Informal)

* New translations settings.php (Italian)

* New translations settings.php (Dutch)

* New translations settings.php (Thai)

* New translations settings.php (Persian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Vietnamese)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Ukrainian)

* New translations settings.php (Turkish)

* New translations settings.php (Swedish)

* New translations settings.php (Slovenian)

* New translations settings.php (Slovak)

* New translations settings.php (Russian)

* New translations settings.php (Portuguese)

* New translations settings.php (Korean)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Japanese)

* New translations settings.php (Hungarian)

* New translations settings.php (Hebrew)

* New translations settings.php (German)

* New translations settings.php (Danish)

* New translations settings.php (Czech)

* New translations settings.php (Bulgarian)

* New translations settings.php (Arabic)

* New translations settings.php (French)

* New translations settings.php (Spanish, Argentina)

* New translations settings.php (Polish)

* New translations settings.php (Spanish)

* New translations settings.php (German Informal)

* New translations settings.php (Spanish)

* New translations settings.php (French)

* New translations components.php (Turkish)

* New translations settings.php (Turkish)

* New translations entities.php (Turkish)

* New translations common.php (Turkish)

* New translations components.php (Portuguese, Brazilian)

* New translations common.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Chinese Simplified)

* New translations activities.php (Chinese Traditional)

* New translations settings.php (Chinese Traditional)

* New translations activities.php (Chinese Traditional)

* New translations auth.php (Chinese Traditional)

* New translations common.php (Chinese Traditional)

* New translations components.php (Chinese Traditional)

* New translations errors.php (Chinese Traditional)

* New translations passwords.php (Chinese Traditional)

* New translations settings.php (German)

* New translations settings.php (German Informal)

* New translations activities.php (Slovak)

* New translations auth.php (Slovak)

* New translations auth.php (Slovak)

* New translations common.php (Slovak)

* New translations components.php (Slovak)

* New translations components.php (Slovak)

* New translations entities.php (Slovak)

* New translations common.php (Slovak)

* New translations entities.php (Slovak)

* New translations passwords.php (Slovak)

* New translations settings.php (Dutch)

* New translations components.php (Dutch)

* New translations entities.php (Dutch)

* New translations passwords.php (Dutch)

* New translations activities.php (Arabic)

* New translations entities.php (French)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Chinese Traditional)

* New translations auth.php (Chinese Traditional)

* New translations errors.php (Chinese Traditional)

* New translations activities.php (Japanese)

* New translations auth.php (Japanese)

* New translations entities.php (Chinese Traditional)

* New translations validation.php (Chinese Traditional)

* New translations common.php (Russian)

* New translations components.php (Russian)

* New translations entities.php (Russian)

* New translations settings.php (Russian)

* New translations settings.php (Spanish, Argentina)

* New translations settings.php (Polish)

* New translations settings.php (Polish)

* New translations settings.php (Polish)

* New translations entities.php (Russian)

* New translations entities.php (Portuguese)

* New translations entities.php (Thai)

* New translations entities.php (Spanish, Argentina)

* New translations entities.php (Persian)

* New translations entities.php (Portuguese, Brazilian)

* New translations entities.php (Vietnamese)

* New translations entities.php (Chinese Traditional)

* New translations entities.php (Chinese Simplified)

* New translations entities.php (Ukrainian)

* New translations entities.php (Turkish)

* New translations entities.php (Swedish)

* New translations entities.php (Slovenian)

* New translations entities.php (Slovak)

* New translations entities.php (Polish)

* New translations entities.php (French)

* New translations entities.php (Dutch)

* New translations entities.php (Korean)

* New translations entities.php (Japanese)

* New translations entities.php (Italian)

* New translations entities.php (Hungarian)

* New translations entities.php (Hebrew)

* New translations entities.php (German)

* New translations entities.php (Danish)

* New translations entities.php (Czech)

* New translations entities.php (Bulgarian)

* New translations entities.php (Arabic)

* New translations entities.php (Spanish)

* New translations entities.php (German Informal)

* New translations entities.php (French)

* New translations settings.php (Russian)

* New translations settings.php (Portuguese)

* New translations settings.php (Thai)

* New translations settings.php (Spanish, Argentina)

* New translations settings.php (Persian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Vietnamese)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Ukrainian)

* New translations settings.php (Turkish)

* New translations settings.php (Swedish)

* New translations settings.php (Slovenian)

* New translations settings.php (Slovak)

* New translations settings.php (Polish)

* New translations settings.php (French)

* New translations settings.php (Dutch)

* New translations settings.php (Korean)

* New translations settings.php (Japanese)

* New translations settings.php (Italian)

* New translations settings.php (Hungarian)

* New translations settings.php (Hebrew)

* New translations settings.php (German)

* New translations settings.php (Danish)

* New translations settings.php (Czech)

* New translations settings.php (Bulgarian)

* New translations settings.php (Arabic)

* New translations settings.php (Spanish)

* New translations settings.php (German Informal)

* New translations entities.php (Spanish)

* New translations settings.php (Spanish)

4 years agoMoved decode and updated page plaintext decode test
Dan Brown [Sat, 19 Sep 2020 14:13:18 +0000 (15:13 +0100)]
Moved decode and updated page plaintext decode test

4 years agoMerge branch 'preview-entities' of git://github.com/mr-vinn/BookStack into mr-vinn...
Dan Brown [Sat, 19 Sep 2020 13:58:56 +0000 (14:58 +0100)]
Merge branch 'preview-entities' of git://github.com/mr-vinn/BookStack into mr-vinn-preview-entities

4 years agoAdded test to check text gen decodes HTML entities
Dan Brown [Sat, 19 Sep 2020 13:58:18 +0000 (14:58 +0100)]
Added test to check text gen decodes HTML entities

4 years agoUpdated composer deps
Dan Brown [Sat, 19 Sep 2020 11:12:48 +0000 (12:12 +0100)]
Updated composer deps

4 years agoAdded audit log interface
Dan Brown [Sat, 19 Sep 2020 11:06:45 +0000 (12:06 +0100)]
Added audit log interface

- Displays the currently tracked activities in the system.

Related to #2173 and #1167

4 years agoSplit out Maintenance to separate controller
Dan Brown [Sat, 19 Sep 2020 08:24:58 +0000 (09:24 +0100)]
Split out Maintenance to separate controller

4 years agoDecode HTML entities 2257/head
Vinnie Okada [Fri, 18 Sep 2020 12:54:30 +0000 (06:54 -0600)]
Decode HTML entities

Decode HTML entities in page text before saving it to the database.

4 years agoAdded some robustness to page draft saving
Dan Brown [Sun, 13 Sep 2020 18:32:45 +0000 (19:32 +0100)]
Added some robustness to page draft saving

- Updated so that a warning is always shown on error, Not just on first
in chain.
- Added last-resort localStorage content saving.

4 years agoFixed visible revision delete menu
Dan Brown [Sun, 13 Sep 2020 18:12:15 +0000 (19:12 +0100)]
Fixed visible revision delete menu

4 years agoAdded button for inserting attachment link to a page
Dan Brown [Sun, 13 Sep 2020 17:58:05 +0000 (18:58 +0100)]
Added button for inserting attachment link to a page

For #1460

4 years agoContinued implementation of attachment drag+drop
Dan Brown [Sun, 13 Sep 2020 17:29:48 +0000 (18:29 +0100)]
Continued implementation of attachment drag+drop

Cannot get working in chrome reliably due to conflicting handling of
events and drag+drop API. Getting attachment drop working breaks other
parts of TinyMCE.
Implementing current work as should still work for MD editor and within
FireFox.

Related to #1460

4 years agoMerge branch 'master' into attachment_drag_drop
Dan Brown [Sun, 13 Sep 2020 15:33:31 +0000 (16:33 +0100)]
Merge branch 'master' into attachment_drag_drop

4 years agoImplement the renderPages parameter 2227/head
Vinnie Okada [Fri, 14 Aug 2020 21:13:52 +0000 (15:13 -0600)]
Implement the renderPages parameter

Render page content when getTree() is called with a true $renderPages
argument.

4 years agoAdded punnycode since its reuquired by markdownit
Dan Brown [Sat, 5 Sep 2020 19:37:23 +0000 (20:37 +0100)]
Added punnycode since its reuquired by markdownit

Is a native, although depricated, nodejs module. Have installed manually
since esbuild could not resolve the nodejs module

4 years agoUpdated saml2 slo config so url is used if no repsonse url
Dan Brown [Sat, 5 Sep 2020 18:26:47 +0000 (19:26 +0100)]
Updated saml2 slo config so url is used if no repsonse url

Updated config to change empty string to null since the empty string was
hitting an isset check which caused an empty string to be used instead
of the slo url as a backup option.

Closes #2002

4 years agoUpdated flow to ensure /register/confirm route is used where needed
Dan Brown [Sat, 5 Sep 2020 16:26:48 +0000 (17:26 +0100)]
Updated flow to ensure /register/confirm route is used where needed

Was accidentally skipped during previous updates. Will now be used on
saml, ldap & standard registration where required.
Uses session to know if the email was just sent and, if so, show the
confirmation route.

4 years agoUpdated npm deps
Dan Brown [Sat, 5 Sep 2020 15:54:25 +0000 (16:54 +0100)]
Updated npm deps

4 years agoMigrated from webpack to esbuild
Dan Brown [Sat, 5 Sep 2020 15:50:20 +0000 (16:50 +0100)]
Migrated from webpack to esbuild

Morty Proxy This is a proxified and sanitized view of the page, visit original site.