]> BookStack Code Mirror - bookstack/log
bookstack
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

4 years agoPrevented email confirmation exception throw on registration
Dan Brown [Tue, 4 Aug 2020 16:54:50 +0000 (17:54 +0100)]
Prevented email confirmation exception throw on registration

Was preventing any other registration actions from taking place such as
LDAP/SAML group sync. Email confirmation should be actioned by
middleware on post-registration redirect.

Added testing to cover.
Tested for LDAP, SAML and normal registration with email confirmation
required to ensure flows work as expected.

Fixes #2082

4 years agoFixed non-visible horizontal rules in dark mode
Dan Brown [Tue, 4 Aug 2020 14:39:07 +0000 (15:39 +0100)]
Fixed non-visible horizontal rules in dark mode

Fixes #2209

4 years agoAdded warning to role screen for important permissions
Dan Brown [Tue, 4 Aug 2020 14:26:13 +0000 (15:26 +0100)]
Added warning to role screen for important permissions

Warning related to permissions that could allow a person to promote
their own permissions to gain more privileges than expected.

For #2105.

4 years agoRemoved role 'name' field from database
Dan Brown [Tue, 4 Aug 2020 13:55:01 +0000 (14:55 +0100)]
Removed role 'name' field from database

The 'name' field was really redundant and caused confusion in the
codebase, since the 'Display' name is often used and we have a
'system_name' for the admin and public role.

This fixes #2032, Where external auth group matching has confusing
behaviour as matching was done against the display_name, if no
external_auth field is set, but only roles with a match 'name' field
would be considered.

This also fixes and error where the role users migration, on role
delete, would not actually fire due to mis-matching http body keys.
Looks like this has been an issue from the start. Added some testing to
cover. Fixes #2211.

Also converted phpdoc to typehints in many areas of the reviewed code
during the above.

4 years agoRemoved joint_permissions auto_increment id
Dan Brown [Tue, 4 Aug 2020 12:02:31 +0000 (13:02 +0100)]
Removed joint_permissions auto_increment id

Removed auto_incrementing id and set a primary key of the [role_id,
entity_type, entity_id, action] instead since this table could recieve a
lot of activity, especially when permission regeneration was automated,
leading to very high auto_increment counts which could max out the
integer limit.

Also updated some RolesTest comment endpoints to align with
recent route changes.

Should fix #2091

4 years agoUpdated some comment elements and standardised more JS
Dan Brown [Tue, 28 Jul 2020 17:19:18 +0000 (18:19 +0100)]
Updated some comment elements and standardised more JS

- Updated comment routes to be simpler.
- Updated comments JS to align better with updated component system.
- Documented available global JS functions/services.
- Removed redundant controller method.
- Added window.$events helpers for validation messages and
success/error.
- Updated JS events system to not be class based for simplicity.
- Added window.trans_plural method to handle pluralisation/replacements
where you already have the translation string itself.

Fixes #1836

4 years agoUpdated public-login redirect to check url
Dan Brown [Tue, 28 Jul 2020 15:27:16 +0000 (16:27 +0100)]
Updated public-login redirect to check url

Direct links to the login pages for public instances could lead to a
redirect back to an external page upon login.
This adds a check to ensure the URL is a URL expected from the current
bookstack instance, or at least under the same domain.

Fixes #2073

4 years agoUpdated functionality for logging failed access
Dan Brown [Tue, 28 Jul 2020 11:59:43 +0000 (12:59 +0100)]
Updated functionality for logging failed access

- Added testing to cover.
- Linked logging into Laravel's monolog logging system and made log
channel configurable.
- Updated env var names to be specific to login access.
- Added extra locations as to where failed logins would be captured.

Related to #1881 and #728

4 years agoMerge branch 'auth' of git://github.com/benrubson/BookStack into benrubson-auth
Dan Brown [Tue, 28 Jul 2020 09:46:40 +0000 (10:46 +0100)]
Merge branch 'auth' of git://github.com/benrubson/BookStack into benrubson-auth

4 years agoRemoved default anchor CSS filtering in dark mode
Dan Brown [Sun, 26 Jul 2020 15:36:15 +0000 (16:36 +0100)]
Removed default anchor CSS filtering in dark mode

