Dan Brown
9a05223e7d
Merge branch 'v0.31.x'
2021-02-06 14:22:19 +00:00
Dan Brown
a7e3c26fe3
Fixed markdown content on revision restore
...
Closes #2496
2021-02-06 14:14:38 +00:00
Dan Brown
37de4e2e0a
Added test for markdown page revision restore
...
Also added md change detection in revision saving.
2021-02-06 13:51:05 +00:00
Dan Brown
61a911dd39
Removed "isA" usages from trashcan
2021-02-06 13:29:39 +00:00
Aleksandr Sazhin
cc5d0ef4cf
Update TrashCan.php
...
bookshelf
2021-02-06 13:23:12 +00:00
Dan Brown
7843d8f054
Added recycle-bin test to cover type deletions
2021-02-06 13:22:31 +00:00
Dan Brown
d759f9c121
Merge branch 'master' of git://github.com/i4j5/BookStack into i4j5-master
2021-02-06 13:21:14 +00:00
Dan Brown
f25e585008
Moved sketchy file samples to base64 equivilents
...
Hides them from AV systems.
Done some test helper cleaning while at it.
Related to #1571
2021-02-06 00:16:27 +00:00
Dan Brown
4f96cd9164
Altered header to keep search box center
...
For #2310
2021-02-04 23:11:55 +00:00
Aleksandr Sazhin
88f6d3f241
Update TrashCan.php
...
bookshelf
2021-02-03 10:03:54 +03:00
Dan Brown
8e87f01aa0
Added stats badge and league to attribution
2021-02-02 22:12:41 +00:00
Dan Brown
d547ed4a6b
Updated laravel/framework to latest 6.x version
2021-02-02 20:56:19 +00:00
Dan Brown
bc1e84325c
Made codemirror editor load a lot more efficient
...
Brings down total editor load time from about 11s to 7s from testing in
4x reduced CPU speed in chrome.
About 1.5 seconds of that is editor init/page load.
Post editor-init/page-load time is now 60% of previous from testing.
Related to #2518
2021-01-31 16:26:54 +00:00
Dan Brown
44c41e9e4d
Updated footer links to be a configurable list
...
Made so footer link ordering, names and urls can be set.
Cleaned up some of the setting-service and added support for array
setting types, which are cleaned on entry and stored as json with a new
type indicator column on the settings table for auto-decode.
Also added testing to cover this feature.
Related to #1973 and #854
2021-01-31 00:23:15 +00:00
Dan Brown
a663364223
Merge branch 'footer-links' of git://github.com/james-geiger/BookStack into james-geiger-footer-links
2021-01-30 22:03:16 +00:00
Dan Brown
72fda8f592
Merge pull request #2510 from BookStackApp/fix-docker-perm
...
Docker: Fix permission with node service by adding node as user
2021-01-30 21:51:00 +00:00
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
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
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
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
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
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
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
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
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
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