Commit Graph

3435 Commits

Author SHA1 Message Date
Abijeet 1aa9465611 Docker: Fix permission with node service by adding node as user
See: https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md#non-root-user

Fixes the following error:

glob error:
[Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'scandir',
  path: '/root/.npm/_logs'
}
2021-01-30 23:46:53 +05:30
Dan Brown 4d3194d784 Merge branch 'patch-1' of git://github.com/l1n/BookStack into l1n-patch-1 2021-01-30 17:15:23 +00:00
Dan Brown 5404f22bf9 Added codemirror refresh on details blog toggle
For #781
2021-01-30 17:04:30 +00:00
Dan Brown ccb2cb5b7c Merge branch 'feature_add_add-button_to_home_view' of git://github.com/philjak/BookStack into philjak-feature_add_add-button_to_home_view 2021-01-30 16:40:13 +00:00
Guillaume Hanotel 26ba056302 Sort Books within Shelves 2021-01-29 08:02:18 +01:00
Dan Brown 0dac9c68f0 Changed how the cache is mocked in status test 2021-01-28 23:13:55 +00:00
Dan Brown 3df6c9ac05 Updated service provider reference, added phpunit env var 2021-01-28 22:46:15 +00:00
Dan Brown 2db081938f Updated deps, focused on new version of htmldiff 2021-01-28 22:04:19 +00:00
Baptiste Thémine d979570227
Fix French translation for permissions_update 2021-01-27 13:40:58 +01:00
Shubham Tiwari 99c42033b1 Add prev and next button to navigate through different pages 2021-01-27 10:15:28 +05:30
Dan Brown 7ba6962707
Removed lesser-used middleware and updated localization middleware
So that DB/User access is not explicitly enforced.
Same for GlobalViewData middleware although that was also just doubling
up on ways to access user/auth info.
Also cleaned up Localization Middleware doc blocks.
2021-01-17 13:41:43 +00:00
Dan Brown 6eda1c1fb2
Added status endpoint
For #2467
2021-01-17 13:21:57 +00:00
Dan Brown 5a218d5056
Updated version and assets for release v0.31.4 2021-01-16 17:50:45 +00:00
Dan Brown 8dbc5cf9c6
Merge branch 'master' into release 2021-01-16 17:50:11 +00:00
Dan Brown d33f136660
Updated translator attribution before release v0.31.4 2021-01-16 17:49:56 +00:00
Dan Brown 173dad345e
New Crowdin updates (#2482)
* New translations entities.php (Chinese Traditional)

* New translations settings.php (Chinese Traditional)

* New translations activities.php (Chinese Traditional)

* New translations settings.php (Chinese Traditional)
2021-01-16 17:45:59 +00:00
Dan Brown 47b0eb6324
Updated framework and other php deps 2021-01-16 17:45:04 +00:00
Dan Brown c35c37008d
Added imagetools plugin back in
For #2493
2021-01-16 17:39:30 +00:00
Bernhard Hayden aad2ee675c Show tags of all search results 2021-01-15 15:52:03 +01:00
Nova b8aabfffe8
Update form.blade.php 2021-01-13 12:45:18 -08:00
Nova ac8e124d01
Update form.blade.php 2021-01-13 12:23:20 -08:00
Nova 857f8c2a95
Disable autocomplete on the change password field 2021-01-13 12:21:57 -08:00
Dan Brown 71e81615a3
Updated version for release v0.31.3 2021-01-10 23:29:58 +00:00
Dan Brown 611d37da04
Merge branch 'master' into release 2021-01-10 23:29:11 +00:00
Dan Brown ee400eece6
New Crowdin updates (#2469)
* New translations settings.php (Turkish)

* New translations entities.php (Turkish)

* New translations settings.php (Turkish)

* New translations activities.php (Turkish)

* New translations validation.php (Turkish)
2021-01-10 23:28:33 +00:00
Dan Brown da7c686541
Made books and shelf listing views slightly more efficient 2021-01-10 23:12:51 +00:00
Dan Brown d0a7a8b890
Improved some query efficiencies on user list 2021-01-10 23:02:30 +00:00
Dan Brown 28c706fee3
Added strikethrough support to back-end md rendering
Needed to tweak the default library strikethrough extension
so that it uses the same element as front-end.
Added testing to cover.
For #2470.
2021-01-10 23:01:11 +00:00
Dan Brown 0e799a3857
Updated version and assets for release v0.31.2 2021-01-10 14:05:16 +00:00
Dan Brown b91d6e2bfa
Merge branch 'master' into release 2021-01-10 14:04:59 +00:00
Dan Brown 44315233d7
Updated translator attribution before release v0.31.2 2021-01-10 14:04:38 +00:00
Dan Brown 91efa601be
New Crowdin updates (#2464)
* New translations entities.php (Chinese Traditional)

* New translations entities.php (Chinese Traditional)

* New translations settings.php (Italian)

* New translations settings.php (Italian)

* New translations settings.php (Russian)

* New translations settings.php (Russian)

* New translations entities.php (Russian)

* New translations settings.php (Russian)

* New translations activities.php (Russian)
2021-01-10 13:44:29 +00:00
Dan Brown 18f86fbf9b
Made recycle-bin settings navbar full width
For #2468
2021-01-10 13:36:46 +00:00
Dan Brown e5a96b0cb0
Added test case for avatar failed fetch
Fixed non-imported log issue while there.
For #2449
2021-01-10 13:29:13 +00:00
Dan Brown 526be33ab2
Fixed page copying not retaining content
Was when there was no markdown content.
Added tests to cover both HTML and markdown scenarios.
Also removed old console.log

Related to #2463
2021-01-09 19:39:09 +00:00
Dan Brown 831f441879
Added in table + tasklist markdown rendering
For parity with markdown-it renderer.
Added tests to cover.
For #2452
2021-01-09 19:04:23 +00:00
Dan Brown ea16ad7e94
Updated version and assets for release v0.31.1 2021-01-04 18:41:55 +00:00
Dan Brown ba6eb54552
Merge branch 'master' into release 2021-01-04 18:41:26 +00:00
Dan Brown 47e3ef1be2
New Crowdin updates (#2441)
* New translations entities.php (Chinese Simplified)

* New translations settings.php (Chinese Simplified)

* New translations entities.php (Chinese Simplified)

* New translations settings.php (French)

* New translations entities.php (French)

* New translations settings.php (Chinese Simplified)

* New translations entities.php (Chinese Simplified)

* New translations entities.php (Spanish, Argentina)
2021-01-04 18:35:31 +00:00
Dan Brown 7791599fb5
Fixed recycle bin dropdown being cut off in chrome
Fixes #2442
2021-01-04 18:24:34 +00:00
Dan Brown bbfb330b92
Added check of owner field for manage-permissions-own
This permission was still checking based on created-by.
Updated testing to specifically check the owner since the tests
were passing by the fact of matching creator and owner.

Fixes #2445
2021-01-04 18:07:39 +00:00
Dan Brown 20729a618f
Fixed markdown content not stored on first page save
HTML content was still saved.
This changes makes the back-end check for md content
instead of html to ensure that gets stored in cases
where both are sent to the system.

Closes #2446
2021-01-04 17:52:08 +00:00
Dan Brown f705e7683b
Updated assets for release v0.31.0 again 2021-01-03 22:33:36 +00:00
Dan Brown dc996adb20
Merge branch 'master' into release 2021-01-03 22:32:40 +00:00
Dan Brown 14ea6c9de3
Made fixes/updates during pre-release review
- Fixed page editor default focus not working as expected due to
  misnamed attribute.
- Added owned_by to relevant areas of the API including the docs.
- Made book relation on page accessible even if deleted since it could cause an issue on views, such as audit trail, when the relation is accessed when the book is deleted.
2021-01-03 22:29:58 +00:00
Dan Brown a64c638ccc
Updated version and assets for release v0.31.0 2021-01-03 21:52:37 +00:00
Dan Brown 359c067279
Merge branch 'master' into release 2021-01-03 21:52:00 +00:00
Dan Brown 8bb6394b47
Merge branch 'master' of github.com:BookStackApp/BookStack 2021-01-03 20:55:34 +00:00
Dan Brown ea8083ac6e
Updated translators for v0.31 2021-01-03 20:55:08 +00:00
Dan Brown 04367eb4c5
New Crowdin updates (#2439)
* New translations entities.php (Norwegian Bokmal)

* New translations settings.php (Norwegian Bokmal)

* New translations validation.php (Norwegian Bokmal)

* New translations common.php (Norwegian Bokmal)

* New translations activities.php (Norwegian Bokmal)

* New translations entities.php (Spanish)
2021-01-03 20:54:01 +00:00