]> BookStack Code Mirror - bookstack/log
bookstack
4 years agoDefault OpenID display name set to standard value 2169/head
Jasper Weyne [Wed, 5 Aug 2020 11:14:46 +0000 (13:14 +0200)]
Default OpenID display name set to standard value

4 years agoMethod descriptions
Jasper Weyne [Tue, 4 Aug 2020 22:18:43 +0000 (00:18 +0200)]
Method descriptions

4 years agoSimplify refresh method
Jasper Weyne [Tue, 4 Aug 2020 20:09:53 +0000 (22:09 +0200)]
Simplify refresh method

4 years agoInitial unit tests for OpenID
Jasper Weyne [Tue, 4 Aug 2020 19:30:17 +0000 (21:30 +0200)]
Initial unit tests for OpenID

4 years agoIncrease robustness of the refresh method
Jasper Weyne [Tue, 4 Aug 2020 19:29:11 +0000 (21:29 +0200)]
Increase robustness of the refresh method

4 years agoAccessToken empty array parameter on null
Jasper Weyne [Thu, 9 Jul 2020 16:29:44 +0000 (18:29 +0200)]
AccessToken empty array parameter on null

4 years agoAdd OpenIdService to OpenIdSessionGuard constructor call
Jasper Weyne [Thu, 9 Jul 2020 16:00:16 +0000 (18:00 +0200)]
Add OpenIdService to OpenIdSessionGuard constructor call

4 years agoConfigurable OpenID Connect services
Jasper Weyne [Thu, 9 Jul 2020 14:27:45 +0000 (16:27 +0200)]
Configurable OpenID Connect services

4 years agoGeneralize refresh failure handling
Jasper Weyne [Wed, 8 Jul 2020 15:02:52 +0000 (17:02 +0200)]
Generalize refresh failure handling

4 years agoIgnore ID token expiry if unavailable
Jasper Weyne [Tue, 7 Jul 2020 00:51:33 +0000 (02:51 +0200)]
Ignore ID token expiry if unavailable

4 years agoToken expiration and refreshing using the refresh_token flow
Jasper Weyne [Tue, 7 Jul 2020 00:26:00 +0000 (02:26 +0200)]
Token expiration and refreshing using the refresh_token flow

4 years agoDeduplicated getOrRegisterUser method
Jasper Weyne [Mon, 6 Jul 2020 16:14:43 +0000 (18:14 +0200)]
Deduplicated getOrRegisterUser method

5 years agoFirst basic OpenID Connect implementation
Jasper Weyne [Wed, 1 Jul 2020 21:27:50 +0000 (23:27 +0200)]
First basic OpenID Connect implementation

5 years agoRemoved tests for removed ajax tag route
Dan Brown [Mon, 29 Jun 2020 22:46:08 +0000 (23:46 +0100)]
Removed tests for removed ajax tag route

5 years agoFixed tag-manager loading on entity-creation
Dan Brown [Mon, 29 Jun 2020 22:40:34 +0000 (23:40 +0100)]
Fixed tag-manager loading on entity-creation

5 years agoFinished moving tag-manager from a vue to a component
Dan Brown [Mon, 29 Jun 2020 21:11:03 +0000 (22:11 +0100)]
Finished moving tag-manager from a vue to a component

Now tags load with the page, not via AJAX.

5 years agoStarted migrating tag manager JS to HTML-first component
Dan Brown [Sun, 28 Jun 2020 22:15:05 +0000 (23:15 +0100)]
Started migrating tag manager JS to HTML-first component

5 years agoConverted entity-dash from vue to a component
Dan Brown [Sun, 28 Jun 2020 20:15:00 +0000 (21:15 +0100)]
Converted entity-dash from vue to a component

5 years agoMoved overlay component, migrated code-editor & added features
Dan Brown [Sat, 27 Jun 2020 22:56:01 +0000 (23:56 +0100)]
Moved overlay component, migrated code-editor & added features

- Moved Code-editor from vue to component.
- Updated popup code so it background click only hides if the click
originated on the same background. Clicks within the popup will no
longer cause it to hide.
- Added session-level history tracking to code editor.

5 years agoMerge branch 'master' of github.com:BookStackApp/BookStack
Dan Brown [Sat, 27 Jun 2020 16:19:05 +0000 (17:19 +0100)]
Merge branch 'master' of github.com:BookStackApp/BookStack