Due to causing content images to be rendered in unexpected ways.

- Also removed CSS filters from other image usage.
- Tweaked header CSS filtering to not be so aggressive.
- Forced WYSIWYG editor to be on its own layer since that would allow
massive larger performance increases in Safari, especially when using
dark mode.

Closes #2045.
Closes #2154.

4 years agoUpdated pagination colors for visibility
Dan Brown [Sun, 26 Jul 2020 14:07:47 +0000 (15:07 +0100)]
Updated pagination colors for visibility

Fixes #1839

4 years agoRemoved a few remaining vue references
Dan Brown [Sun, 26 Jul 2020 13:49:05 +0000 (14:49 +0100)]
Removed a few remaining vue references

4 years agoFixed some image manager behaviour
Dan Brown [Sat, 25 Jul 2020 10:47:12 +0000 (11:47 +0100)]
Fixed some image manager behaviour

fixed:
- Double click not working after tab usage.
- Synced edit form with select button.

4 years agoFixed issue where URL params in image names would cause loading failure
Dan Brown [Sat, 25 Jul 2020 10:18:40 +0000 (11:18 +0100)]
Fixed issue where URL params in image names would cause loading failure

Updated file name handling to route through str:slug to be cleaned up
a little.
Added testing to cover.

Fixes #2161

4 years agoRemoved unused tinymce imagetools plugin
Dan Brown [Sat, 25 Jul 2020 00:09:35 +0000 (01:09 +0100)]
Removed unused tinymce imagetools plugin

4 years agoRemoved vuejs from the project
Dan Brown [Fri, 24 Jul 2020 23:25:30 +0000 (00:25 +0100)]
Removed vuejs from the project

4 years agoConverted image-manager to be component/HTML based
Dan Brown [Fri, 24 Jul 2020 23:20:58 +0000 (00:20 +0100)]
Converted image-manager to be component/HTML based

Instead of vue based.

4 years agoFixed issue where more images than expected could be deleted
Dan Brown [Fri, 24 Jul 2020 22:41:59 +0000 (23:41 +0100)]
Fixed issue where more images than expected could be deleted

When deleting images, images within the same directory, that have
a suffix of the delete image name, would also be deleted.

Added test to cover.

4 years agoTweaked dropdown shadows a tad
Dan Brown [Sun, 5 Jul 2020 20:23:57 +0000 (21:23 +0100)]
Tweaked dropdown shadows a tad

4 years agoConverted the page editor from vue to component
Dan Brown [Sun, 5 Jul 2020 20:18:17 +0000 (21:18 +0100)]
Converted the page editor from vue to component

4 years agoUpdated attachment tests to align with front-end changes
Dan Brown [Sat, 4 Jul 2020 16:04:26 +0000 (17:04 +0100)]
Updated attachment tests to align with front-end changes

4 years agoFinished breakdown of attachment vue into components
Dan Brown [Sat, 4 Jul 2020 15:53:02 +0000 (16:53 +0100)]
Finished breakdown of attachment vue into components

4 years agoStarted migration of attachment manager from vue
Dan Brown [Tue, 30 Jun 2020 21:12:45 +0000 (22:12 +0100)]
Started migration of attachment manager from vue

- Created new dropzone component.
- Added standard component event system using custom DOM events.
- Added tabs component.
- Added ajax-delete-row component.

4 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

4 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

4 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.

4 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

4 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

4 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.

4 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

4 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

4 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

4 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.

4 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

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

4 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

4 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

4 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

4 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

4 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

4 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.

4 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 agoMove logFailedAccess into Activity 1881/head
benrubson [Sat, 23 May 2020 13:37:38 +0000 (15:37 +0200)]
Move logFailedAccess into Activity

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 agoProperly use env/config functions
benrubson [Sat, 23 May 2020 10:06:37 +0000 (12:06 +0200)]
Properly use env/config functions

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 agoLog failed accesses option
benrubson [Sun, 3 May 2020 14:20:02 +0000 (16:20 +0200)]
Log failed accesses option

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

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