]>
BookStack Code Mirror - bookstack/log
Dan Brown [Sat, 21 Aug 2021 18:58:19 +0000 (19:58 +0100)]
Optimized loading of page/chapter URLs to be a little more efficient
- Loaded book_slug as part of chapter/page queries instead of books
being loaded in afterwards.
- Removed unused page method.
- Updated some page queries to load specific attributes.
Dan Brown [Sat, 21 Aug 2021 17:57:32 +0000 (18:57 +0100)]
New Crowdin updates (#2807)
* New translations entities.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations common.php (Chinese Simplified)
* New translations entities.php (Chinese Simplified)
* New translations settings.php (Portuguese)
* New translations activities.php (Portuguese)
* New translations common.php (Portuguese)
* New translations entities.php (Portuguese)
* New translations settings.php (French)
* New translations entities.php (Latvian)
* New translations common.php (Latvian)
* New translations common.php (Italian)
* New translations settings.php (Italian)
* New translations entities.php (Italian)
* New translations entities.php (German)
* New translations entities.php (Dutch)
* New translations settings.php (German)
* New translations settings.php (Dutch)
* New translations common.php (German)
* New translations common.php (Dutch)
* New translations settings.php (Italian)
* New translations activities.php (Persian)
* New translations activities.php (Persian)
* New translations auth.php (Persian)
* New translations auth.php (Persian)
* New translations validation.php (Persian)
* New translations validation.php (Persian)
* New translations common.php (Persian)
* New translations pagination.php (Persian)
* New translations passwords.php (Persian)
* New translations common.php (Persian)
* New translations components.php (Persian)
* New translations errors.php (Persian)
* New translations errors.php (Persian)
* New translations entities.php (Persian)
* New translations activities.php (Norwegian Bokmal)
* New translations common.php (Norwegian Bokmal)
* New translations entities.php (Norwegian Bokmal)
* New translations errors.php (Norwegian Bokmal)
* New translations settings.php (Norwegian Bokmal)
* New translations settings.php (Norwegian Bokmal)
* New translations activities.php (Polish)
* New translations common.php (Polish)
* New translations errors.php (Polish)
* New translations settings.php (Polish)
* New translations activities.php (Czech)
* New translations activities.php (Czech)
* New translations auth.php (Czech)
* New translations common.php (Czech)
* New translations entities.php (Czech)
* New translations errors.php (Czech)
* New translations passwords.php (Czech)
* New translations auth.php (Czech)
* New translations entities.php (Czech)
* New translations settings.php (Czech)
* New translations validation.php (Czech)
* New translations auth.php (Czech)
* New translations auth.php (Czech)
* New translations entities.php (Czech)
* New translations settings.php (Czech)
* New translations components.php (Czech)
* New translations activities.php (Czech)
* New translations activities.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations settings.php (Indonesian)
* New translations errors.php (Vietnamese)
* New translations common.php (Vietnamese)
* New translations activities.php (Chinese Traditional)
* New translations common.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations errors.php (Chinese Traditional)
* New translations errors.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations common.php (Portuguese, Brazilian)
* New translations common.php (Portuguese, Brazilian)
* New translations activities.php (Chinese Traditional)
* New translations common.php (Chinese Simplified)
* New translations activities.php (Ukrainian)
* New translations auth.php (Ukrainian)
* New translations common.php (Ukrainian)
* New translations settings.php (Ukrainian)
* New translations validation.php (Ukrainian)
* New translations activities.php (Chinese Simplified)
* New translations auth.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Turkish)
* New translations validation.php (Chinese Simplified)
* New translations auth.php (Chinese Traditional)
* New translations validation.php (Chinese Traditional)
* New translations activities.php (Vietnamese)
* New translations auth.php (Vietnamese)
* New translations common.php (Vietnamese)
* New translations settings.php (Vietnamese)
* New translations validation.php (Vietnamese)
* New translations validation.php (Turkish)
* New translations common.php (Turkish)
* New translations auth.php (Portuguese, Brazilian)
* New translations auth.php (Slovenian)
* New translations validation.php (Russian)
* New translations activities.php (Slovak)
* New translations auth.php (Slovak)
* New translations common.php (Slovak)
* New translations settings.php (Slovak)
* New translations validation.php (Slovak)
* New translations activities.php (Slovenian)
* New translations common.php (Slovenian)
* New translations auth.php (Turkish)
* New translations settings.php (Slovenian)
* New translations validation.php (Slovenian)
* New translations activities.php (Swedish)
* New translations auth.php (Swedish)
* New translations common.php (Swedish)
* New translations settings.php (Swedish)
* New translations validation.php (Swedish)
* New translations activities.php (Turkish)
* New translations activities.php (Portuguese, Brazilian)
* New translations settings.php (Portuguese, Brazilian)
* New translations common.php (Russian)
* New translations validation.php (Bosnian)
* New translations common.php (Latvian)
* New translations settings.php (Latvian)
* New translations validation.php (Latvian)
* New translations activities.php (Bosnian)
* New translations auth.php (Bosnian)
* New translations common.php (Bosnian)
* New translations settings.php (Bosnian)
* New translations activities.php (Norwegian Bokmal)
* New translations activities.php (Latvian)
* New translations auth.php (Norwegian Bokmal)
* New translations common.php (Norwegian Bokmal)
* New translations settings.php (Norwegian Bokmal)
* New translations validation.php (Norwegian Bokmal)
* New translations activities.php (German Informal)
* New translations auth.php (German Informal)
* New translations common.php (German Informal)
* New translations settings.php (German Informal)
* New translations auth.php (Latvian)
* New translations validation.php (Croatian)
* New translations validation.php (Portuguese, Brazilian)
* New translations settings.php (Persian)
* New translations activities.php (Indonesian)
* New translations auth.php (Indonesian)
* New translations common.php (Indonesian)
* New translations settings.php (Indonesian)
* New translations validation.php (Indonesian)
* New translations activities.php (Persian)
* New translations auth.php (Persian)
* New translations common.php (Persian)
* New translations validation.php (Persian)
* New translations settings.php (Croatian)
* New translations activities.php (Spanish, Argentina)
* New translations auth.php (Spanish, Argentina)
* New translations common.php (Spanish, Argentina)
* New translations settings.php (Spanish, Argentina)
* New translations validation.php (Spanish, Argentina)
* New translations activities.php (Croatian)
* New translations auth.php (Croatian)
* New translations common.php (Croatian)
* New translations settings.php (Russian)
* New translations auth.php (Russian)
* New translations common.php (Chinese Traditional)
* New translations common.php (Czech)
* New translations validation.php (Bulgarian)
* New translations activities.php (Catalan)
* New translations auth.php (Catalan)
* New translations common.php (Catalan)
* New translations settings.php (Catalan)
* New translations validation.php (Catalan)
* New translations auth.php (Czech)
* New translations settings.php (Czech)
* New translations common.php (Bulgarian)
* New translations validation.php (Czech)
* New translations activities.php (Danish)
* New translations auth.php (Danish)
* New translations common.php (Danish)
* New translations settings.php (Danish)
* New translations validation.php (Danish)
* New translations activities.php (German)
* New translations auth.php (German)
* New translations settings.php (Bulgarian)
* New translations auth.php (Bulgarian)
* New translations settings.php (German)
* New translations activities.php (Spanish)
* New translations settings.php (Chinese Traditional)
* New translations common.php (Portuguese, Brazilian)
* New translations activities.php (Czech)
* New translations activities.php (French)
* New translations auth.php (French)
* New translations common.php (French)
* New translations settings.php (French)
* New translations validation.php (French)
* New translations auth.php (Spanish)
* New translations activities.php (Bulgarian)
* New translations common.php (Spanish)
* New translations settings.php (Spanish)
* New translations validation.php (Spanish)
* New translations activities.php (Arabic)
* New translations auth.php (Arabic)
* New translations common.php (Arabic)
* New translations settings.php (Arabic)
* New translations validation.php (Arabic)
* New translations common.php (German)
* New translations validation.php (German)
* New translations activities.php (Russian)
* New translations activities.php (Polish)
* New translations settings.php (Korean)
* New translations validation.php (Korean)
* New translations activities.php (Dutch)
* New translations auth.php (Dutch)
* New translations common.php (Dutch)
* New translations settings.php (Dutch)
* New translations validation.php (Dutch)
* New translations auth.php (Polish)
* New translations auth.php (Korean)
* New translations common.php (Polish)
* New translations settings.php (Polish)
* New translations validation.php (Polish)
* New translations activities.php (Portuguese)
* New translations auth.php (Portuguese)
* New translations common.php (Portuguese)
* New translations settings.php (Portuguese)
* New translations validation.php (Portuguese)
* New translations common.php (Korean)
* New translations activities.php (Korean)
* New translations activities.php (Hebrew)
* New translations validation.php (Hungarian)
* New translations auth.php (Hebrew)
* New translations common.php (Hebrew)
* New translations settings.php (Hebrew)
* New translations validation.php (Hebrew)
* New translations activities.php (Hungarian)
* New translations auth.php (Hungarian)
* New translations common.php (Hungarian)
* New translations settings.php (Hungarian)
* New translations activities.php (Italian)
* New translations validation.php (Japanese)
* New translations auth.php (Italian)
* New translations common.php (Italian)
* New translations settings.php (Italian)
* New translations validation.php (Italian)
* New translations activities.php (Japanese)
* New translations auth.php (Japanese)
* New translations common.php (Japanese)
* New translations settings.php (Japanese)
* New translations validation.php (German Informal)
* New translations activities.php (Spanish)
* New translations auth.php (Spanish)
* New translations common.php (Spanish)
* New translations settings.php (Spanish)
* New translations validation.php (Spanish)
Dan Brown [Sat, 21 Aug 2021 17:54:38 +0000 (18:54 +0100)]
Updated pages API to not clear content if not provided
Can now update page details without supplying page content.
Added test to cover.
Closes #2856
Dan Brown [Sat, 21 Aug 2021 14:53:45 +0000 (15:53 +0100)]
Updated js dependancies
Dan Brown [Sat, 21 Aug 2021 14:50:16 +0000 (15:50 +0100)]
Merge pull request #2890 from BookStackApp/analysis-kabPRy
Apply fixes from StyleCI
Dan Brown [Sat, 21 Aug 2021 14:49:40 +0000 (14:49 +0000)]
Apply fixes from StyleCI
Dan Brown [Sat, 21 Aug 2021 14:47:55 +0000 (15:47 +0100)]
Merge pull request #2827 from BookStackApp/mfa
MFA System
Dan Brown [Sat, 21 Aug 2021 14:38:43 +0000 (15:38 +0100)]
Cleaned some unused elements during testing
Dan Brown [Sat, 21 Aug 2021 14:14:24 +0000 (15:14 +0100)]
Improved login redirect and setup experience
- Updated auth system for mfa to not update intended URL so that the
user is not redirected to mfa setup after eventual login.
- Added notification for users setting up MFA, after setup when
redirected back to login screen to advise that MFA setup was complete
but they need to login again.
- Updated some bits of wording to display better.
Dan Brown [Sun, 8 Aug 2021 13:52:29 +0000 (14:52 +0100)]
Added attribution for new libs added
- Also hard-set TOTP algorithm with comment from testing others.
Dan Brown [Sun, 8 Aug 2021 13:24:44 +0000 (14:24 +0100)]
Extracted text to translation files
Also aligned mfa method delete route to align with others.
Dan Brown [Sat, 7 Aug 2021 21:32:19 +0000 (22:32 +0100)]
Updated auth changes to work with remember me
Dan Brown [Sat, 7 Aug 2021 20:53:13 +0000 (21:53 +0100)]
Verified mfa session expires on logout
Since sessions are invalidated upon logout.
Dan Brown [Sat, 7 Aug 2021 20:18:59 +0000 (21:18 +0100)]
Quick test of email confirmation routes and fix of tests
Dan Brown [Thu, 5 Aug 2021 21:07:08 +0000 (22:07 +0100)]
Updated API auth handling of email confirmations
Email confirmations are now done within the guard during auth checking
instead of at the middleware layer.
Dan Brown [Wed, 4 Aug 2021 20:32:29 +0000 (21:32 +0100)]
Merge branch 'v21.05.x'
Dan Brown [Wed, 4 Aug 2021 20:22:14 +0000 (21:22 +0100)]
Updated when github actions run
Dan Brown [Wed, 4 Aug 2021 20:10:55 +0000 (21:10 +0100)]
Updated php dependancies up minor versions
Dan Brown [Wed, 4 Aug 2021 20:08:51 +0000 (21:08 +0100)]
Fixed issue where user id still used on profile pages
Updated to use slugs and added testing to cover.
Dan Brown [Wed, 4 Aug 2021 19:56:34 +0000 (20:56 +0100)]
Added vb.net code language option
Related to #2869
Dan Brown [Wed, 4 Aug 2021 19:48:23 +0000 (20:48 +0100)]
Fixed audit log user dropdown usability issue
User search input blur would trigger the submission of the search
filters which would cause strange thing where you'd click on a search
filtered user which would blur the input hence submit, but the user
would think they've clicked the user and the page would reload but the
input had not updated at that point.
Related to #2863
Dan Brown [Mon, 2 Aug 2021 21:02:25 +0000 (22:02 +0100)]
Worked on MFA setup required flow
- Restructured some of the route naming to be a little more consistent.
- Moved the routes about to be more logically in one place.
- Created a new middleware to handle the auth of people that should be
allowed access to mfa setup routes, since these could be used by
existing logged in users or by people needing to setup MFA on access.
- Added testing to cover MFA setup required flow.
- Added TTL and method tracking to session last-login tracking system.
Dan Brown [Mon, 2 Aug 2021 15:35:37 +0000 (16:35 +0100)]
Added Backup code verification logic
Also added testing to cover as part of this in addition to adding the
core backup code handling required.
Also added the standardised translations for switching mfa mode and
adding testing for this switching.
Dan Brown [Mon, 2 Aug 2021 14:04:43 +0000 (15:04 +0100)]
Added TOTP verification upon access
Dan Brown [Sun, 18 Jul 2021 15:52:31 +0000 (16:52 +0100)]
Added login redirect system to confirm/mfa
Also continued a bit on the MFA verification system.
Moved some MFA routes to public space using updated login service to get
the current user that is either logged in or last attempted login (With
correct creds).
Dan Brown [Sat, 17 Jul 2021 17:24:50 +0000 (18:24 +0100)]
Started moving MFA and email confirmation to new login flow
Instead of being soley middleware based.
Dan Brown [Sat, 17 Jul 2021 16:45:00 +0000 (17:45 +0100)]
Updated all login events to route through single service
Dan Brown [Fri, 16 Jul 2021 22:23:36 +0000 (23:23 +0100)]
Started on some MFA access-time checks
Discovered some difficult edge cases:
- User image loading in header bar when using local_secure storage
- 404s showing user-specific visible content due to content listing on
404 page since user is in semi-logged in state. Maybe need to go
through and change up how logins are handled to centralise and
provide us better control at login time to prevent any auth level.
Dan Brown [Wed, 14 Jul 2021 20:27:21 +0000 (21:27 +0100)]
Added the ability to remove an MFA method
Includes testing to cover
Dan Brown [Wed, 14 Jul 2021 19:50:36 +0000 (20:50 +0100)]
Added command to reset user MFA
Includes tests to cover the command.
Dan Brown [Wed, 14 Jul 2021 19:18:48 +0000 (20:18 +0100)]
Added MFA indicator to user list
Also fixed issue with showing incorrect MFA method count on user edit
page changes done in last commit
Dan Brown [Wed, 14 Jul 2021 19:06:41 +0000 (20:06 +0100)]
Added MFA setup link on user edit view
Dan Brown [Sat, 3 Jul 2021 12:34:48 +0000 (13:34 +0100)]
Added role based MFA control
- Added new DB column for control and role updated create/update actions.
- Created new middleware as a start to actual enforcement logic.
- Added indicator to role list of whether MFA is enforced.
Dan Brown [Sat, 3 Jul 2021 11:02:13 +0000 (12:02 +0100)]
Merge branch 'v21.05.x'
Dan Brown [Sat, 3 Jul 2021 10:57:32 +0000 (11:57 +0100)]
Updated php dependancies for minor release
Dan Brown [Sat, 3 Jul 2021 10:53:46 +0000 (11:53 +0100)]
Fixed issue with translation loading without theme
System was using the empty state return from theme_path,
when no theme was configured, for loading in languages
which would result in the root path being looked up upon.
This changes the theme_path helper to return null in cases a theme
is not configured instead of empty string to help prevent assumed
return path will be legitimate, and to help enforce error case
handling.
For #2836
Dan Brown [Fri, 2 Jul 2021 19:53:33 +0000 (20:53 +0100)]
Added backup code setup flow
- Includes testing to cover flow.
- Moved TOTP logic to its own controller.
- Added some extra totp tests.
Dan Brown [Fri, 2 Jul 2021 18:51:30 +0000 (19:51 +0100)]
Covered TOTP setup with testing
Dan Brown [Wed, 30 Jun 2021 21:10:02 +0000 (22:10 +0100)]
Complete base flow for TOTP setup
- Includes DB storage and code validation.
- Extracted TOTP work to its own service file.
- Still needs testing to cover this side of things.
Dan Brown [Tue, 29 Jun 2021 21:06:49 +0000 (22:06 +0100)]
Added TOTP generation view and started verification stage
Also updated MFA setup view to have settings-like listed interface to
make it possible to extend with extra options in the future.
Dan Brown [Mon, 28 Jun 2021 21:02:45 +0000 (22:02 +0100)]
Started barebones work of MFA system
Dan Brown [Mon, 28 Jun 2021 20:17:10 +0000 (21:17 +0100)]
Updated comments of theme event to match usage
Dan Brown [Sat, 26 Jun 2021 15:40:29 +0000 (16:40 +0100)]
Swapped PHPCS for StyleCI
Trying out StyleCI as an automated easy way to ensure code style is
consistent across the PHP codebase.
PHPCS+PHPCBF was good but I wouldn't run it enough then I'd get paranoid
about running it with pending PRs. Better to let the robots stay on top
of things.
Dan Brown [Sat, 26 Jun 2021 15:28:09 +0000 (16:28 +0100)]
Merge pull request #2820 from BookStackApp/analysis-6470L9
Apply fixes from StyleCI
Dan Brown [Sat, 26 Jun 2021 15:23:15 +0000 (15:23 +0000)]
Apply fixes from StyleCI
Dan Brown [Sat, 26 Jun 2021 11:12:11 +0000 (12:12 +0100)]
Review of #2682, Also added parent deletion link on restore
On restore, added a link to the parent deletion restore if any exists
on a cascading parent. Added a test to cover this case to ensure its shown.
Also tweaked default empty state message on recycle bin item list to align
with new column count.
Also done a little existing code cleanup including a getUrl helper on
the deletion items.
Related to #2682 & #2594
Dan Brown [Sat, 26 Jun 2021 10:19:21 +0000 (11:19 +0100)]
Merge branch 'master' of https://github.com/arjvand/BookStack into arjvand-master
Dan Brown [Wed, 23 Jun 2021 19:42:48 +0000 (20:42 +0100)]
Reviewed #2393, Removed image guessing and added testing
For review of meta tag additions as per PR #2393.
This commit removes any image guesswork and only uses images that have
been set by the author for the specific content.
This also adds tests to cover the expected OG tags.
Dan Brown [Wed, 23 Jun 2021 19:11:07 +0000 (20:11 +0100)]
Merge branch 'create-content-meta-tags' of https://github.com/james-geiger/BookStack into james-geiger-create-content-meta-tags
Dan Brown [Tue, 22 Jun 2021 20:32:55 +0000 (21:32 +0100)]
Added markdown export endpoints to API
- Added tests to cover.
- Added slight extra spaces at content joins.
Dan Brown [Tue, 22 Jun 2021 20:02:18 +0000 (21:02 +0100)]
Updated markdown export implementation
- Removed ZIP system for now, until the idea can be fleshed out.
- Added testing to cover.
- Upgraded used library.
- Added custom handling for BookStack callouts.
- Added HTML cleanup to better produce output for things like code
blocks.
Dan Brown [Tue, 22 Jun 2021 18:12:24 +0000 (19:12 +0100)]
Merge branch 'markdown-export' of https://github.com/nikhiljha/BookStack-1 into nikhiljha-markdown-export
Dan Brown [Tue, 15 Jun 2021 19:58:45 +0000 (20:58 +0100)]
Added a "skip to content" link.
Closes #2810
Dan Brown [Mon, 14 Jun 2021 21:37:58 +0000 (22:37 +0100)]
Made social account detach a POST request
Closes #2808
Dan Brown [Mon, 14 Jun 2021 21:30:53 +0000 (22:30 +0100)]
Added test for social account detach
Dan Brown [Sun, 13 Jun 2021 13:16:09 +0000 (14:16 +0100)]
Fixed issue with using old non-existing reference in controller
Also done a little code cleanup.
Dan Brown [Sun, 13 Jun 2021 13:06:56 +0000 (14:06 +0100)]
Updated composer.lock
Dan Brown [Sun, 13 Jun 2021 13:04:23 +0000 (14:04 +0100)]
New Crowdin updates (#2790)
* New translations common.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations errors.php (Indonesian)
* New translations auth.php (Chinese Simplified)
* New translations auth.php (Chinese Simplified)
* New translations errors.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations errors.php (Indonesian)
* New translations settings.php (Indonesian)
* New translations validation.php (Indonesian)
* New translations settings.php (Spanish, Argentina)
Dan Brown [Sun, 13 Jun 2021 13:03:08 +0000 (14:03 +0100)]
Merge pull request #2791 from BookStackApp/attachments_open_in_browser
Attachment serving without forced download
Dan Brown [Sun, 13 Jun 2021 12:57:29 +0000 (13:57 +0100)]
Updated platform deps and development version number
Dan Brown [Sun, 13 Jun 2021 12:53:59 +0000 (13:53 +0100)]
Extracted not found text into its own simple blade file
Related/intended for #2796
Dan Brown [Sun, 13 Jun 2021 11:53:04 +0000 (12:53 +0100)]
Fixed content parsing break with line html comment
Fixes issues thrown in custom HMTL head & page content filtering when
the content is comprised of only a single HTML comment.
Adds tests to cover.
For #2804
Dan Brown [Sun, 6 Jun 2021 12:55:56 +0000 (13:55 +0100)]
Added front-end toggle and testing of inline attachments
Dan Brown [Sat, 5 Jun 2021 23:51:06 +0000 (00:51 +0100)]
Added back-end attachments-in-browser support
A query string will cause attachments to be provided inline
with an appropriate mime type.
Remaining actions:
- Tests
- Front-end functionality
- Config option?
Dan Brown [Fri, 4 Jun 2021 22:08:43 +0000 (23:08 +0100)]
Updated translator attribution before release v21.05.1
Dan Brown [Fri, 4 Jun 2021 21:59:31 +0000 (22:59 +0100)]
Updated base64 image extraction to use url instead of path
To ensure it works with all storage types and follows the format of
manually uploaded image content
Dan Brown [Fri, 4 Jun 2021 21:50:48 +0000 (22:50 +0100)]
New Crowdin updates (#2787)
* New translations common.php (German)
* New translations common.php (Dutch)
Dan Brown [Fri, 4 Jun 2021 21:36:30 +0000 (22:36 +0100)]
Ordered entity permission roles by display name
Closes #2782
Dan Brown [Fri, 4 Jun 2021 21:28:38 +0000 (22:28 +0100)]
Updated homepage action button colors for consistency
Were previously inconsistent with other homepage buttons for non-default
homepage options.
Dan Brown [Fri, 4 Jun 2021 21:21:06 +0000 (22:21 +0100)]
Merge branch 'master' of github.com:BookStackApp/BookStack
Dan Brown [Fri, 4 Jun 2021 21:20:11 +0000 (22:20 +0100)]
Fixed wrong styles for homepage favourites
When using a non-default homepage option.
Fixes #2783
Dan Brown [Wed, 2 Jun 2021 21:15:58 +0000 (22:15 +0100)]
Roll-out and re-fix of croation via crowdin (#2785)
* New translations auth.php (Croatian)
* New translations activities.php (Croatian)
* New translations activities.php (German Informal)
* New translations common.php (Croatian)
* New translations passwords.php (Croatian)
* New translations settings.php (Czech)
* New translations settings.php (Spanish)
* New translations settings.php (Catalan)
* New translations settings.php (Arabic)
* New translations settings.php (French)
* New translations pagination.php (Croatian)
* New translations settings.php (German)
* New translations settings.php (Danish)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Hebrew)
* New translations validation.php (Korean)
* New translations validation.php (Croatian)
* New translations settings.php (Hungarian)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Japanese)
* New translations settings.php (Korean)
* New translations settings.php (Dutch)
* New translations settings.php (Polish)
* New translations settings.php (Portuguese)
* New translations settings.php (Russian)
* New translations settings.php (Slovak)
* New translations settings.php (Slovenian)
* New translations settings.php (Turkish)
* New translations settings.php (Ukrainian)
* New translations settings.php (Vietnamese)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Indonesian)
* New translations settings.php (Persian)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Croatian)
* New translations settings.php (Latvian)
* New translations settings.php (Bosnian)
* New translations settings.php (Norwegian Bokmal)
* New translations settings.php (German Informal)
* New translations entities.php (German Informal)
* New translations settings.php (Italian)
* New translations settings.php (Swedish)
* New translations settings.php (Bulgarian)
* New translations errors.php (German Informal)
* New translations errors.php (Croatian)
* New translations components.php (Croatian)
* New translations entities.php (Croatian)
* New translations pagination.php (Croatian)
* New translations entities.php (Croatian)
* New translations components.php (Croatian)
* New translations errors.php (Croatian)
* New translations settings.php (Croatian)
* New translations validation.php (Croatian)
* New translations passwords.php (Croatian)
* New translations auth.php (Croatian)
* New translations common.php (Croatian)
* New translations activities.php (Croatian)
Dan Brown [Wed, 2 Jun 2021 20:57:23 +0000 (21:57 +0100)]
Merge branch 'ffranchina-master'
Dan Brown [Wed, 2 Jun 2021 20:56:53 +0000 (21:56 +0100)]
New Crowdin updates (#2777)
* New translations common.php (Latvian)
* New translations entities.php (Latvian)
* New translations activities.php (Italian)
* New translations common.php (Italian)
* New translations entities.php (Italian)
* New translations errors.php (Italian)
* New translations settings.php (Italian)
* New translations common.php (Spanish, Argentina)
* New translations entities.php (Spanish, Argentina)
* New translations activities.php (Spanish, Argentina)
* New translations common.php (Spanish, Argentina)
* New translations common.php (French)
* New translations common.php (Swedish)
* New translations activities.php (Swedish)
* New translations common.php (Swedish)
* New translations entities.php (Swedish)
* New translations errors.php (Swedish)
* New translations settings.php (Swedish)
* New translations validation.php (Bulgarian)
* New translations validation.php (Bulgarian)
* New translations common.php (Bulgarian)
* New translations validation.php (Bulgarian)
* New translations settings.php (Bulgarian)
* New translations activities.php (Indonesian)
* New translations settings.php (Bulgarian)
* New translations common.php (Bulgarian)
* New translations entities.php (Bulgarian)
* New translations activities.php (Turkish)
* New translations settings.php (Bulgarian)
* New translations components.php (Bulgarian)
* New translations activities.php (Russian)
* New translations common.php (Russian)
* New translations entities.php (Russian)
* New translations common.php (Russian)
* New translations entities.php (Russian)
Dan Brown [Wed, 2 Jun 2021 20:55:30 +0000 (21:55 +0100)]
Added croatian to required arrays/lists
Dan Brown [Wed, 2 Jun 2021 20:50:38 +0000 (21:50 +0100)]
Added back in commas, reset settings language array
Related to #2784
Dan Brown [Wed, 2 Jun 2021 20:44:39 +0000 (21:44 +0100)]
Merge branch 'master' of https://github.com/ffranchina/BookStack into ffranchina-master
Dan Brown [Wed, 2 Jun 2021 20:34:34 +0000 (21:34 +0100)]
Reviewed base64 image upload support
- Added test cases to cover.
- Altered parsing logic to be a little less reliant on regex.
- Added new iamge repo method for creating from data.
- Added extension validation and additional type support.
- Done some cleanup of common operations within PageContent.
- Added message to API docs/method to mention image usage.
For #2700 and #2631.
Dan Brown [Wed, 2 Jun 2021 19:25:20 +0000 (20:25 +0100)]
Merge branch 'master' of https://github.com/awarre/BookStack into awarre-master
Francesco Franchina [Wed, 2 Jun 2021 15:32:31 +0000 (17:32 +0200)]
Adding Croatian translation files
Dan Brown [Sun, 30 May 2021 14:22:58 +0000 (15:22 +0100)]
Added thumbnail attribute to complete .env
Dan Brown [Sun, 30 May 2021 14:11:59 +0000 (15:11 +0100)]
Updated translators before next release
Dan Brown [Sun, 30 May 2021 14:10:11 +0000 (15:10 +0100)]
New Crowdin updates (#2764)
Dan Brown [Sun, 30 May 2021 12:23:51 +0000 (13:23 +0100)]
Updated test to align with export date format change
Dan Brown [Sat, 29 May 2021 23:02:32 +0000 (00:02 +0100)]
Aligned export and revision shown date format
As raised in #2771
Dan Brown [Sat, 29 May 2021 22:46:33 +0000 (23:46 +0100)]
Updated nav tests to look for shortened item names
Dan Brown [Sat, 29 May 2021 22:42:21 +0000 (23:42 +0100)]
Converted another couple of tests from browserkit
Dan Brown [Sat, 29 May 2021 12:08:28 +0000 (13:08 +0100)]
Upgraded php and npm deps
- Sass upgrade had some breaking changes where division was used
hence updated for newer sass version support.
Dan Brown [Sat, 29 May 2021 11:49:10 +0000 (12:49 +0100)]
Added testing to cover next/previous navigation
For #2511
Dan Brown [Sat, 29 May 2021 11:39:41 +0000 (12:39 +0100)]
Reviewed and refactored next/previous navigation button implementation
- Updated styling to include item name.
- Extracted used text to translations.
- Updated the design to better suit the surrounding blocks.
- Removed newly added model/repo methods.
- Moved core logic out of controller and instead into a "NextPreviousContentLocator"
helper with re-uses the output from the book-tree generation.
- Also added the system to chapters.
For #2511
Dan Brown [Wed, 26 May 2021 21:13:19 +0000 (22:13 +0100)]
Merge branch 'prev-next-button' of https://github.com/shubhamosmosys/BookStack into shubhamosmosys-prev-next-button
Dan Brown [Wed, 26 May 2021 17:23:27 +0000 (18:23 +0100)]
Updated drawing upload error to shown/handle server limit errors
Closes #2740
Dan Brown [Wed, 26 May 2021 16:13:59 +0000 (17:13 +0100)]
Revert "Added app logo to outgoing emails"
This reverts commit
e32929029b3b9c4cfdd40fe234f530c60efa84e1 .
Dan Brown [Wed, 26 May 2021 16:09:56 +0000 (17:09 +0100)]
Added app logo to outgoing emails
Required changing the header bar of the email to be solid color to match
the configuration of the main app header since otherwise colors may not
work together.
Closes #2577
Dan Brown [Wed, 26 May 2021 15:40:56 +0000 (16:40 +0100)]
Added deletion of revisions on page delete
Added testing to cover.
Closes #2668
Dan Brown [Wed, 26 May 2021 14:25:23 +0000 (15:25 +0100)]
Added name input autofocus on shelves, books and chapters
Closes #1956
Dan Brown [Wed, 26 May 2021 14:19:26 +0000 (15:19 +0100)]
Made users header interface more adaptable
Search input was stacking on create button on default desktop view
due when viewing in russian due to combined width exceeding container.
Made into normal flexbox instead.
Closes #2147
Dan Brown [Mon, 24 May 2021 23:06:13 +0000 (00:06 +0100)]
Merge branch 'master' of github.com:BookStackApp/BookStack
Dan Brown [Mon, 24 May 2021 23:05:20 +0000 (00:05 +0100)]
Added origin verification to postMessage usage.
Closes #2769
Dan Brown [Mon, 24 May 2021 21:11:49 +0000 (22:11 +0100)]
Merge pull request #2768 from CorruptComputer/RSPEC-5148-Fixes
[sec] Fixes a few minor vulnerabilies when using target="_blank" on links (RSPEC-5148)