5 years agoMerge branch 'master' of git://github.com/drzippie/BookStack into drzippie-master
Dan Brown [Sat, 27 Jun 2020 16:11:11 +0000 (17:11 +0100)]
Merge branch 'master' of git://github.com/drzippie/BookStack into drzippie-master

5 years agoMerge pull request #2157 from Honvid/fix/lang_error
Dan Brown [Sat, 27 Jun 2020 16:06:38 +0000 (17:06 +0100)]
Merge pull request #2157 from Honvid/fix/lang_error

fix the translate error

5 years agoMoved sass build out of webpack, updated npm deps
Dan Brown [Sat, 27 Jun 2020 15:52:26 +0000 (16:52 +0100)]
Moved sass build out of webpack, updated npm deps

Moving sass out of webpack cleans the setup quite considerably and
brings a good speed improvement.
Made use of npm-run-all so the previous commands still run like before.

5 years agoMerge branch 'use-dart-sass' of git://github.com/timoschwarzer/BookStack into timosch...
Dan Brown [Sat, 27 Jun 2020 14:59:38 +0000 (15:59 +0100)]
Merge branch 'use-dart-sass' of git://github.com/timoschwarzer/BookStack into timoschwarzer-use-dart-sass

5 years agoFixed empty search scenario
Dan Brown [Sat, 27 Jun 2020 12:37:18 +0000 (13:37 +0100)]
Fixed empty search scenario

5 years agoConverted search filters to not be vue based
Dan Brown [Sat, 27 Jun 2020 12:29:00 +0000 (13:29 +0100)]
Converted search filters to not be vue based

5 years agoReplace node-sass with dart-sass 2166/head
Timo Schwarzer [Fri, 26 Jun 2020 10:44:41 +0000 (12:44 +0200)]
Replace node-sass with dart-sass

5 years agoremoved test_slug_multi_byte_lower_casing and added new test test_slug_multi_byte_ur... 2165/head
Antonio Cortés (DrZippie) [Thu, 25 Jun 2020 16:42:28 +0000 (18:42 +0200)]
removed test_slug_multi_byte_lower_casing  and added new test test_slug_multi_byte_url_safe

5 years agoAdded Illuminate\Support\Str::slug to generate slug from text to improve the creation...
Antonio Cortés (DrZippie) [Thu, 25 Jun 2020 16:08:13 +0000 (18:08 +0200)]
Added Illuminate\Support\Str::slug to generate slug from text to improve the creation of slugs with non-English characters

5 years agoStarted attempt at formalising component system used in BookStack
Dan Brown [Wed, 24 Jun 2020 19:38:08 +0000 (20:38 +0100)]
Started attempt at formalising component system used in BookStack

Added a document to try to define things.
Updated the loading so components are registed dynamically.
Added some standardised ways to reference other elems & define options

5 years agofix the bug for lang's extra letter. 2157/head
Honvid [Tue, 16 Jun 2020 03:44:08 +0000 (11:44 +0800)]
fix the bug for lang's extra letter.

5 years agoMerge pull request #1 from BookStackApp/master
Honvid [Tue, 9 Jun 2020 23:46:06 +0000 (07:46 +0800)]
Merge pull request #1 from BookStackApp/master

sync the remote master

5 years agoRemoved failing URL test
Dan Brown [Sat, 23 May 2020 11:56:31 +0000 (12:56 +0100)]
Removed failing URL test

- Was found that the test was not testing the actual situation anyway.
- A work-around in the request creation, within testing, just happened
 to result in the desired outcome.

For reference: https://github.com/laravel/framework/pull/32345

5 years agoFixed revision issues caused by page fillable changes
Dan Brown [Sat, 23 May 2020 11:28:14 +0000 (12:28 +0100)]
Fixed revision issues caused by page fillable changes

5 years agoUpdated framework and other deps
Dan Brown [Sat, 23 May 2020 10:50:44 +0000 (11:50 +0100)]
Updated framework and other deps

5 years agoPrevented entity "Not Found" events from being logged
Dan Brown [Sat, 23 May 2020 10:26:48 +0000 (11:26 +0100)]
Prevented entity "Not Found" events from being logged

- Added testing to cover, which was more hassle than thought
  since Laravel did not have built in log test helpers, so:
- Added Log testing helper.

Related to #2110

5 years agoUpdated listing endpoints to be clickable in api docs
Dan Brown [Fri, 22 May 2020 23:53:13 +0000 (00:53 +0100)]
Updated listing endpoints to be clickable in api docs

5 years agoFixed issue where updated page content would not be indexed
Dan Brown [Fri, 22 May 2020 23:46:13 +0000 (00:46 +0100)]
Fixed issue where updated page content would not be indexed

- Also updated html field of pages to not be fillable.
   (Since HTML should always go through app id parsing)

Related to #2042

5 years agoIncremented version number
Dan Brown [Fri, 22 May 2020 23:29:09 +0000 (00:29 +0100)]
Incremented version number

5 years agoAdded chapters to the API
Dan Brown [Fri, 22 May 2020 23:28:41 +0000 (00:28 +0100)]
Added chapters to the API

5 years agoUpdated API auth to allow public user if given permission
Dan Brown [Fri, 22 May 2020 21:34:18 +0000 (22:34 +0100)]
Updated API auth to allow public user if given permission

5 years agoUpdated shelf-list view to enforce view permissions for child books
Dan Brown [Tue, 12 May 2020 21:21:45 +0000 (22:21 +0100)]
Updated shelf-list view to enforce view permissions for child books

- Aligned shelf-homepage behaviour to match
- Updated testing to cover.

For #2111

5 years agoRemoved unused function in registration service
Dan Brown [Sat, 2 May 2020 00:07:30 +0000 (01:07 +0100)]
Removed unused function in registration service

5 years agoAdded command to regenerate comment content
Dan Brown [Fri, 1 May 2020 22:41:47 +0000 (23:41 +0100)]
Added command to regenerate comment content

5 years agoUpdated comment md rendering to be server-side
Dan Brown [Fri, 1 May 2020 22:24:11 +0000 (23:24 +0100)]
Updated comment md rendering to be server-side

5 years agoFixed incorrect color code causing yellow/orange code blocks
Dan Brown [Wed, 29 Apr 2020 17:28:26 +0000 (18:28 +0100)]
Fixed incorrect color code causing yellow/orange code blocks

5 years agoUpdated translator attribution before release v0.29.1
Dan Brown [Tue, 28 Apr 2020 11:30:02 +0000 (12:30 +0100)]
Updated translator attribution before release v0.29.1

5 years agoUpdated ci with php7.4, update locale array
Dan Brown [Tue, 28 Apr 2020 11:28:19 +0000 (12:28 +0100)]
Updated ci with php7.4, update locale array

5 years agoNew Crowdin translations (#2071)
Dan Brown [Tue, 28 Apr 2020 11:25:15 +0000 (12:25 +0100)]
New Crowdin translations (#2071)

* New translations common.php (Korean)

* New translations settings.php (Korean)

5 years agoNew Crowdin translations (#2028)
Dan Brown [Tue, 28 Apr 2020 09:19:42 +0000 (10:19 +0100)]
New Crowdin translations (#2028)

* New translations settings.php (Chinese Simplified)

* New translations common.php (Spanish)

* New translations common.php (Spanish, Argentina)

* New translations common.php (Turkish)

* New translations common.php (French)

* New translations auth.php (Dutch)

* New translations common.php (Dutch)

* New translations entities.php (Dutch)

* New translations activities.php (Thai)

* New translations auth.php (Thai)

* New translations common.php (Thai)

* New translations components.php (Thai)

* New translations entities.php (Thai)

* New translations errors.php (Thai)

* New translations pagination.php (Thai)

* New translations passwords.php (Thai)

* New translations settings.php (Thai)

* New translations validation.php (Thai)

5 years agoAdded multi-select to book-sort interface
Dan Brown [Mon, 27 Apr 2020 15:53:27 +0000 (16:53 +0100)]
Added multi-select to book-sort interface

As discussed in #2064

Closes #2067

5 years agoAdded auto-focus behaviour to page editor
Dan Brown [Mon, 27 Apr 2020 14:54:39 +0000 (15:54 +0100)]
Added auto-focus behaviour to page editor

- Will focus on title if the value of the field matches the default text
for the current user's language.
- Otherwise will focus on the editor body.
- Added and tested on both editors.

For #2036

5 years agoFixed not shown existing-email warning on new ldap user
Dan Brown [Sun, 26 Apr 2020 11:13:00 +0000 (12:13 +0100)]
Fixed not shown existing-email warning on new ldap user

- Reduced the amount of different exceptions from LDAP attempt so they
can be handled more consistently.
- Added test to cover.
- Also cleaned up LDAP tests to reduce boilterplate mocks.

Fixes #2048

5 years agoUpdated WYSIWYG callout shortcut to handle child elems
Dan Brown [Sun, 26 Apr 2020 08:26:41 +0000 (09:26 +0100)]
Updated WYSIWYG callout shortcut to handle child elems

- Will now search for a callout on/above the selected node rather than
only using the selected node.
- Issues previously where callout shortcut would not cycle if called
when child formatting was currently selected inside the callout.

For #2061

5 years agoTweaked ListingResponseBuilder to help avoid future issues
Dan Brown [Sat, 25 Apr 2020 21:15:59 +0000 (22:15 +0100)]
Tweaked ListingResponseBuilder to help avoid future issues

- Updated so none of the method mutate the query throughout the function
so that the query can be handled in a sane way, Since we were already
encountering issues due to internal method call order.

5 years agoFixed api query total not taking filters into account
Dan Brown [Sat, 25 Apr 2020 20:37:52 +0000 (21:37 +0100)]
Fixed api query total not taking filters into account

5 years agoFixed floated content extending past page body
Dan Brown [Sat, 25 Apr 2020 18:59:23 +0000 (19:59 +0100)]
Fixed floated content extending past page body

As shown in #2055

5 years agoFixed issue where callout and quotes overlap floated images
Dan Brown [Sat, 25 Apr 2020 18:55:16 +0000 (19:55 +0100)]
Fixed issue where callout and quotes overlap floated images

For #2055

5 years agoFixed selection not visible - dark theme codemirror
Dan Brown [Sat, 25 Apr 2020 18:19:41 +0000 (19:19 +0100)]
Fixed selection not visible - dark theme codemirror

Fixes #2060

5 years agoUpdated user-create endpoint so saml and ldap is consistent.
Dan Brown [Sat, 25 Apr 2020 17:28:07 +0000 (18:28 +0100)]
Updated user-create endpoint so saml and ldap is consistent.

5 years agoAuthenticated admins on all guards upon login
Dan Brown [Sat, 25 Apr 2020 17:19:22 +0000 (18:19 +0100)]
Authenticated admins on all guards upon login

For #2031

5 years agoFixed incorrect API listing total when offset set
Dan Brown [Sat, 25 Apr 2020 15:38:11 +0000 (16:38 +0100)]
Fixed incorrect API listing total when offset set

Fixes #2043

5 years agoMerge branch 'master' of github.com:BookStackApp/BookStack
Dan Brown [Mon, 13 Apr 2020 14:43:53 +0000 (15:43 +0100)]
Merge branch 'master' of github.com:BookStackApp/BookStack

5 years agoUpdated translator contributor file from crowdin
Dan Brown [Mon, 13 Apr 2020 14:43:20 +0000 (15:43 +0100)]
Updated translator contributor file from crowdin

5 years agoNew Crowdin translations (#2005)
Dan Brown [Mon, 13 Apr 2020 14:31:35 +0000 (15:31 +0100)]
New Crowdin translations (#2005)

* New translations settings.php (Portuguese)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Russian)

* New translations settings.php (Korean)

* New translations settings.php (Persian)

* New translations settings.php (Polish)

* New translations settings.php (Swedish)

* New translations settings.php (Spanish, Argentina)

* New translations settings.php (Turkish)

* New translations settings.php (Slovak)

* New translations settings.php (Slovenian)

* New translations settings.php (Spanish)

* New translations settings.php (Czech)

* New translations settings.php (Danish)

* New translations settings.php (Dutch)

* New translations settings.php (Arabic)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Italian)

* New translations settings.php (Hungarian)

* New translations settings.php (Japanese)

* New translations settings.php (French)

* New translations settings.php (German)

* New translations settings.php (Hebrew)

* New translations settings.php (German Informal)

* New translations settings.php (Vietnamese)

* New translations settings.php (Ukrainian)

* New translations activities.php (Turkish)

* New translations activities.php (Turkish)

* New translations auth.php (Turkish)

* New translations common.php (Turkish)

* New translations auth.php (Turkish)

* New translations components.php (Turkish)

* New translations common.php (Turkish)

* New translations components.php (Turkish)

* New translations entities.php (Turkish)

* New translations entities.php (Turkish)

* New translations errors.php (Turkish)

* New translations entities.php (Turkish)

* New translations passwords.php (Turkish)

* New translations settings.php (Turkish)

* New translations errors.php (Turkish)

* New translations settings.php (Turkish)

* New translations settings.php (Turkish)

* New translations validation.php (Turkish)

* New translations settings.php (Turkish)

* New translations validation.php (Turkish)

* New translations common.php (Turkish)

* New translations components.php (Turkish)

* New translations validation.php (Turkish)

* New translations components.php (Turkish)

* New translations entities.php (Turkish)

* New translations errors.php (Turkish)

* New translations settings.php (Turkish)

* New translations validation.php (Turkish)

* New translations passwords.php (Arabic)

* New translations auth.php (Arabic)

* New translations auth.php (Slovak)

* New translations passwords.php (Russian)

* New translations passwords.php (Slovak)

* New translations auth.php (Slovenian)

* New translations passwords.php (Slovenian)

* New translations auth.php (Spanish)

* New translations passwords.php (Portuguese, Brazilian)

* New translations passwords.php (Polish)

* New translations auth.php (Portuguese)

* New translations auth.php (Russian)

* New translations passwords.php (Portuguese)

* New translations auth.php (Portuguese, Brazilian)

* New translations auth.php (Ukrainian)

* New translations passwords.php (Ukrainian)

* New translations auth.php (Vietnamese)

* New translations passwords.php (Vietnamese)

* New translations auth.php (German Informal)

* New translations passwords.php (German Informal)

* New translations passwords.php (Turkish)

* New translations passwords.php (Spanish)

* New translations auth.php (Spanish, Argentina)

* New translations passwords.php (Spanish, Argentina)

* New translations auth.php (Swedish)

* New translations passwords.php (Swedish)

* New translations auth.php (Turkish)

* New translations components.php (Turkish)

* New translations entities.php (Turkish)

* New translations auth.php (Polish)

* New translations passwords.php (Danish)

* New translations auth.php (Dutch)

* New translations passwords.php (Dutch)

* New translations auth.php (Danish)

* New translations auth.php (French)

* New translations passwords.php (French)

* New translations auth.php (Chinese Simplified)

* New translations passwords.php (Chinese Simplified)

* New translations auth.php (Chinese Traditional)

* New translations passwords.php (Chinese Traditional)

* New translations auth.php (Czech)

* New translations passwords.php (Czech)

* New translations auth.php (German)

* New translations auth.php (Korean)

* New translations auth.php (Japanese)

* New translations passwords.php (Japanese)

* New translations passwords.php (Korean)

* New translations auth.php (Persian)

* New translations passwords.php (Persian)

* New translations passwords.php (Italian)

* New translations passwords.php (German)

* New translations auth.php (Hebrew)

* New translations passwords.php (Hebrew)

* New translations auth.php (Hungarian)

* New translations passwords.php (Hungarian)

* New translations auth.php (Italian)

* New translations entities.php (Turkish)

* New translations settings.php (Turkish)

* New translations validation.php (Turkish)

* New translations passwords.php (Turkish)

* New translations entities.php (Turkish)

* New translations errors.php (Turkish)

* New translations validation.php (Turkish)

* New translations auth.php (Turkish)

* New translations auth.php (Spanish)

* New translations passwords.php (Spanish)

* New translations settings.php (Spanish)

* New translations auth.php (Spanish, Argentina)

* New translations passwords.php (Spanish, Argentina)

* New translations entities.php (Turkish)

* New translations auth.php (French)

* New translations passwords.php (French)

* New translations settings.php (French)

* New translations common.php (Russian)

* New translations common.php (Slovak)

* New translations common.php (Slovenian)

* New translations common.php (Spanish)

* New translations common.php (Portuguese)

* New translations common.php (Polish)

* New translations common.php (Portuguese, Brazilian)

* New translations common.php (Ukrainian)

* New translations common.php (Vietnamese)

* New translations common.php (German Informal)

* New translations common.php (Spanish, Argentina)

* New translations common.php (Swedish)

* New translations common.php (Turkish)

* New translations common.php (Danish)

* New translations common.php (Dutch)

* New translations common.php (French)

* New translations common.php (Arabic)

* New translations common.php (Chinese Simplified)

* New translations common.php (Czech)

* New translations common.php (Chinese Traditional)

* New translations common.php (Japanese)

* New translations common.php (Italian)

* New translations common.php (Korean)

* New translations common.php (Persian)

* New translations common.php (German)

* New translations common.php (Hebrew)

* New translations common.php (Hungarian)

* New translations auth.php (Russian)

* New translations common.php (Russian)

* New translations passwords.php (Russian)

* New translations passwords.php (German)

* New translations settings.php (German)

* New translations auth.php (German)

* New translations common.php (German)

* New translations settings.php (German Informal)

* New translations passwords.php (German Informal)

* New translations common.php (German Informal)

* New translations auth.php (German Informal)

5 years agoMerge pull request #2023 from jzoy/master
Dan Brown [Sun, 12 Apr 2020 18:15:00 +0000 (19:15 +0100)]
Merge pull request #2023 from jzoy/master

fix Chinese translation error

5 years agoSome further dark-mode fixes, added toggle to homepage
Dan Brown [Sun, 12 Apr 2020 18:06:34 +0000 (19:06 +0100)]
Some further dark-mode fixes, added toggle to homepage

- Homepage toggle especially useful for not-logged-in users since they
do not have a dropdown.

5 years agoMerge pull request #2022 from BookStackApp/dark-mode
Dan Brown [Sat, 11 Apr 2020 19:52:19 +0000 (20:52 +0100)]
Merge pull request #2022 from BookStackApp/dark-mode

Addition of a user-selectable dark-mode option

5 years agoAdded tests and translations for dark-mode components 2022/head
Dan Brown [Sat, 11 Apr 2020 19:44:23 +0000 (20:44 +0100)]
Added tests and translations for dark-mode components

5 years agoAdded dark/light mode toggle to profile dropdown menu
Dan Brown [Sat, 11 Apr 2020 19:37:51 +0000 (20:37 +0100)]
Added dark/light mode toggle to profile dropdown menu

- Also fixed some remaining areas which needed dark mode support.

5 years agoRemoved throttling from web-end requests
Dan Brown [Sat, 11 Apr 2020 19:02:07 +0000 (20:02 +0100)]
Removed throttling from web-end requests

Generally seems to cause issues when secure images are in use.
Was added during laravel upgrade but laravel does not use this directly
for its web middleware anyway.

5 years agoRolled dark mode out to the editors
Dan Brown [Sat, 11 Apr 2020 14:48:08 +0000 (15:48 +0100)]
Rolled dark mode out to the editors

- Updated editor, and other area, styles to look okay in dark mode.
- Used tinyMCE theme generator to create dark mode theme.
- Updated tinymce to latest 4x version.

5 years agoUpdate settings.php 2023/head
jzoy [Sat, 11 Apr 2020 13:29:09 +0000 (21:29 +0800)]
Update settings.php

5 years agofix Chinese translation error
jzoy [Sat, 11 Apr 2020 13:26:13 +0000 (21:26 +0800)]
fix Chinese translation error

5 years agoMerge branch 'master' into dark-mode
Dan Brown [Sat, 11 Apr 2020 13:22:41 +0000 (14:22 +0100)]
Merge branch 'master' into dark-mode

5 years agoMerge pull request #2 from BookStackApp/master
jzoy [Sat, 11 Apr 2020 13:18:17 +0000 (21:18 +0800)]
Merge pull request #2 from BookStackApp/master

fetch upstream

5 years agoFixed incorrect []Activity -> array conversion
Dan Brown [Fri, 10 Apr 2020 21:49:52 +0000 (22:49 +0100)]
Fixed incorrect []Activity -> array conversion

5 years agoStarted work on supporting a dark-mode
Dan Brown [Fri, 10 Apr 2020 21:38:29 +0000 (22:38 +0100)]
Started work on supporting a dark-mode

- Most elements done, but still need to do editors, tables and final
pass.
- Toggled only by quick js check at the moment, checking via css media
query. Need to make into user-preference toggle.

For #1234

5 years agoCleaned up the activity service
Dan Brown [Fri, 10 Apr 2020 19:55:33 +0000 (20:55 +0100)]
Cleaned up the activity service

- Added test to ensure activity on entity delete works as expected.

5 years agoAdded book-export endpoints to the API
Dan Brown [Fri, 10 Apr 2020 15:05:17 +0000 (16:05 +0100)]
Added book-export endpoints to the API

5 years agoReviewed and added testing for BookShelf API implementation
Dan Brown [Fri, 10 Apr 2020 14:19:18 +0000 (15:19 +0100)]
Reviewed and added testing for BookShelf API implementation

- Tweaked how books are passed on update to prevent unassignment if
parameter is not provided.
- Added books to validation so they show in docs.
- Added request/response examples.
- Added tests to cover.
- Added child book info to shelf info.

Review of #1908

5 years agoMerge branch 'master' of git://github.com/osmansorkar/BookStack into osmansorkar...
Dan Brown [Fri, 10 Apr 2020 12:49:28 +0000 (13:49 +0100)]
Merge branch 'master' of git://github.com/osmansorkar/BookStack into osmansorkar-master

5 years agoUpdated password reset process not to indicate if email exists
Dan Brown [Fri, 10 Apr 2020 12:38:08 +0000 (13:38 +0100)]
Updated password reset process not to indicate if email exists

- Intended to prevent enumeration to check if a user exists.
- Updated messages on both the reqest-reset and set-password elements.
- Also updated notification auto-hide to be dynamic based upon the
amount of words within the notification.
- Added tests to cover.

For #2016

5 years agoUpdated view-change endpoints to be clearer, separated books and shelf
Dan Brown [Fri, 10 Apr 2020 11:49:16 +0000 (12:49 +0100)]
Updated view-change endpoints to be clearer, separated books and shelf

- Separated books-list and shelf-show view types to be saved separately.

During review of #1755

5 years agoMerge branch 'feature_change_view_in_shelves_show' of git://github.com/philjak/BookSt...
Dan Brown [Fri, 10 Apr 2020 11:21:56 +0000 (12:21 +0100)]
Merge branch 'feature_change_view_in_shelves_show' of git://github.com/philjak/BookStack into philjak-feature_change_view_in_shelves_show

5 years agoReviewed #1688, Show parent shelves on books page
Dan Brown [Thu, 9 Apr 2020 16:29:22 +0000 (17:29 +0100)]
Reviewed #1688, Show parent shelves on books page

- Moved list to the left of the page to align with other navigational
items.
- Hid list of no shelves, to help hide shelf references if not in use.
- Tweaked test to ensure it wasn't finding shelf name in breadcrumb
rather than list being tested.

5 years agoMerge branch 'feature/#1598' of git://github.com/cw1998/BookStack into cw1998-feature...
Dan Brown [Thu, 9 Apr 2020 16:18:37 +0000 (17:18 +0100)]
Merge branch 'feature/#1598' of git://github.com/cw1998/BookStack into cw1998-feature/#1598

5 years agoAdded "update-url" command to find/replace url in the database
Dan Brown [Thu, 9 Apr 2020 15:58:40 +0000 (16:58 +0100)]
Added "update-url" command to find/replace url in the database

- Also aligned format of command descriptions.

Targeted most common columns.
Have not done revisions for the sake of keeping that
content true to how it was originally stored but could
cause unexpected behaviour.

For #1225

5 years agoUpdated WYSIWYG entity link selector to set link display text
Dan Brown [Thu, 9 Apr 2020 14:28:44 +0000 (15:28 +0100)]
Updated WYSIWYG entity link selector to set link display text

- Sets as entity name if the input is currently empty.

For #2014

5 years agoUpdated wysiwyg code-block insert flow to be mouseless
Dan Brown [Sun, 5 Apr 2020 20:55:31 +0000 (21:55 +0100)]
Updated wysiwyg code-block insert flow to be mouseless

- Can now save a code block with Ctrl+Enter.
- Codemirror will be in focus on popup show.
- TinyMCE will get back focus on code save.

For #1972

5 years agoRemoved overflow hidden from all lists
Dan Brown [Sun, 5 Apr 2020 17:05:51 +0000 (18:05 +0100)]
Removed overflow hidden from all lists

- Was causing ol list numbers to be cut off.

Fixes #1978

5 years agoAdded support for changing the draw.io instance URL
Dan Brown [Sun, 5 Apr 2020 16:27:16 +0000 (17:27 +0100)]
Added support for changing the draw.io instance URL

- Allowed DRAWIO env option to be passed as URL to point to instance.
- Updated tests to check URL gets passed to pages correctly.
- Update default URL to be the default theme.

For #826

5 years agoRemoved bmp and tiff support from uploaded images.
Dan Brown [Sun, 5 Apr 2020 15:15:05 +0000 (16:15 +0100)]
Removed bmp and tiff support from uploaded images.

Fixes #1990

5 years agoMerge pull request #2003 from BookStackApp/rtl_styles_update
Dan Brown [Sun, 5 Apr 2020 13:15:23 +0000 (14:15 +0100)]
Merge pull request #2003 from BookStackApp/rtl_styles_update

Updated styles to use logical properties/values, for improved RTL support

5 years agoNew Crowdin translations (#2004)
Dan Brown [Sun, 5 Apr 2020 13:12:23 +0000 (14:12 +0100)]
New Crowdin translations (#2004)

* New translations errors.php (Russian)

* New translations settings.php (Portuguese, Brazilian)

* New translations auth.php (Russian)

* New translations entities.php (Russian)

* New translations settings.php (Russian)

* New translations settings.php (Slovak)

* New translations settings.php (Persian)

* New translations settings.php (Portuguese)

* New translations settings.php (Polish)

* New translations settings.php (Korean)

* New translations settings.php (Swedish)

* New translations validation.php (Swedish)

* New translations errors.php (Turkish)

* New translations settings.php (Turkish)

* New translations entities.php (Swedish)

* New translations settings.php (Ukrainian)

* New translations errors.php (Swedish)

* New translations entities.php (Slovenian)

* New translations errors.php (Slovenian)

* New translations pagination.php (Slovenian)

* New translations passwords.php (Slovenian)

* New translations settings.php (Slovenian)

* New translations validation.php (Slovenian)

* New translations settings.php (Spanish)

* New translations settings.php (Spanish, Argentina)

* New translations settings.php (Czech)

* New translations pagination.php (Danish)

* New translations settings.php (Danish)

* New translations settings.php (Dutch)

* New translations settings.php (Arabic)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Hungarian)

* New translations errors.php (French)

* New translations errors.php (Italian)

* New translations settings.php (Italian)

* New translations settings.php (Japanese)

* New translations settings.php (French)

* New translations errors.php (German)

* New translations settings.php (German)

* New translations settings.php (Hebrew)

* New translations auth.php (Hebrew)

* New translations validation.php (Hebrew)

* New translations errors.php (Hebrew)

* New translations entities.php (Hebrew)

* New translations common.php (Hebrew)

* New translations settings.php (German Informal)

* New translations errors.php (German Informal)

* New translations settings.php (Vietnamese)

5 years agoUpdated styles to use logical properties/values 2003/head
Dan Brown [Sun, 5 Apr 2020 12:07:19 +0000 (13:07 +0100)]
Updated styles to use logical properties/values

- Intended to improve RTL support in the interface.
- Also adds hebrew to language dropdown since that was missing.

Related to #1794

5 years agoUpdated test files to be PSR-4 compliant
Dan Brown [Sat, 4 Apr 2020 00:16:05 +0000 (01:16 +0100)]
Updated test files to be PSR-4 compliant

Closes #1924

5 years agoUpdated drawing uploads to use user id in image name
Dan Brown [Fri, 3 Apr 2020 23:48:32 +0000 (00:48 +0100)]
Updated drawing uploads to use user id in image name

- Instead of user name.
- Due to issues with advanced charts like emoji zero-width-joiners.
- Could also have security concerns on untrusted instances with certain
webserver config due to double extension possibilities.

Closes #1993

5 years agoFixed editor JavaScript error in TemplateManager
Dan Brown [Fri, 3 Apr 2020 23:09:58 +0000 (00:09 +0100)]
Fixed editor JavaScript error in TemplateManager

- Caused when loading the editor with no templates in the system.
- Tried to init a search box that did not exist.

5 years agoBumped npm packages up and ran audit-fix
Dan Brown [Fri, 3 Apr 2020 23:03:26 +0000 (00:03 +0100)]
Bumped npm packages up and ran audit-fix