Dan Brown
49200ca5ce
Updated version and assets for release v22.07
2022-07-28 14:53:15 +01:00
Dan Brown
34aa4dbf10
Merge branch 'development' into release
2022-07-28 14:53:01 +01:00
Dan Brown
a21d09fed7
New Crowdin updates ( #3600 )
2022-07-28 14:12:13 +01:00
Dan Brown
50bc2e49c1
Update translators.txt
2022-07-28 14:10:14 +01:00
Dan Brown
8776113210
Updated translator attribution pre 22.07 release
2022-07-28 14:01:27 +01:00
Dan Brown
397a36cfd0
Merge branch 'lang_de' into development
2022-07-27 11:20:08 +01:00
Dan Brown
ee24635e06
Merge pull request #3556 from GongMingCai/development
...
Fixed comment count update error
2022-07-27 11:18:05 +01:00
Dan Brown
7c8368cc63
Merge pull request #3545 from BookStackApp/l10n_development
...
New Crowdin updates
2022-07-27 11:15:45 +01:00
Dan Brown
f93e380d19
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2022-07-27 11:08:03 +01:00
Dan Brown
0bb5654f80
Updated composer deps, applied StyleCI changes
2022-07-27 11:07:41 +01:00
Dan Brown
89324bf9cc
Merge pull request #3599 from BookStackApp/editor_list_shortcuts
...
Add editor shortcuts for two main list types
2022-07-27 11:03:08 +01:00
Dan Brown
9abb207e4d
Added list shortcuts to markdown editor
...
Added some logic for ordered lists to continue the numbering logic,
while keeping the number list format style the same [1. vs 1)]
2022-07-27 11:01:37 +01:00
Dan Brown
8aad8e4a24
New translations entities.php (Spanish)
2022-07-26 20:14:59 +01:00
Dan Brown
8681c5f613
Added ordered/unordered WYSIWYG list shortcuts
...
Related to #1269
2022-07-26 16:43:15 +01:00
Dan Brown
944ac2e6eb
New translations entities.php (German Informal)
2022-07-26 13:13:26 +01:00
Dan Brown
75759fb735
New translations entities.php (Dutch)
2022-07-26 13:13:25 +01:00
Dan Brown
f47c9a53aa
New translations entities.php (Lithuanian)
2022-07-26 13:13:24 +01:00
Dan Brown
480d591acf
New translations entities.php (Korean)
2022-07-26 13:13:23 +01:00
Dan Brown
ae40ec10a4
New translations entities.php (Japanese)
2022-07-26 13:13:22 +01:00
Dan Brown
180927cdb9
New translations entities.php (Italian)
2022-07-26 13:13:21 +01:00
Dan Brown
f37e7186d9
New translations entities.php (Hungarian)
2022-07-26 13:13:20 +01:00
Dan Brown
bb7bd903ef
New translations entities.php (Hebrew)
2022-07-26 13:13:19 +01:00
Dan Brown
6c767cd205
New translations entities.php (Polish)
2022-07-26 13:13:18 +01:00
Dan Brown
99aa093e2b
New translations entities.php (Basque)
2022-07-26 13:13:17 +01:00
Dan Brown
42b576df55
New translations entities.php (Czech)
2022-07-26 13:13:16 +01:00
Dan Brown
3fbe304cfc
New translations entities.php (Catalan)
2022-07-26 13:13:15 +01:00
Dan Brown
e0d4a43e1e
New translations entities.php (Bulgarian)
2022-07-26 13:13:14 +01:00
Dan Brown
ab6a3144ec
New translations entities.php (Arabic)
2022-07-26 13:13:13 +01:00
Dan Brown
7a2f54b890
New translations entities.php (Spanish)
2022-07-26 13:13:12 +01:00
Dan Brown
8f28bb9e3c
New translations entities.php (French)
2022-07-26 13:13:11 +01:00
Dan Brown
cb12f76f46
New translations entities.php (German)
2022-07-26 13:13:10 +01:00
Dan Brown
3f1b376b2b
New translations entities.php (Danish)
2022-07-26 13:13:09 +01:00
Dan Brown
147f038806
New translations entities.php (Ukrainian)
2022-07-26 13:13:08 +01:00
Dan Brown
812675dfc2
New translations entities.php (Russian)
2022-07-26 13:13:06 +01:00
Dan Brown
3b2fb67d78
New translations entities.php (Slovenian)
2022-07-26 13:13:05 +01:00
Dan Brown
ae91831ba6
New translations entities.php (Norwegian Bokmal)
2022-07-26 13:13:04 +01:00
Dan Brown
fcfafbdac5
New translations entities.php (Uzbek)
2022-07-26 13:13:02 +01:00
Dan Brown
705f81561a
New translations entities.php (Bosnian)
2022-07-26 13:13:01 +01:00
Dan Brown
1c70684a99
New translations entities.php (Welsh)
2022-07-26 13:13:00 +01:00
Dan Brown
32e305ef4f
New translations entities.php (Latvian)
2022-07-26 13:12:59 +01:00
Dan Brown
8c70a69fff
New translations entities.php (Estonian)
2022-07-26 13:12:58 +01:00
Dan Brown
f0eb4df1e9
New translations entities.php (Croatian)
2022-07-26 13:12:57 +01:00
Dan Brown
852f4e61a5
New translations entities.php (Slovak)
2022-07-26 13:12:56 +01:00
Dan Brown
d68ee461e0
New translations entities.php (Spanish, Argentina)
2022-07-26 13:12:55 +01:00
Dan Brown
98ce7a0675
New translations entities.php (Indonesian)
2022-07-26 13:12:54 +01:00
Dan Brown
e6e1b9423d
New translations entities.php (Portuguese, Brazilian)
2022-07-26 13:12:52 +01:00
Dan Brown
b3c93a2188
New translations entities.php (Vietnamese)
2022-07-26 13:12:51 +01:00
Dan Brown
59dbc0b9f1
New translations entities.php (Chinese Traditional)
2022-07-26 13:12:50 +01:00
Dan Brown
7a43b6d5b7
New translations entities.php (Chinese Simplified)
2022-07-26 13:12:49 +01:00
Dan Brown
fb8f92e835
New translations entities.php (Turkish)
2022-07-26 13:12:48 +01:00
Dan Brown
0d36e3fecf
New translations entities.php (Swedish)
2022-07-26 13:12:47 +01:00
Dan Brown
b878ccc361
New translations entities.php (Persian)
2022-07-26 13:12:46 +01:00
Dan Brown
2bab892dce
New translations entities.php (Portuguese)
2022-07-26 13:12:45 +01:00
Dan Brown
4fa73be80e
Merge pull request #3598 from BookStackApp/chapter_sort_book_option
...
Added 'Sort Book' action to chapters
2022-07-26 12:37:18 +01:00
Dan Brown
bd14dc067b
Added 'Sort Book' action to chapters
...
Related to #2335
2022-07-26 12:36:17 +01:00
Dan Brown
d4a119b2aa
Fixed disabling of avatar urls, Removed id from gravatar image name
...
Included test to cover avatar url disabling.
Related to #1835
2022-07-26 12:10:19 +01:00
Dan Brown
2ec8a33927
Removed labels from WYSIWYG colors
...
To ease burden of translation.
Related to #3530
2022-07-26 11:07:40 +01:00
Dan Brown
fee3022ad8
Added tinymce de-focus toolbar hack for drawing editor load
...
The tinymce event system would not pick up the focus within the loaded
draw.io instance, after the drawing toolbar button was clicked, hence
the toolbar would hang around.
This adds a hack to dispatch a mousedown event on the body to get the
toolbar to hide.
For #3597
2022-07-25 19:56:01 +01:00
Dan Brown
050ae01f94
Merge pull request #3593 from BookStackApp/code-editor-favorites
...
Code-editor lang favorites system
2022-07-25 19:16:11 +01:00
Dan Brown
8e5f7c6425
Added language list favourites sorting, updated styles
...
- Also made code box be greedier with vertical space.
2022-07-25 19:13:25 +01:00
Dan Brown
7fdc7c68b9
Added test to cover code favourite pref. endpoint
2022-07-25 18:48:40 +01:00
Dan Brown
017c7659e5
New translations editor.php (Estonian)
2022-07-25 16:03:40 +01:00
Dan Brown
a08ea54615
New translations entities.php (Estonian)
2022-07-25 16:03:39 +01:00
Dan Brown
0df5ae0658
Added core code-lang-favourites JS, PHP & CSS logic
...
- Got the functionality now working to favourite items and store that
status within the system for the user.
- Improved CSS display for usability.
2022-07-25 13:10:27 +01:00
Dan Brown
3fa43c804b
New translations activities.php (Indonesian)
2022-07-25 00:23:51 +01:00
Dan Brown
ebc5a53410
Started code-editor lang favorites system
...
- Split bash from shell in language list
- Updated code-lang highlighting to be exact match only to prevent
confusion scenarios (Java matching JavaScript, etc..)
- Added design for favorites
- Changed blade language list to be generated from array.
2022-07-24 21:15:43 +01:00
Dan Brown
62500a9bfa
New translations editor.php (Dutch)
2022-07-24 19:51:07 +01:00
Dan Brown
a5153ff5af
New translations entities.php (Dutch)
2022-07-24 19:51:06 +01:00
Dan Brown
3734b0a37e
New translations editor.php (Spanish)
2022-07-24 15:39:46 +01:00
Dan Brown
4d72ac16a3
New translations entities.php (Spanish)
2022-07-24 15:39:46 +01:00
Dan Brown
29404f7e38
New translations entities.php (German Informal)
2022-07-24 12:39:49 +01:00
Dan Brown
a7252301c1
New translations entities.php (Dutch)
2022-07-24 12:39:48 +01:00
Dan Brown
0825dd17cf
New translations entities.php (Lithuanian)
2022-07-24 12:39:47 +01:00
Dan Brown
9dd51c7cff
New translations entities.php (Korean)
2022-07-24 12:39:46 +01:00
Dan Brown
854d2fe2dc
New translations entities.php (Japanese)
2022-07-24 12:39:45 +01:00
Dan Brown
27848cea75
New translations entities.php (Italian)
2022-07-24 12:39:44 +01:00
Dan Brown
d1d999a98a
New translations entities.php (Hungarian)
2022-07-24 12:39:43 +01:00
Dan Brown
5a6e171a7e
New translations entities.php (Hebrew)
2022-07-24 12:39:42 +01:00
Dan Brown
90ffa46331
New translations entities.php (Polish)
2022-07-24 12:39:42 +01:00
Dan Brown
957214b84b
New translations entities.php (Basque)
2022-07-24 12:39:41 +01:00
Dan Brown
a2bda11787
New translations entities.php (Czech)
2022-07-24 12:39:40 +01:00
Dan Brown
56204963e7
New translations entities.php (Catalan)
2022-07-24 12:39:39 +01:00
Dan Brown
ee579115b6
New translations entities.php (Bulgarian)
2022-07-24 12:39:38 +01:00
Dan Brown
d431141918
New translations entities.php (Arabic)
2022-07-24 12:39:37 +01:00
Dan Brown
4ff6b7fc51
New translations entities.php (Spanish)
2022-07-24 12:39:36 +01:00
Dan Brown
5d42f36a2b
New translations entities.php (French)
2022-07-24 12:39:35 +01:00
Dan Brown
fb3491092e
New translations entities.php (German)
2022-07-24 12:39:34 +01:00
Dan Brown
812c65fa3c
New translations entities.php (Danish)
2022-07-24 12:39:33 +01:00
Dan Brown
9b48ee90f0
New translations entities.php (Ukrainian)
2022-07-24 12:39:32 +01:00
Dan Brown
6ad6bcaf82
New translations entities.php (Russian)
2022-07-24 12:39:31 +01:00
Dan Brown
f4ef85d587
New translations entities.php (Slovenian)
2022-07-24 12:39:30 +01:00
Dan Brown
1c57223a2d
New translations entities.php (Norwegian Bokmal)
2022-07-24 12:39:29 +01:00
Dan Brown
a1a900035b
New translations entities.php (Uzbek)
2022-07-24 12:39:28 +01:00
Dan Brown
bc8d4c40da
New translations entities.php (Bosnian)
2022-07-24 12:39:28 +01:00
Dan Brown
cb91bd4933
New translations entities.php (Welsh)
2022-07-24 12:39:27 +01:00
Dan Brown
f336ce9119
New translations entities.php (Latvian)
2022-07-24 12:39:26 +01:00
Dan Brown
f9e040658d
New translations entities.php (Estonian)
2022-07-24 12:39:25 +01:00
Dan Brown
d1b9d62e40
New translations entities.php (Croatian)
2022-07-24 12:39:24 +01:00
Dan Brown
7e70c14a16
New translations entities.php (Slovak)
2022-07-24 12:39:23 +01:00
Dan Brown
1b7a1e847e
New translations entities.php (Spanish, Argentina)
2022-07-24 12:39:22 +01:00
Dan Brown
011178c302
New translations entities.php (Indonesian)
2022-07-24 12:39:21 +01:00
Dan Brown
e27b53fc6c
New translations entities.php (Portuguese, Brazilian)
2022-07-24 12:39:20 +01:00
Dan Brown
260c9d528f
New translations entities.php (Vietnamese)
2022-07-24 12:39:19 +01:00
Dan Brown
14b5c39e71
New translations entities.php (Chinese Traditional)
2022-07-24 12:39:18 +01:00
Dan Brown
4c1256f02a
New translations entities.php (Chinese Simplified)
2022-07-24 12:39:16 +01:00
Dan Brown
a7f7200478
New translations entities.php (Turkish)
2022-07-24 12:39:15 +01:00
Dan Brown
f2088d3a56
New translations entities.php (Swedish)
2022-07-24 12:39:14 +01:00
Dan Brown
affd8df594
New translations entities.php (Persian)
2022-07-24 12:39:13 +01:00
Dan Brown
bc40601d7d
New translations entities.php (Portuguese)
2022-07-24 12:39:12 +01:00
Dan Brown
da6169159d
Merge pull request #3591 from BookStackApp/shelf_books_enhancements
...
Improved shelf book management interface
2022-07-24 12:28:01 +01:00
Dan Brown
b0adb74d62
Improved shelf book management interface
...
- Added ability to search books list (Local simple text match).
- Added handles, hover-states and cursor states for better user
interaction and clearer use of drag & drop.
- Improved styles for dark mode.
- Converted shelf sort component to newer component format.
- Modernized shelf controller code a little.
Related to #3266
2022-07-24 12:23:25 +01:00
Dan Brown
f004cb69d7
New translations editor.php (French)
2022-07-23 19:12:14 +01:00
Dan Brown
975ba4f8d8
Added content-view body classes generated from tags
...
Included tests to cover.
Closes #3583
2022-07-23 18:29:04 +01:00
Dan Brown
468040edc4
New translations activities.php (Slovak)
2022-07-23 17:51:24 +01:00
Dan Brown
840a1ea011
Applied latest styleci changes
2022-07-23 15:11:06 +01:00
Dan Brown
72c8b138e1
Updated tests to use ssddanbrown/asserthtml package
...
Closes #3519
2022-07-23 15:10:18 +01:00
Dan Brown
cf73e5f2c6
Tweaked wording aroung the IP address precision option
2022-07-23 13:46:13 +01:00
Dan Brown
4e8995c3d0
Added ability to adjust stored IP address precision
...
Included tests to cover.
For #3560
2022-07-23 13:41:29 +01:00
Dan Brown
67d12cc1df
Fixed failing license test
2022-07-23 12:08:55 +01:00
Dan Brown
7931ab1b91
New translations editor.php (German Informal)
2022-07-23 11:43:10 +01:00
Dan Brown
137beb4002
New translations editor.php (Polish)
2022-07-23 11:43:09 +01:00
Dan Brown
2354ce49ba
New translations editor.php (Dutch)
2022-07-23 11:43:08 +01:00
Dan Brown
d0925e0e91
New translations editor.php (Lithuanian)
2022-07-23 11:43:07 +01:00
Dan Brown
69473d28f3
New translations editor.php (Korean)
2022-07-23 11:43:06 +01:00
Dan Brown
11cf9fd832
New translations editor.php (Japanese)
2022-07-23 11:43:06 +01:00
Dan Brown
c89865b574
New translations editor.php (Italian)
2022-07-23 11:43:05 +01:00
Dan Brown
8a1fb300fe
New translations editor.php (Hungarian)
2022-07-23 11:43:04 +01:00
Dan Brown
8c4ed9e0b7
New translations editor.php (Portuguese)
2022-07-23 11:43:03 +01:00
Dan Brown
c4f3a71652
New translations editor.php (Hebrew)
2022-07-23 11:43:02 +01:00
Dan Brown
c5259d0195
New translations editor.php (German)
2022-07-23 11:43:01 +01:00
Dan Brown
3899b44622
New translations editor.php (Danish)
2022-07-23 11:43:00 +01:00
Dan Brown
58057855f8
New translations editor.php (Czech)
2022-07-23 11:42:59 +01:00
Dan Brown
4cdaa1ad99
New translations editor.php (Catalan)
2022-07-23 11:42:58 +01:00
Dan Brown
c737fa8a6b
New translations editor.php (Bulgarian)
2022-07-23 11:42:58 +01:00
Dan Brown
c5a0b99d20
New translations editor.php (Arabic)
2022-07-23 11:42:57 +01:00
Dan Brown
554d706468
New translations editor.php (Spanish)
2022-07-23 11:42:56 +01:00
Dan Brown
4591583deb
New translations editor.php (Basque)
2022-07-23 11:42:55 +01:00
Dan Brown
05f9f8f969
New translations editor.php (French)
2022-07-23 11:42:54 +01:00
Dan Brown
1f7f26bd29
New translations editor.php (Russian)
2022-07-23 11:42:53 +01:00
Dan Brown
1e028f51eb
New translations editor.php (Slovenian)
2022-07-23 11:42:52 +01:00
Dan Brown
7389b33980
New translations editor.php (Norwegian Bokmal)
2022-07-23 11:42:52 +01:00
Dan Brown
70fccfd8d3
New translations editor.php (Uzbek)
2022-07-23 11:42:51 +01:00
Dan Brown
9ccee6707d
New translations editor.php (Bosnian)
2022-07-23 11:42:50 +01:00
Dan Brown
2de804950b
New translations editor.php (Welsh)
2022-07-23 11:42:49 +01:00
Dan Brown
e4e130a5da
New translations editor.php (Latvian)
2022-07-23 11:42:48 +01:00
Dan Brown
3101d76726
New translations editor.php (Estonian)
2022-07-23 11:42:47 +01:00
Dan Brown
694da007b6
New translations editor.php (Croatian)
2022-07-23 11:42:46 +01:00
Dan Brown
ea2aa626a9
New translations editor.php (Slovak)
2022-07-23 11:42:45 +01:00
Dan Brown
9ab485093e
New translations editor.php (Spanish, Argentina)
2022-07-23 11:42:44 +01:00
Dan Brown
93d9c77595
New translations editor.php (Indonesian)
2022-07-23 11:42:43 +01:00
Dan Brown
71e760e345
New translations editor.php (Portuguese, Brazilian)
2022-07-23 11:42:43 +01:00
Dan Brown
34d15230dc
New translations editor.php (Vietnamese)
2022-07-23 11:42:42 +01:00
Dan Brown
af5517ad59
New translations editor.php (Chinese Traditional)
2022-07-23 11:42:41 +01:00
Dan Brown
002b093e82
New translations editor.php (Ukrainian)
2022-07-23 11:42:40 +01:00
Dan Brown
2e9000b18c
New translations editor.php (Turkish)
2022-07-23 11:42:39 +01:00
Dan Brown
b24f5b7392
New translations editor.php (Swedish)
2022-07-23 11:42:38 +01:00
Dan Brown
3caf308f6b
New translations editor.php (Persian)
2022-07-23 11:42:37 +01:00
Dan Brown
e01baac15d
New translations editor.php (Chinese Simplified)
2022-07-23 11:42:36 +01:00
Dan Brown
f573e09004
Applied styleci changes, updated dev version & readme roadmap
2022-07-23 11:36:37 +01:00
Dan Brown
f4dd38ea94
Merge pull request #3580 from BookStackApp/tinymce6
...
TinyMCE6 update
2022-07-23 11:33:51 +01:00
Dan Brown
aad22384cb
Enabled modern tinymce table features
2022-07-23 11:32:26 +01:00
Dan Brown
8176ca153a
Fixed blue wyswiyg toolbar in dark mode
2022-07-23 11:22:34 +01:00
Dan Brown
f86bb27a83
Ensured wysiwyg details contents are wrapped in block elements
...
Fixes issue where inline-only content would disappear when unwrapping a
details block element.
2022-07-23 11:18:03 +01:00
Dan Brown
a9ee2e6889
Removed toolbar dialog background line
2022-07-23 10:43:47 +01:00
Dan Brown
d9f0c9eee8
New translations entities.php (French)
2022-07-20 08:32:06 +01:00
Dan Brown
7b508dac3d
New translations editor.php (Chinese Simplified)
2022-07-18 18:51:48 +01:00
Dan Brown
3ca64da4a5
New translations entities.php (Italian)
2022-07-18 15:55:46 +01:00
Dan Brown
6a6f00058f
Added back in image options context toolbar item
2022-07-18 13:37:50 +01:00
Dan Brown
cd929b2555
Made a bunch of tinymce 6 upgrade fixes
...
- Added workaround for new 'srcdoc' usage that's breaking content in
Firefox, added new 'custom-changes.md' file to document for future.
- Updated old usages of 'new' when creating nodes.
- Tested and changed logic, where required, where 'editor.dom.select'
has been used to replace the old '$' usages.
- Fixed bad boolean value being passed to 'setActive' in task list
logic.
2022-07-18 13:18:46 +01:00
Dan Brown
400e584911
New translations activities.php (Norwegian Bokmal)
2022-07-18 10:54:22 +01:00
Dan Brown
9c90e798df
New translations entities.php (Spanish)
2022-07-17 23:19:49 +01:00
Dan Brown
c519f707e8
Started upgrade to TinyMCE6, Untested
...
- Merged in latest TinyMCE code.
- Gone through tinymce upgrade guide, made required config changes.
- Altered license references.
2022-07-17 18:33:03 +01:00
Dan Brown
e024b03a61
New translations entities.php (Chinese Simplified)
2022-07-17 17:19:51 +01:00
Dan Brown
d9e9c1735a
Merge pull request #3579 from BookStackApp/dompdf_and_php_deps
...
Updated DOMPDF, and other PHP dependancies
2022-07-17 14:40:19 +01:00
Dan Brown
56da25b07a
Fixed failing tests from dompdf chanages
2022-07-17 14:32:09 +01:00
Dan Brown
24f4febcd5
Updated DOMPDF, and other PHP dependancies
2022-07-17 14:01:59 +01:00
Dan Brown
5f5b6ff0be
Added "ACTIVITY_LOGGED" theme event
...
Closes #3572
2022-07-17 13:28:56 +01:00
Dan Brown
8f9923c7c1
Re-ordered theme events to be alphabetical
2022-07-17 13:08:44 +01:00
Dan Brown
7be7caacd5
New translations entities.php (German Informal)
2022-07-17 10:50:26 +01:00
Dan Brown
bcd06c1d56
New translations entities.php (Chinese Simplified)
2022-07-17 10:50:26 +01:00
Dan Brown
e01a0e61d9
New translations entities.php (Chinese Traditional)
2022-07-17 10:50:24 +01:00
Dan Brown
f0049e346b
New translations entities.php (Portuguese, Brazilian)
2022-07-17 10:50:24 +01:00
Dan Brown
b7f84171c6
New translations entities.php (Indonesian)
2022-07-17 10:50:23 +01:00
Dan Brown
cb5b4392f4
New translations entities.php (Persian)
2022-07-17 10:50:22 +01:00
Dan Brown
4eb76699a9
New translations entities.php (Spanish, Argentina)
2022-07-17 10:50:21 +01:00
Dan Brown
a48a1d80ae
New translations entities.php (Croatian)
2022-07-17 10:50:20 +01:00
Dan Brown
b3b8da0fe7
New translations entities.php (Vietnamese)
2022-07-17 10:50:19 +01:00
Dan Brown
a2440e20bc
New translations entities.php (Latvian)
2022-07-17 10:50:18 +01:00
Dan Brown
f3f72fde6b
New translations entities.php (Welsh)
2022-07-17 10:50:17 +01:00
Dan Brown
9023487d99
New translations entities.php (Bosnian)
2022-07-17 10:50:16 +01:00
Dan Brown
d77c0d3ddd
New translations entities.php (Uzbek)
2022-07-17 10:50:15 +01:00
Dan Brown
cffa0a0cf3
New translations entities.php (Norwegian Bokmal)
2022-07-17 10:50:14 +01:00
Dan Brown
7b4e36eb38
New translations entities.php (Estonian)
2022-07-17 10:50:13 +01:00
Dan Brown
f3eb7c4208
New translations entities.php (Basque)
2022-07-17 10:50:12 +01:00
Dan Brown
2fcb0b6db2
New translations entities.php (Danish)
2022-07-17 10:50:11 +01:00
Dan Brown
ea0ac2a853
New translations entities.php (Czech)
2022-07-17 10:50:10 +01:00
Dan Brown
76049f0cdb
New translations entities.php (Catalan)
2022-07-17 10:50:09 +01:00
Dan Brown
0143fe88d3
New translations entities.php (Bulgarian)
2022-07-17 10:50:08 +01:00
Dan Brown
0b89642610
New translations entities.php (Spanish)
2022-07-17 10:50:07 +01:00
Dan Brown
bc8d2d8209
New translations entities.php (French)
2022-07-17 10:50:06 +01:00
Dan Brown
f832a9545e
New translations entities.php (German)
2022-07-17 10:50:05 +01:00
Dan Brown
aad2f54c15
New translations entities.php (Hebrew)
2022-07-17 10:50:04 +01:00
Dan Brown
0cd44a6e7d
New translations entities.php (Arabic)
2022-07-17 10:50:03 +01:00
Dan Brown
79e386f457
New translations entities.php (Hungarian)
2022-07-17 10:50:02 +01:00
Dan Brown
387b6620e4
New translations entities.php (Russian)
2022-07-17 10:50:01 +01:00
Dan Brown
d76bdbc976
New translations entities.php (Japanese)
2022-07-17 10:50:00 +01:00
Dan Brown
89de7a60c6
New translations entities.php (Korean)
2022-07-17 10:49:59 +01:00
Dan Brown
42c6179350
New translations entities.php (Lithuanian)
2022-07-17 10:49:58 +01:00
Dan Brown
01c2c92710
New translations entities.php (Dutch)
2022-07-17 10:49:57 +01:00
Dan Brown
4b770ee2dc
New translations entities.php (Polish)
2022-07-17 10:49:56 +01:00
Dan Brown
c47997bbb7
New translations entities.php (Ukrainian)
2022-07-17 10:49:55 +01:00
Dan Brown
9d78af2c1d
New translations entities.php (Slovak)
2022-07-17 10:49:54 +01:00
Dan Brown
a8d933753e
New translations entities.php (Slovenian)
2022-07-17 10:49:53 +01:00
Dan Brown
2853feb9c4
New translations entities.php (Swedish)
2022-07-17 10:49:52 +01:00
Dan Brown
86e7386db9
New translations entities.php (Turkish)
2022-07-17 10:49:52 +01:00
Dan Brown
ce9a788fb9
New translations entities.php (Italian)
2022-07-17 10:49:51 +01:00
Dan Brown
6b8083244d
New translations entities.php (Portuguese)
2022-07-17 10:49:50 +01:00
Dan Brown
94bf7e2e0c
Merge pull request #3569 from BookStackApp/permissions_v2
...
Permissions System Refactor
2022-07-17 10:36:33 +01:00
Dan Brown
9cf05944f6
Applied StyleCI changes
2022-07-17 10:32:16 +01:00
Dan Brown
e6e6d25974
Removed test web route, extracted text, added test
2022-07-17 10:18:24 +01:00
Dan Brown
8f90996cef
Dropped use of non-view joint permissions
2022-07-16 21:50:42 +01:00
Dan Brown
2332401854
Fixed a couple of non-intended logical permission issues
...
Both caught in tests:
Fixed loss of permissions for admin users when entity restrictions were
active, since there are no entity-restrictions for the admin role but
we'd force generate them in joint permissions, which would be queried.
Fixed new role permission checks when permissions given with only the
action (eg. 'view'), since the type prefix would be required for role
permission checks. Was previously not needed as only the simpler form
was used in the jointpermissions after merge & calculation.
2022-07-16 20:55:32 +01:00
Dan Brown
afe1a04239
Aligned permission applicator method names
...
Also removed lesser used function, that was mostly a duplicate of an
existing function, and only used for search.
2022-07-16 19:54:25 +01:00
Dan Brown
f459a68535
Removed remaining dynamic action usages in joint permission queries
2022-07-16 19:28:04 +01:00
Dan Brown
1d875ccfb7
Continued removal of joint permission non-view queries
...
Cleaned up PermissionApplicator to remove old cache system which was
hardly ever actuall caching anything since it was reset after each
public method run.
Changed the scope of 'userCanOnAny' to just check entity permissions,
and added protections of action scope creep, in case a role permission
action was passed by mistake.
2022-07-16 13:17:08 +01:00
Dan Brown
2b4b7c68cc
New translations entities.php (German)
2022-07-15 08:45:23 +01:00
Dan Brown
ad8d8dde2d
New translations entities.php (German)
2022-07-15 07:39:07 +01:00
Dan Brown
23f9b4d217
New translations auth.php (German)
2022-07-15 07:39:06 +01:00
Dan Brown
bfbd0fc168
New translations activities.php (German)
2022-07-14 23:50:40 +01:00
Dan Brown
77b57c068f
New translations activities.php (German)
2022-07-14 22:50:28 +01:00
Dan Brown
40d939394b
Merge pull request #3573 from BookStackApp/m1_docker_support
...
M1/Apple Silicon dev docker compatibility
2022-07-14 11:03:25 +01:00
Dan Brown
7e04f70bf3
Tweaked docker dev container to work with m1 apple silicon
...
Tested on m1 macbook, needs testing on amd64
2022-07-14 01:34:57 +01:00
Dan Brown
4fb85a9a5c
Started removal of non-view permission queries
...
Updated ajax search and entity selector usage to display and handle
items that the user does not have permission to interact with.
Started logic changes to not allow permission type to be passed around,
with views instead being the fixed sole permission.
2022-07-13 15:23:03 +01:00
Jan Koid
55dc86037f
Fixed some typos and corrected grammar.
2022-07-12 23:05:44 +02:00
Dan Brown
2989852520
Added simple data model for faster permission generation
2022-07-12 21:13:02 +01:00
Dan Brown
4daac5a114
New translations auth.php (Croatian)
2022-07-12 21:07:49 +01:00
Dan Brown
82baab66cc
New translations activities.php (Croatian)
2022-07-12 21:07:48 +01:00
Dan Brown
b0a4d3d059
Renamed and cleaned up existing permission service classes use
2022-07-12 20:15:41 +01:00
Dan Brown
943cb7810b
New translations activities.php (Croatian)
2022-07-12 20:02:15 +01:00
Dan Brown
2d4f708c79
Extracted permission building out of permission service
2022-07-12 19:38:11 +01:00
Dan Brown
376640db25
New translations settings.php (Portuguese)
2022-07-12 13:03:52 +01:00
Dan Brown
9cfded1311
New translations common.php (Portuguese)
2022-07-12 13:03:51 +01:00
Dan Brown
dde2ea743f
New translations auth.php (Portuguese)
2022-07-12 13:03:50 +01:00
Dan Brown
ddd45dde6b
New translations entities.php (Portuguese)
2022-07-12 13:03:49 +01:00
Dan Brown
a99cbcfe12
New translations activities.php (Portuguese)
2022-07-12 13:03:47 +01:00
Dan Brown
c5e9dfa168
Optimized pre-joint-permission logic efficiency
2022-07-10 13:45:04 +01:00
mcgong
83d2a3c763
Fixed comment count update error
2022-07-06 17:30:46 +08:00
Dan Brown
f3d7d06536
New translations activities.php (Polish)
2022-07-05 19:10:04 +01:00
Dan Brown
bd1971c827
New translations editor.php (Ukrainian)
2022-07-05 14:30:15 +01:00
Dan Brown
61b3bc10a3
New translations common.php (Ukrainian)
2022-07-05 14:30:14 +01:00
Dan Brown
1a224e1719
New translations auth.php (Ukrainian)
2022-07-05 14:30:13 +01:00
Dan Brown
e89348b02a
New translations entities.php (Ukrainian)
2022-07-05 14:30:12 +01:00
Dan Brown
451300606f
New translations activities.php (Ukrainian)
2022-07-05 14:30:10 +01:00
Dan Brown
459659a680
New translations entities.php (Dutch)
2022-07-02 22:09:56 +01:00
Dan Brown
4487ea576f
New translations common.php (Dutch)
2022-07-02 22:09:55 +01:00
Dan Brown
0c8bd581ae
New translations auth.php (Dutch)
2022-07-02 21:05:42 +01:00
Dan Brown
f9f4a87e1b
New translations entities.php (Dutch)
2022-07-02 21:05:41 +01:00
Dan Brown
f4fda8d80c
New translations activities.php (Dutch)
2022-07-02 21:05:40 +01:00
Dan Brown
6d66682620
New translations entities.php (German)
2022-06-30 09:36:18 +01:00
Dan Brown
ab52f3367a
New translations editor.php (Russian)
2022-06-29 15:26:03 +01:00
Dan Brown
5ee79d16c9
Updated version and assets for release v22.06.2
2022-06-28 11:57:37 +01:00
Dan Brown
a1ea4006e0
Merge branch 'development' into release
2022-06-28 11:57:24 +01:00
Dan Brown
a721405202
New Crowdin updates ( #3540 )
2022-06-28 11:56:07 +01:00
Dan Brown
d20aacb732
Merge branch '3535-group-sync-fix' into development
2022-06-28 11:47:22 +01:00
Dan Brown
65fa96e405
New Crowdin updates ( #3531 )
2022-06-27 14:29:10 +01:00
Dan Brown
736d6afb7d
Aligned entity-selector-popup button and dblclick behaviour
...
Fixes #3534
2022-06-27 14:27:29 +01:00
Dan Brown
0bcd1795cb
Auth group sync: Fixed unintential mapping behaviour change
...
Due to change in how casing was handled when used in the "External Auth
ID" role field.
Likely related to #3535 .
Added test to cover.
2022-06-27 14:18:46 +01:00
Dan Brown
47887ec595
Added path example to visual theme system
2022-06-27 13:38:51 +01:00
Dan Brown
9078188939
Updated version and assets for release v22.06.1
2022-06-25 14:33:07 +01:00
Dan Brown
ed0aad1a7a
Merge branch 'development' into release
2022-06-25 14:32:49 +01:00
Dan Brown
43749cd94e
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2022-06-25 14:27:46 +01:00
Dan Brown
107df6c28f
Applied StyleCI changes
2022-06-25 14:27:32 +01:00
Dan Brown
c1d1ec5b89
New Crowdin updates ( #3526 )
2022-06-25 14:26:40 +01:00
Dan Brown
12c282597d
Fixed non-translated category strings
...
For #3529
2022-06-25 14:24:38 +01:00
Dan Brown
c9d0e22132
Updated entity-selector-popup to reset on selection
...
Better links the core selector component to the popup version, with new
public methods for direct controlling.
For #3528
2022-06-25 14:13:17 +01:00
Dan Brown
0801955a26
Fixed grid layouts being pushed out by child content
...
Ran a quick app run-thorugh in FireFox & Chrome, No secondary affects
immediately noticed but possible this could cause changes elsewhere due
to wide-spread grid item child targeting.
For #3523
2022-06-25 13:55:57 +01:00
Dan Brown
3ed1ffdbeb
Fixed issue blocking tags on book update
...
For #3527
2022-06-25 13:46:55 +01:00
Dan Brown
5c59cfb020
Updated version and assets for release v22.06
2022-06-24 11:50:56 +01:00
Dan Brown
3ca15ad68a
Merge branch 'development' into release
2022-06-24 11:45:29 +01:00
Dan Brown
36f0a68f1b
Added missing welsh locale to config
2022-06-24 11:42:38 +01:00
Dan Brown
ed981cbab1
New Crowdin updates ( #3428 )
2022-06-24 11:35:59 +01:00
Dan Brown
f69af8933c
Updated translator list before v22.06 release
2022-06-24 11:30:15 +01:00
Dan Brown
46d71a181e
Updated php deps and applied styleci changes
2022-06-22 12:49:58 +01:00
Dan Brown
8d8da31fdd
Added base template convenience partials for theme system users
...
Included test to cover usage and paths.
Closes #894
2022-06-22 12:47:31 +01:00
Dan Brown
0d9b5a9d90
Merge branch 'login-auto-redirect' into development
2022-06-21 15:38:01 +01:00
Dan Brown
8b211ed461
Review and update of login auto initiation PR
...
For PR #3406
- Updated naming from 'redirect' to 'initate/initation'.
- Updated phpunit.xml and .env.example.complete files with the new
option.
- Cleaned up controller logic a bit.
- Added content and design to the new initation view to not leave user
on a blank view for a while.
- Added non-JS button to initiation view as fallback option for
progression.
- Moved new test to it's own Test class and expanded with additional
scenario tests for better functionality coverage.
2022-06-21 15:32:18 +01:00
Dan Brown
9dd69b04b8
Fixed code snippets being added as single line
...
TinyMCE was adding attributes to <br> elements within code blocks which
would then not be converted to newlines by our code regex match.
This changes the conversion to use dom querying instead.
Fixes #3507
2022-06-21 12:01:06 +01:00
Dan Brown
0c6f598d91
Fixed issue where text after line breaks not indexed
...
Linebreaks would previously essentially be removed during index and
hence joined to adjacent words, breaking prefix matching.
Added test to cover.
For #3508
2022-06-20 23:47:42 +01:00
Dan Brown
df94b73e29
Merge pull request #3512 from BookStackApp/code_manager_updates
...
WYSIWYG Code Editor Updates
2022-06-20 23:13:28 +01:00
Dan Brown
7d4b941abf
Added code editor changes mobile design handling
2022-06-20 23:12:07 +01:00
Dan Brown
d181106df3
Adjusted code manager changes for dark mode
2022-06-20 23:06:54 +01:00
Dan Brown
75110813e6
Aligned other popup windows
...
Primary change was altering image-manager to use same footer bar style
as other windows.
2022-06-20 23:02:06 +01:00
Dan Brown
1e41546e51
Updated code editor language lists
...
To align and update supported languages.
Related to #3511 and #3494
2022-06-20 17:49:56 +01:00
Dan Brown
f39b565a1c
Tweaked code editor sidebar side to be smaller
2022-06-20 17:16:28 +01:00
Dan Brown
77cd550fae
Polished up code editor design
2022-06-20 17:11:34 +01:00
Dan Brown
96d9077479
Started design changes to the code-editor
2022-06-20 13:42:12 +01:00
Dan Brown
be1d691529
Merge pull request #3499 from BookStackApp/convert_hierachy
...
Chapter and Book Conversion Actions
2022-06-20 12:51:13 +01:00
Dan Brown
8cde362f6f
Removed bad trailing comma in method
2022-06-19 18:45:48 +01:00
Dan Brown
388343aeb0
Fixed failing tests after conversion changes
2022-06-19 18:44:34 +01:00
Dan Brown
ba25dda031
Applied styleci changes for conversion work
2022-06-19 18:14:53 +01:00
Dan Brown
85f59b5275
Added tests for content conversion action permissions
...
- Updated 'removePermissionFromUser' test helper to work for
entity-permissions that become part of the joint permissions system.
2022-06-19 18:12:36 +01:00
Dan Brown
65d4505079
Added tests and doc updates for shelf/book cover image API abilities
2022-06-19 17:26:23 +01:00
Dan Brown
663f81a2b1
Added tests to cover convert functionality
...
Also updated cloner class with typed properties.
2022-06-19 16:57:33 +01:00
Dan Brown
f145ffc930
Extracted conversion text to translation file
2022-06-19 16:23:18 +01:00
Dan Brown
19d7e26dda
Merge pull request #3503 from andrii-bodnar/fix/crowdin-name
...
Fix Crowdin name in the language_request issue template
2022-06-16 12:07:40 +01:00
Andrii Bodnar
a13b9d8d14
Fix Crowdin name in the language_request issue template
2022-06-16 11:34:27 +03:00
Dan Brown
8c67011a1d
Got book to shelf conversions working
...
- Also extracted shelf to book view elements to own partial.
- Fixed some existing logic including image param handling in update
request and activity logging against correct element.
2022-06-15 15:05:08 +01:00
Dan Brown
8da856bac3
Got chapter conversion to books working
...
- Added required UI within edit view.
- Added required routes and controller actions.
2022-06-14 16:42:29 +01:00
Dan Brown
90ec40691a
Added clone of entity permissions on chapter/book promotion
2022-06-14 15:55:44 +01:00
Dan Brown
d676e1e824
Started work on hierachy conversion actions
...
- Updates book/shelf cover image handling for easier cloning/handling.
- Adds core logic for promoting books/chapters up a level.
- Enables usage of book/shelf cover image via API.
Related to #1087
2022-06-13 17:20:21 +01:00
Dan Brown
0a05119aa5
Applied styleci changes, updated composer deps
2022-06-10 12:37:14 +01:00
Dan Brown
abc283fc64
Extracted download response logic to its own class
...
Cleans up base controller and groups up download & streaming logic for
potential future easier addition of range request support.
2022-06-08 23:50:42 +01:00
Dan Brown
e72ade727d
Added audio mimes to our safe list for inline serving
...
Closes #3485
2022-06-08 22:30:55 +01:00
Dan Brown
c8b123bfac
Updated composer deps, applied styleci changes
2022-06-08 18:00:30 +01:00
Dan Brown
88012449f3
Reorganised and split out export templates & styles
...
Moved export templates elements into their own folder for better
grouping of logical usage.
Within the base export template, added some body classes to allow easier
targeted customisation via custom head css.
Split content of export templates into smaller partials for easier
future customization.
Closes #3443
2022-06-08 17:56:59 +01:00
Dan Brown
e00d88f45d
Updated markdown preview to update on diff-basis
...
Uses vdom system to diff and update the current markdown preview view
instead of requiring a full HTML replace change.
This should provide better performance, expecially where dynamically
loaded content such as iframes were in use.
Closes #3454
2022-06-07 16:07:28 +01:00
Dan Brown
3fe666f36a
Updated image drop handling to respect original file name
...
Now uses the previously timestamp gen name as a backup to the original
name. Aligns with the image manager upload which uses the original name
where given.
Closes #3470
2022-06-07 14:59:00 +01:00
Dan Brown
3f271ebecb
Removed image_id property from books & shelves api docs
...
This was either not provided or not provided for the last 18 months.
Likely not providing much value as-is so removing.
Closes #3474
2022-06-07 14:30:43 +01:00
Dan Brown
7c597a05f6
Added codeblock latex/stext support
...
For #3458
2022-05-30 18:41:40 +01:00
Dan Brown
16e023985d
Prevented inadvertant logging during MFA flow
...
- Added StoppedAuthenticationException to dontReport list.
- Added test to cover.
Closes #3468
2022-05-30 18:31:08 +01:00
Dan Brown
43cbab2822
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2022-05-30 17:01:46 +01:00
Dan Brown
1a3505c899
Updated JS deps
2022-05-30 17:01:32 +01:00
Dan Brown
2930025f51
Update dev version to track current release target
2022-05-30 16:58:01 +01:00
Dan Brown
39fcf3a68f
Merge pull request #3416 from BookStackApp/group_sync_comma_escaping
...
Added ability to escape role "External Auth ID" commas
2022-05-30 16:55:32 +01:00
Dan Brown
6ce34fe6cc
Merge pull request #3433 from BookStackApp/tiny_improvements
...
Bunch of tiny improvements
2022-05-30 16:51:59 +01:00
Dan Brown
3c3aed58aa
Updated funding with kofi link
2022-05-30 16:49:24 +01:00
Dan Brown
73f36b279e
Updated PHP deps
2022-05-30 16:46:48 +01:00
Dan Brown
2b817e7d24
Updated attachment links to have dropdown for open type
...
- Allows easier accessibility of inline attachments.
- Introduces a new split-icon-list-item thingy to support such cases
where only part of the button is actually linked.
2022-05-19 17:38:04 +01:00
Dan Brown
cb10ad804f
Made chapter toggle in book sidebar nav more consistent
...
- Now has a hover state to match other items.
- Now spans the full sidebar with like other items.
- Also updated chapter-toggle to a chapter-contents component, following
the newer component system.
2022-05-18 14:06:40 +01:00
Dan Brown
eeccc2ef10
Readjusted book child item styles after other changes
...
Was extra space showing due to structure changes and flex gap.
2022-05-18 13:28:34 +01:00
Dan Brown
b030c1398b
Tweaked chapter list item styles
...
- Improves animation smoothness
- Changed animation slideup/down animations to use max-height instead of height
to better avoid jutter at the end.
- Cleaned spacing to match page items in books listing.
2022-05-18 13:18:21 +01:00
Dan Brown
4759fa1e1f
Made the "Custom HTML Head Content" setting a highlighted code editor
2022-05-17 17:39:31 +01:00
Dan Brown
cb1c2db282
Aligned collapsed header dropdown item styles
...
Previously the desktop-visible items would style different when collapsed
into the expanded dropdown menu, compared to existing items.
2022-05-17 14:27:58 +01:00
Dan Brown
4866a3a198
Refined header bar styles
...
- Updated many items to be flexbox-based.
- Updated & aligned hover states across header bar items.
2022-05-17 14:16:43 +01:00
Dan Brown
340c9ec7a1
Fixed some inputs affected by height changes
2022-05-17 13:37:43 +01:00
Dan Brown
49498cfaf9
Fixed entity-specific tag counts listing
...
Was reporting wrong due to use of old polymorphic namespace references.
Test was not picking up as assertElementContains had wider scope than
expected, looking within the HTML of the element instead of the text
which you might expect. Updated test helper to look at text instead.
2022-05-16 14:05:21 +01:00
Dan Brown
3a4aa81115
Removed dialog debug script from default home
...
Accidentally left in from before.
Closes #3430
2022-05-16 13:36:42 +01:00
Dan Brown
d20c74babf
Improved input size consistency
...
Specifically updates dropdown search and user-search implementation,
although does affect all inputs.
Decouples breadcrum and select-style dropdown search toggles.
Addresses #2678
2022-05-14 16:05:29 +01:00
Dan Brown
9fda0df798
Updated dropdown search boxe positions to align with other dropdowns
2022-05-14 14:19:54 +01:00
Dan Brown
6fa699a835
Fixed skip-to-content link shadow being slightly visible
...
Would cause a slight dark area in top left of view while hidden.
2022-05-14 13:59:10 +01:00
Dan Brown
78920d7d65
Updated tri-layout sidebars to not be cut-off by padding
...
Would cause effect where scroll area would be cut of by spacing which
looked a bit strange. This retains the same padding sizes but cuts the
content at the header or top of viewport.
2022-05-14 13:55:03 +01:00
Dan Brown
35a47a273b
Added animation transition for breadcrumb dropdown load
...
Animates the height on breadcrumb dropdown menus to transition to the
loaded animations quicker. Includes a new animation helper for doing
similar tasks in future.
2022-05-14 13:32:25 +01:00
Dan Brown
89dfa43e73
Fixed loading animation delay
...
Loading animation would show in an unready state due to animation-delay
on components. Updated to a negative delay to ensure elements were in
correct positions right away upon show.
2022-05-14 13:31:24 +01:00
Dan Brown
2c74dfd1d4
Updated breadcrumb dropdown styles, improved keyboard nav
...
- Removed harsh theme color border between search and content.
- Prevented intermediate focus on list container to align arrow & tab
behaviour, and to get to content quicker.
2022-05-14 13:11:48 +01:00
Dan Brown
e6864a9cff
Improved card list design
...
- Removed border and rounded list item styles to make hover states have
less edge detail and to align with other UI elements.
- In expanded-detail view, removed space used for entity description if
there is not description content existing.
2022-05-14 12:54:23 +01:00
Dan Brown
60e319c4b4
Tidied up book navigation styles
...
- Removed background track line since it would darken entity item bars.
- Updated item spacing to be a bit tighter.
- Updated action hover styles to be a bit lighter, and visible on dark
mode, to fit rest of system.
2022-05-13 18:34:47 +01:00
Dan Brown
24b31b624c
Cleaned up entity details listing
2022-05-13 18:03:43 +01:00
Dan Brown
a0fe6147d8
Improved the display of dropdown menus
...
- Tweaked styling to add a little extra shadow and be more rounded to
match other UI areas.
- Added slight horizontal inset when in right sidebar to prevent shadow
being cut-off in most cases.
- Added logic to "drop upwards" if dropping down would take the menu
offscreen.
2022-05-13 17:12:45 +01:00
Dan Brown
221d910ff2
Reduced excess margin in chapter contents lists
2022-05-12 17:27:57 +01:00
Dan Brown
bef2045df1
Embedded css sources for easier firefox dev work
2022-05-12 17:27:29 +01:00
Dan Brown
f021823287
Updated default value for secure session detection
...
Updated default value for APP_URL so that the startsWith call is not
passed null, since that causes deprecation notice in PHP8.1.
Would show when APP_URL was not set, adding extra confusiion.
2022-05-11 16:47:09 +01:00
Dan Brown
60014989f5
Updated version and assets for release v22.04.2
2022-05-09 16:10:16 +01:00
Dan Brown
57b10f195e
Merge branch 'development' into release
2022-05-09 16:09:54 +01:00
Dan Brown
3a8a476906
Updated translators, applied styleCI change
2022-05-09 16:09:31 +01:00
Dan Brown
328bc88f02
Fixed LDAP_DUMP_* options when data contains binary
...
Dumping details that were binary, such as the jpegphoto data, would
cause the dump to fail on the encoding to JSON.
This change forces content to be UTF8 before dumping.
Updated existing test to cover.
Closes #3396
2022-05-09 15:57:50 +01:00
Dan Brown
2a99e23e6d
Updated attachment download to check OB before cleaning it
...
Call to `ob_end_clean` would error if the environment did not use the
PHP `output_buffering` option. This adds an additional check and updates
the comment to be more specific to the exact scenario of the condition.
Tested with output_buffering=Off and output_buffering=4096
Closes #3415
2022-05-09 15:25:06 +01:00
Dan Brown
b855bbaaea
New Crowdin updates ( #3418 )
2022-05-09 15:15:35 +01:00
Dan Brown
96436839f1
Added rate limit section to the API docs
...
Closes #3423
2022-05-09 15:12:29 +01:00
Dan Brown
b4f29a85ab
Added Farsi language available
...
Closes #3426
2022-05-09 14:58:04 +01:00
Dan Brown
4a2a044f3d
Updated PHP deps
2022-05-09 14:57:34 +01:00
Dan Brown
ca09ed916f
Added support plans link to issue links
2022-05-05 15:48:27 +01:00
Dan Brown
dbefda055f
Updated method of string interpolation
...
In prep for future PHP changes as per RFC
https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
2022-05-05 09:33:25 +01:00
Dan Brown
b1e95eb39f
Updated version and assets for release v22.04.1
2022-05-04 21:26:58 +01:00
Dan Brown
b3da77b8f9
Merge branch 'development' into release
2022-05-04 21:26:31 +01:00
Dan Brown
93ef8c97b6
Applied styleci changes
2022-05-04 21:19:46 +01:00
Dan Brown
420b29f32f
New Crowdin updates ( #3402 )
2022-05-04 21:18:47 +01:00
Dan Brown
d795af04df
Added ability to escape role "External Auth ID" commas
...
- Using a backslash in this field before a comma.
- Could potentially (Although unlikely) be a breaking change.
For #3405
2022-05-04 21:03:13 +01:00
Dan Brown
d2ed98d20d
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2022-05-04 21:01:20 +01:00
Dan Brown
ebc69a8f2c
Fixed double path slash URL issue in some cases
...
- Occurred on system request path usage (Primarily on guest login
redirection) when a custom path was not in use.
- Added test to cover.
For #3404
2022-05-04 20:08:22 +01:00
Robert Meredith
d5ce6b680c
Skip intermediate login page with single provider
2022-05-02 20:35:11 +10:00
Dan Brown
1a345b74bb
Updated version and assets for release v22.04
2022-04-29 15:55:32 +01:00
Dan Brown
8ffc3a4abf
Merge branch 'development' into release
2022-04-29 15:55:05 +01:00
Dan Brown
44013721f0
New Crowdin updates ( #3401 )
2022-04-29 15:53:06 +01:00
Dan Brown
16222de5fa
Added uzbeck into local list
...
Not yet an actual added language yet due to low translation rate.
2022-04-29 15:52:11 +01:00
Dan Brown
ebfe946160
Updated translation attribution before v22.04
2022-04-29 15:43:30 +01:00
Dan Brown
5d2aad6a9e
Merge pull request #3373 from evandroamaro/patch-1
...
Tiny header
2022-04-29 15:41:04 +01:00
Dan Brown
8fb016d1bf
New Crowdin updates ( #3384 )
2022-04-29 15:40:38 +01:00
Dan Brown
c216a6a210
Applied stylci changes, updated composer deps
2022-04-29 15:38:06 +01:00
Dan Brown
26af9acc6c
Improved iframe & summary handling in HTML to MD conversion
2022-04-29 14:58:28 +01:00
Dan Brown
c8a7acb6c7
Fixed drawing handling on HTML to Markdown conversion
2022-04-29 12:17:14 +01:00
Dan Brown
d3b39fbe50
Move html to markdown formatting tests to their own class
2022-04-29 11:50:34 +01:00
Dan Brown
ac7b2dd1bf
Tweaked DRAW.IO params in complete .env file to show configure param
2022-04-27 17:52:35 +01:00
Dan Brown
f1a8ad4980
Applied latest StyleCI changes
2022-04-25 18:42:31 +01:00
Dan Brown
d5b7fff102
Merge branch 'recycle_bin_api_endpoints' into development
2022-04-25 18:32:55 +01:00
Dan Brown
0930e8519c
Updated polymorphic database relation types to simpler version
...
- Means we can use these simpler types in API response, As desired in #3377 .
Closes #3395
2022-04-25 18:31:37 +01:00
Dan Brown
ff8dadefee
Reviewed recycle bin API PR and made changes
...
Made the following changes, many of these are just to align with
existing conventions.
- Updated urls to be hypenated, instead of underscored, to match other system endpoints.
- Updated URL parameter to be `deletionId` instead of `id`, and removed the ID-based comment on controller methods, so the required ID model is clear from the URL alone, since its not clear from the URL endpoint alone like existing endpoints. This follows the pattern used in the "web" routes.
- Added extra detail on some controller method comments, and copied permission comment to each method.
- Removed existing field visibility mechanisms to use simpler model-based visibility since we didn't need anything too special here (After some of my other changes).
- Allowed the "deletable" model to be shown in response to provide a little more detail on the main deleted item.
- Updated parent/child-count loading to be on the "deletable" model instead of additional properties which results in simpler controller logic and enforces the idea these are relations on the deletable, not the deletion itself. It also removes additional exposure of model namespacing.
- Updated (int) casts to intval, just since that's our most common conversion method in the codebase.
- Testing: Removed `actingAsAuthorizedUser` and used the admin user instead to prevent extra auth steps on each test.
- Testing: Cut logic/data-checks from tests if already covered by other tests.
- Testing: Added simple assertions for delete/restore response data.
- Examples: Updated list example to reflect changes.
Review of PR #3377
To be followed up with changes to polymorphic relations to hide
namespacing.
2022-04-25 17:54:59 +01:00
Dan Brown
2b0ae23da0
Updated composer deps, applied latest StyleCI changes
2022-04-24 18:22:40 +01:00
Dan Brown
63cb6015a8
Merge pull request #3364 from BookStackApp/app_url_requests
...
Updated custom request overrides to better match original intent
2022-04-24 14:52:38 +01:00
Dan Brown
5a7fb20116
Merge pull request #3387 from BookStackApp/editor_switching
...
Page editor switching
2022-04-24 14:03:03 +01:00
Dan Brown
829f808800
Merge pull request #3365 from BookStackApp/data_streaming
...
Add data streaming where beneficial to reduce memory usage
2022-04-24 13:59:47 +01:00
Dan Brown
0dfe5cb66b
Merge pull request #3391 from BookStackApp/drawio_config_event
...
Made it possible to configure draw.io/diagrams.net integration
2022-04-24 13:58:59 +01:00
julesdevops
14bccae6bd
do some cleanup and add doc
2022-04-24 10:49:29 +02:00
Dan Brown
b97c150ac8
Added additional testing for editor switching permissions
2022-04-23 23:34:15 +01:00
Dan Brown
0c5723d76e
Switched to database-based tracking for page editor
...
- Works better to avoid bad assumptions when showing the editor based
upon content type.
- Also updated some previous tests to cleaner format.
2022-04-23 23:20:46 +01:00
Dan Brown
bec61a56c0
Added listing of editor type to revisions
...
- Also tweaked some editor revision table styles and merged some
sections to reduce space usage.
2022-04-23 15:03:58 +01:00
Dan Brown
1b46aa8756
Aded tests for core editor switching functionality
2022-04-23 14:22:04 +01:00
julesdevops
f14e6e8f2d
Complete list endpoint and add some tests
2022-04-21 22:23:24 +02:00
Dan Brown
0003ce61cd
Fixed failing test after drawio default url change
2022-04-20 23:42:47 +01:00
Dan Brown
d76bbb2954
Made it possible to configure draw.io/diagrams.net integration
...
Added new editor public event to hook into draw.io configuration step.
Required change of embed url to trigger the configure step.
2022-04-20 23:32:02 +01:00
Dan Brown
478067483f
Linked up confirmation prompt to editor switching
2022-04-20 18:21:21 +01:00
Dan Brown
eff539f89b
Added new confirm-dialog component, both view and logic
2022-04-20 14:58:37 +01:00
Dan Brown
214992650d
Standardised dropdown list item styles, Extracted page editor toolbar
...
- Updated all dropdown list item actions into three specific styles:
icon-item, text-item & label-item. Allows a stronger structure while
prevents mixing of styles as we were getting for header dropdown in
dark mode.
- Extracted out page editor top toolbar to its own view file & split
editor switch options to different markdown options.
2022-04-20 14:03:47 +01:00
Dan Brown
492ffff0a4
Added core editor switching functionality
2022-04-18 17:39:28 +01:00
Dan Brown
956eb1308f
Aligned page edit controller method data usage
...
Extracted page editor view data gathering to its own class for
alignment. Updated the data used in views as part of the process to use
view-specific variables instead of custom attributes added to models.
Also moved tinymce library loading so it's not loaded when not using the
wysiwyg editor.
2022-04-17 23:01:14 +01:00
Dan Brown
0cc215f8c3
Added editor type change button
2022-04-17 15:01:29 +01:00
Dan Brown
e8e38f1f7b
Added an 'editor-change' role permission
2022-04-17 14:33:06 +01:00
Dan Brown
7dc80a9e14
Updated editor setting to reflect "Default editor"
2022-04-17 14:13:14 +01:00
Dan Brown
e49afdbd72
New Crowdin updates ( #3358 )
2022-04-14 16:14:05 +01:00
Dan Brown
56254bdb66
Added testing for our request method overrides
2022-04-13 13:02:42 +01:00
Dan Brown
25654b2322
Fixed base URL starting slash usage
2022-04-13 12:46:19 +01:00
Dan Brown
27339079f7
Extracted esbuild config to a build script
...
Allows us to use NodeJS code for file/directory locating to not be
shell/os specific, while also also reducing duplicated complexity within
packages.json file.
Related to #3323
2022-04-13 12:08:56 +01:00
julesdevops
55e52e45fb
Start recycle bin API endpoints: list, restore, delete
2022-04-07 22:34:00 +02:00
evandroamaro
c979e6465e
Tiny header
...
Had the same translation as the small header. Corrected the translation.
2022-04-05 10:53:52 +01:00
Dan Brown
c30a9d3564
Touched entity timestamps on entity tag update
...
Decided it's relevant to entity updated_at since tags are now indexed
alongside content.
- Also fixed tags not applied on shelf.
- Also enforced proper page API update validation.
- Adds tests to cover.
For #3319
Fixes #3370
2022-04-04 17:24:05 +01:00
Dan Brown
59d1fb2d10
Fixed tests from streaming changes
...
- Added testing check to buffer stop/clear on streaming output due to
interference during tests.
- Made content-disposition header a little safer in download responses.
- Also aligned how we check for testing environment.
2022-04-03 16:22:31 +01:00
Dan Brown
08a8c0070e
Added streaming support to API attachment read responses
...
Required some special handling due to the content being base64-encoded
within a JSON response.
2022-04-02 19:21:19 +01:00
Dan Brown
cb770c534d
Added streamed uploads for attachments
2022-04-02 18:46:48 +01:00
Dan Brown
6749faa89a
Fixed streamed outputs in more extreme scenarios
...
Fixes hitting memory limits where downloaded file sizes are much greater
than memory limit. Stopping and flushing output buffer seemed to stop
limits causing issues when fpassthru is used.
Tested with 24M memory limit and 734M file
2022-04-02 18:42:15 +01:00
Dan Brown
82e8b1577e
Updated attachment download responses to stream from filesystem
...
This allows download of attachments that are larger than current memory
limits, since we're not loading the entire file into memory any more.
For inline file responses, we take a 1kb portion of the file to sniff
before to check mime before we proceed.
2022-04-02 18:07:43 +01:00
Dan Brown
4dce03c0d3
Updated custom request overrides to better match original intent
...
This updates the custom Request handler to provide only the scheme and
host on the `getSchemeAndHttpHost` call, instead of providing the whole
APP_URL value, while adding an override to the 'getBaseUrl' to use the
APP_URL content instead of the guessed/detected Symfony value.
Untested apart from simple local setup.
Related to #2765
2022-04-02 17:14:37 +01:00
Dan Brown
7233c1c7b2
Updated version and assets for release v22.03.1
2022-03-30 19:37:07 +01:00
Dan Brown
1309a01131
Merge branch 'development' into release
2022-03-30 19:36:45 +01:00
Dan Brown
affae2e3c4
New Crowdin updates ( #3354 )
2022-03-30 19:29:13 +01:00
Dan Brown
1a90b98b8f
Updated composer dependancies
2022-03-30 19:22:47 +01:00
Dan Brown
da4308bb0f
Fixed settings redirect issue and custom head display
...
- Fixed issue where redirect for `/settings` view would not be ran
through base url generator so would not create a correct path in some
cases. Now routed through controller with normal redirect.
- Fixed custom head content being active on settings pages due to route
name changes, for when viewing settings, in last release.
Fixes #3356 and #3355
2022-03-30 19:15:24 +01:00
Dan Brown
0333185b6d
Updated version and assets for release v22.03
2022-03-30 13:49:17 +01:00
Dan Brown
83f89f64e8
Merge branch 'development' into release
2022-03-30 13:49:05 +01:00
Dan Brown
135022136a
New Crowdin updates ( #3353 )
2022-03-30 13:31:59 +01:00
Dan Brown
12f96bb1a4
Updated translation contributors, added Basque to language options
2022-03-30 13:12:17 +01:00
Dan Brown
678314a0c5
New Crowdin updates ( #3320 )
2022-03-30 13:00:27 +01:00
Dan Brown
0887c39694
Updated example env with LDAP group dump option
2022-03-29 11:49:02 +01:00
Dan Brown
078e8e7dc3
PHPStan and StyleCI fixes
...
- Updated PhpStan PHP version option to match project.
- Applied StyleCI changes.
- Updated static to self in WebhookFormatter, following static analysis
guidance.
- Fixed mis-matched header tags.
2022-03-28 11:31:06 +01:00
Dan Brown
038015f852
Merge pull request #3349 from BookStackApp/settings_reorg
...
Reorganization of settings view
2022-03-28 11:22:21 +01:00
Dan Brown
7c12920dc8
Added 404 response for non-existing setting categories
...
- Added test to cover.
2022-03-28 11:16:20 +01:00
Dan Brown
895f656897
Split out settings view and made functional
...
- Split settings out to new views using a core shared layout.
- Extracted added language text to translation files.
- Updated settings routes to be dynamic to category.
- Added redirect for old primary settings route.
- Updated existing tests to cover settings route changes.
- Added tests to cover settings view.
- Improved contrast of settings links for dark mode.
2022-03-28 11:09:55 +01:00
Dan Brown
31dbf132b9
Started playing with new settings view layout
2022-03-26 21:36:05 +00:00
Dan Brown
b5281bc9ca
Fixed tests, applied StyleCI changes
2022-03-26 20:38:03 +00:00
Dan Brown
3625f12abe
Added extendable/scalable formatter for webhook data
...
Creates a new organsied formatting system for webhook data, with
interfaces for extending with custom model formatting rules.
Allows easy usage & extension of the default bookstack formatting
behaviour when customizing webhook events via theme system, and keeps
default data customizations organised.
This also makes the following webhook data changes:
- owned_by/created_by/updated_by user details are loaded for events with
Entity details. (POTENTIALLY BREAKING CHANGE).
- current_revision details are loaded for page update/create events.
Added testing to cover added model formatting rules.
For #3279 and #3218
2022-03-26 16:53:02 +00:00
Dan Brown
55d61fceb2
Added manual image thumbnail exif orientation handling
...
Uses original image data to extract orientation exif to apply image
transformations before scaling and save. Manually done due to issues
with exif data loss during the existing Invervention image path.
For #1854
2022-03-26 12:32:08 +00:00
Dan Brown
2325a307a5
Applied latest styleCI changes
2022-03-25 11:14:27 +00:00
Dan Brown
d2b49084b0
Added pre-render sizes to wysiwyg code blocks
...
Sets sizes on WYSIWYG code block sections based on content lines
as an early pre-codemirror height prediction to avoid excessive
jumping in the editor.
For #3326
2022-03-25 11:13:04 +00:00
Dan Brown
8594f42584
Added LDAP group debugging env option
...
Closes #3345
2022-03-23 16:34:23 +00:00
Dan Brown
dd7463259a
Added wysiwyg filter to handle <br> tags within code blocks
...
This filters out <br> elements within code blocks and replaces them with
newlines. The editor started using <br>'s more harshley after some
configuration changes upon upgrading tinymce, in which we standardised
on forced br tags to avoid empty elements.
For #3327
2022-03-23 15:11:14 +00:00
Dan Brown
d23b24b8db
Added additional missing editor translations
...
- Also merged StyleCI fixes
As per #3342
2022-03-23 14:41:54 +00:00
Dan Brown
1c859e94e0
Fixed conctenation of direct book pages within markdown export
...
- Updated to ensure seperation with newlines.
- Added test to cover.
For #3341
2022-03-23 14:31:42 +00:00
Dan Brown
981807220c
Applied StyleCI changes and updated dependancies
2022-03-23 12:02:01 +00:00
Dan Brown
a2231c3604
Merge pull request #3333 from BookStackApp/wysiwyg_tasklist
...
WYSIWYG tasklist support
2022-03-23 11:58:16 +00:00
Dan Brown
622adc5450
Updated justify translation for editor
...
Fixes #3342
2022-03-23 11:57:20 +00:00
Dan Brown
95e496d16f
Added translation string for tasklist WYSIWYG action
2022-03-23 11:54:27 +00:00
Dan Brown
883e18f7c4
Updated tasklist style and functionality for cross-browser use
...
- Updated styles to better align checkboxes within page content.
- Updated functionality to use a cross-compatible property on checkbox
click within the editor.
2022-03-23 11:51:19 +00:00
Dan Brown
c5aad29c72
Added tasklist support to markdown exporter
2022-03-22 14:56:51 +00:00
Dan Brown
ea62fe6004
Improved tasklist wysiwyg behaviour
...
- Updated buttons/actions to better handle nesting.
- Added hack for better usage with normal bullets
2022-03-22 14:03:20 +00:00
Dan Brown
5ae9ed1e22
Added functioning wysiwyg tasklist toolbar button
...
- Includes new icon.
- Includes menu button overrides of existing list styles to prevent
incompatible mixing.
2022-03-20 13:30:48 +00:00
Dan Brown
b6be8a2bb9
Added WYSIWYG tasklist clicking ability
2022-03-20 11:59:46 +00:00
Dan Brown
65dd7ad1e9
Changed to a psuedo-style approach for tasklist in wysiwyg
2022-03-19 17:13:26 +00:00
Dan Brown
f991948c49
Started initial tasklist attempt, failed implementation
2022-03-19 16:04:33 +00:00
Dan Brown
ee6a2339b6
Applied latest styleCI changes
2022-03-09 14:30:36 +00:00
Dan Brown
fd26f54b99
Merge pull request #3298 from BookStackApp/wysiwyg_links
...
WYSIWYG editor link updates
2022-03-09 14:29:03 +00:00
Dan Brown
11a1a6fb16
Updated version and assets for release v22.02.3
2022-03-07 15:12:22 +00:00
Dan Brown
882c609296
Merge branch 'development' into release
2022-03-07 15:12:09 +00:00
Dan Brown
77ad819970
Updated translation attribution before v22.02.3 release
2022-03-07 15:06:44 +00:00
Dan Brown
2835e5be93
New Crowdin updates ( #3312 )
2022-03-07 15:06:21 +00:00
Dan Brown
856fca8289
Updated CSP with frame-src rules
...
- Configurable via 'ALLOWED_IFRAME_SOURCES' .env option.
- Also updated how CSP rules are set, with a single header being used
instead of many.
- Also applied CSP rules to HTML export outputs.
- Updated tests to cover.
For #3314
2022-03-07 14:27:41 +00:00
Dan Brown
48d0095aa2
Added mysql-ssl-ca option to complete .env
2022-03-02 21:51:18 +00:00
Dan Brown
176a0dcd59
Updated version and assets for release v22.02.2
2022-03-01 22:45:41 +00:00
Dan Brown
94b0f70bfa
Merge branch 'development' into release
2022-03-01 22:45:12 +00:00
Dan Brown
36d7ff77a9
New translations editor.php (Italian) ( #3301 )
2022-03-01 22:32:43 +00:00
Dan Brown
fb16ac326f
Reduced dynamic fade in dark mode
...
For #3203
2022-03-01 22:29:31 +00:00
Dan Brown
5947f59a04
Updated strategy for empty newline sections
...
- For some reason, TinyMCE would handle empty paragraphs with a ' '
by default but this would be removed when the paragraph had an
attribute. This was fine in the old editor.
- This changes the approach to use '<br>' tags within elements
for "spaced emptiness".
- For compatbility with any existing empty paragraphs, I updated the
styles to show default height for empty paragraph sections.
- This also makes changes to help preserve encoded html tags
since they were getting converted along the journey.
Related to #3302
2022-03-01 17:26:06 +00:00
Dan Brown
1843d80fb7
Added cache breaker to tinymce loading systems
...
Takes the version from BookStack app.js paths instead of tinyMCE version
since things external from TinyMCE could be loaded using this.
2022-03-01 13:41:53 +00:00
Dan Brown
6252b46395
Added a custom link context toolbar
...
- Allows for easy unlinking, link preview or link editing.
- Created custom one to limit actions available.
- Performed refactoring of non-plugin toolbar editor code to extact into
its own file.
Related to #3276
2022-02-28 13:56:23 +00:00
Dan Brown
20ecaa5c5a
Added ctrl+shift+k shortcut to WYSIWYG
...
Shows entity select dialog for more direct entity link insertion.
Aligns with shortcut from markdown editor.
For #3244
2022-02-28 13:34:32 +00:00
Dan Brown
08b2a77d41
Updated version and assets for release v22.02.1
2022-02-27 17:46:06 +00:00
Dan Brown
3e8e9a23cf
Merge branch 'development' into release
2022-02-27 17:45:49 +00:00
Dan Brown
1253711c7d
New translations editor.php (Chinese Simplified) ( #3291 )
2022-02-27 17:44:58 +00:00
Dan Brown
963d8f4693
Updated issue templates, readme and dev version
...
- Updated bug report template to capture browser.
- Updated readme roadmap.
- Bumped dev version.
2022-02-27 17:26:27 +00:00
Dan Brown
0de4d6d223
Improved WYSIWYG code block behaviour via range of fixes
...
- Fixed issues with new code blocks breaking or acting odd due to
misnamed contenteditable attribute.
- Helped fix issue where code blocks may show in a strage blank state
due to timing within shadow dom loading.
- Fixed some function timing issues where some functions required their
async predecessor to have finished.
Tested rather heavily in firefox and brave.
Fixes #3292
2022-02-27 17:21:24 +00:00
Dan Brown
06f694bad2
Updated tinymce link query to break caches
...
Fixes #3293
2022-02-27 16:03:18 +00:00
Dan Brown
58b83b64c8
Updated version and assets for release v22.02
2022-02-26 12:01:44 +00:00
Dan Brown
dfe4cde6ee
Merge branch 'development' into release
2022-02-26 12:00:46 +00:00
Dan Brown
41689a1e65
New Crowdin updates ( #3259 )
2022-02-26 11:46:33 +00:00
Dan Brown
2ae8026903
Updated translators for v22.02 release
2022-02-26 11:40:09 +00:00
Dan Brown
dcb36b27a0
Updated github issue templates
...
- Removed titles since they don't provide added benefit upon the labels
and would often lead to being submitted with just the placeholder
title.
- Feature request form
- Added further context to benefits field for hopefully better
responses that target the core goal.
- Added a field to ask if feature can already be achieved, to
gain an idea if the submitter has explored other options (if
existing).
- Added a field to ensure the submitter has search the issue list
before submitting.
- Added a field to ask existing BookStack usage time to understand
potential evolution of usage and/or influence of other platforms.
2022-02-24 18:26:34 +00:00
Dan Brown
83082c32ef
Applied latest StyleCI changes
2022-02-24 15:04:09 +00:00
Dan Brown
1e112f78d8
On WYSIWYG details unwrap, provided better restore of cursor
...
Also prevents the toolbar from sticking around after the details block
was removed.
2022-02-24 15:02:23 +00:00
Dan Brown
9283f28e31
Updated JS deps
2022-02-24 15:02:06 +00:00
Dan Brown
7f5fc9fbe3
Updated composer dependancies
...
Includes update to dompdf v1.2 which helps address image sizing in
tables and hence fix #3190
2022-02-24 14:30:55 +00:00
Dan Brown
ce566bea2a
Updated OIDC error handling for better error reporting
...
Fixes issue where certain errors would not show to the user
due to extra navigation jumps which lost the error message
in the process.
This simplifies and aligns exceptions with more directly
handled exception usage at the controller level.
Fixes #3264
2022-02-24 14:16:09 +00:00
Dan Brown
63ce3c9add
Updated incorrect feature request template description
2022-02-13 13:18:42 +00:00
Dan Brown
f0470afb4c
Applied StyleCI changes, updated readme badges & roadmap
2022-02-13 13:16:43 +00:00
Dan Brown
f8e6172582
Updated github actions to ignore language branch
...
Old branch filters did not seem to work since they are supposed to
reference the target branch, not source branch.
Instead used if statement to prevent run on crowdin branch.
2022-02-13 13:03:41 +00:00
Dan Brown
7a8505f812
Made a pass to clean up UserRepo
2022-02-13 12:56:26 +00:00
Dan Brown
9806907d53
Merge pull request #3260 from BookStackApp/wysiwyg_details
...
WYSIWYG details/summary blocks
2022-02-09 19:33:53 +00:00
Dan Brown
2b3726702d
Revamped workings of WYSIWYG code blocks
...
Code blocks in tinymce could sometimes end up exploded into the sub
elements of the codemirror display.
This changes the strategy to render codemirror within the shadow dom of
a custom element while preserving the normal pre/code DOM structure.
Still a little instability when moving/adding code blocks within details
blocks but much harder to break things now.
2022-02-09 19:24:27 +00:00
Dan Brown
2b46b00f29
Updated PDF export to open detail blocks
2022-02-09 11:33:23 +00:00
Dan Brown
536ad14276
WYSIWYG details: Improved usage reliability and dark mdoe styles
2022-02-09 11:25:22 +00:00
Dan Brown
a318775cfc
Improved wysiwyg details/summary edit controls
...
- Added specific non-editable/editable filtering to make editing within
box more reliable.
- Updated toolbar icons and controls.
2022-02-09 10:40:46 +00:00
Dan Brown
9e0b8a9fb6
Started support for WYSIWYG details/summary blocks
2022-02-08 23:08:00 +00:00
Dan Brown
7c692ec588
Changed editor bottom padding technique
...
- Ensures padding works across FF & Chrome, was only working on FF
before.
- Fixes sketchy editor positioning focus on FF, since tinyMCE would
add a hidden element to the bottom of the body which would remove/add
our body padding causing unstable positioning.
2022-02-08 17:05:38 +00:00
Dan Brown
da0dc7292c
Merged in editor translation strings
2022-02-08 15:57:19 +00:00
Dan Brown
045710ea08
Updated with latest styleci changes
2022-02-08 15:29:58 +00:00
Dan Brown
c6ad16dba6
Merge branch 'tinymce' into development
2022-02-08 15:28:56 +00:00
Dan Brown
4ea1f0c633
Merge crowdin changes from users API changes
2022-02-08 15:14:18 +00:00
Dan Brown
f5077c17f4
Merge pull request #3238 from BookStackApp/users_api
...
User Management API
2022-02-08 13:32:45 +00:00
Dan Brown
c73773930e
Merge pull request #3245 from BookStackApp/php7.4
...
Updated minimum php version from 7.3 to 7.4
2022-02-08 13:31:15 +00:00
Dan Brown
1782618c64
New Crowdin updates ( #3251 )
...
* New translations activities.php (Hebrew)
* New translations auth.php (Hebrew)
* New translations common.php (Hebrew)
* New translations activities.php (Hebrew)
* New translations common.php (Hebrew)
* New translations entities.php (Hebrew)
* New translations errors.php (Hebrew)
* New translations validation.php (Spanish)
2022-02-08 13:29:16 +00:00
ististyle
a01bb92989
Update Korean translation ( #3256 )
...
* Update validation.php
* Update activities.php
* Update passwords.php
* Update common.php
* Update common.php
* Update auth.php
* Update components.php
* Add files via upload
* Update errors.php
* Update entities.php
* Update entities.php
* Update entities.php
* Update auth.php
* Update activities.php
* Update components.php
* Update components.php
* Update entities.php
* Update components.php
* Update entities.php
* Update errors.php
* Update settings.php
* Update settings.php
* Add files via upload
* Update errors.php
2022-02-08 13:29:01 +00:00
Dan Brown
a2bcf765a8
Split out codemirror JS to its own module
...
Added a cache-compatible module loading system/pattern to the codebase.
2022-02-08 11:10:01 +00:00
Dan Brown
130dc05517
Updated wysiwyg with dark mode patches
...
- To better fit in with default BookStack dark theme.
2022-02-08 10:09:17 +00:00
Dan Brown
572d8b3700
Removed unused scroll patch after testing
...
- Tested on android and ios
- Also checked on translations and removed todo.
2022-02-08 09:42:18 +00:00
Dan Brown
e0d9380055
Aligned some editor events, Changed wysiwyg custom styles loading
...
- Removed old 'editor-*-update' commands to instead use the aligned
'editor::replace' command that we already have.
- Changed the way custom styles are loaded for the WYSIWYG editor so we
don't need an API call but instead scape content from the parent page
header using comments as identifiers. Added tests to ensure comments
exist and align.
2022-02-08 01:01:37 +00:00
Dan Brown
15647a0409
Merged color and formats wysiwyg groups
2022-02-08 00:20:36 +00:00
Dan Brown
e88dbe4db3
Added license references to readme attribution
2022-02-08 00:18:29 +00:00
Dan Brown
84c501bcf4
Simplified wysiwyg toolbar with a overflow groups
2022-02-07 23:56:39 +00:00
Dan Brown
c8b6f622f4
Added help/about box to wysiwyg editor
...
- To display license info along with shortcuts.
- Extracted out plain layout from 503 error page.
- Added tests to ensure license references are as expected.
2022-02-07 23:19:04 +00:00
Dan Brown
ef211a76ae
Made WYSIWYG editor translatable
...
- Created new translation file for editor view.
- Added simple logic to format for tinymce.
- Aligned some of the custom labels we were using.
2022-02-06 21:17:08 +00:00
Dan Brown
d11144d9e2
Updated version and assets for release v21.12.5
2022-02-06 15:49:23 +00:00
Dan Brown
f96b0ea5f3
Merge branch 'development' into release
2022-02-06 15:48:55 +00:00
Dan Brown
b4e29d2b7d
New Crowdin updates ( #3225 )
2022-02-06 15:46:28 +00:00
Dan Brown
2732d8961f
Merge branch 'fix-code-block-linefeed' into development
2022-02-06 15:19:52 +00:00
Dan Brown
b2f863e1f1
WYSIWG: Improved handling of cross-block code block creation
...
- Updated code content to get specific text selection instead of using
node-based handling which could return the whole document when
multiple top-level nodes were in selection.
- Simplified how code gets applied into the page to not be node based
but use native editor methods to replace the selection. Allows
creation from half-way through a block.
Tested on chrome+Firefox on Fedora 35.
Builds upon changes in #3246 .
For #3200 .
2022-02-06 15:19:18 +00:00
Dan Brown
1df7497c09
Added missing validation.file message
...
- Included test to cover
- Also applied StyleCI fixes
Closes #3248
2022-02-06 14:48:33 +00:00
Dan Brown
d29a2a647a
Prevented PCRE limit issues in markdown base64 extraction
...
For #3249
2022-02-06 07:51:38 +00:00
Dan Brown
43f32f6d5a
Added attachment API file size limit test
...
Created while testing for #3248 , Was not something that's currently
failing within BookStack but will still add for coverage.
2022-02-06 05:05:17 +00:00
Dan Brown
921131f999
Modularised our tinymce config and plugins
...
- Split everything into specific plugin/concern files to make things
more managable. Means original component file is now simple and much
of the core config is focused in one place.
2022-02-05 23:15:58 +00:00
Dan Brown
0cde2704d0
Made further tweaks to align with current editor
...
- Ensured each of the core actions worked at a high level.
- Handled some TinyMCE API changes.
- Moved code block insert to its own button.
2022-02-05 21:20:20 +00:00
Dan Brown
db4093d523
Got TinyMCE 5 added in barely working state
...
- Some extensions & custom actions not working.
- Updated anything visual to not be breaking (Icons) and anything
functional that prevented loading.
2022-02-05 16:57:42 +00:00
julesdevops
049d6ba5b2
fix(wysiwyg): preserves line feeds in code block mode
2022-02-05 10:28:44 +01:00
Dan Brown
e33b587b87
Updated minimum php version from 7.3 to 7.4
...
Closes #3152
2022-02-04 13:27:11 +00:00
Dan Brown
c8be6ee8a6
Addressed test failures from users API changes
2022-02-04 01:02:13 +00:00
Dan Brown
46e6e239dc
Added user API examples
2022-02-04 00:44:56 +00:00
Dan Brown
eb653bda16
Added user-create API endpoint
...
- Required extracting logic into repo.
- Changed some existing creation paths to standardise behaviour.
- Added test to cover new endpoint.
- Added extra test for user delete to test migration.
- Changed how permission errors are thrown to ensure the right status
code can be reported when handled in API.
2022-02-04 00:26:19 +00:00
Dan Brown
9e1c8ec82a
Added user-update API endpoint
...
- Required changing the docs generator to handle more complex
object-style rules. Bit of a hack for some types (password).
- Extracted core update logic to repo for sharing with API.
- Moved user update language string to align with activity/logging
system.
- Added tests to cover.
2022-02-03 16:52:28 +00:00
Dan Brown
2cd7a48044
Added users-delete API endpoint
...
- Refactored some delete checks into repo.
- Added tests to cover.
- Moved some translations to align with activity/logging system.
2022-02-03 15:12:50 +00:00
Dan Brown
d089623aac
Refactored existing user API work
...
- Updated routes to use new format.
- Changed how hidden fields are exposed to be more flexible to different
use-cases.
- Updated properties available on read/list results.
- Started adding testing coverage.
- Removed old unused UserRepo 'getAllUsers' function.
Related to #2701 , Progression of #2734
2022-02-03 12:33:26 +00:00
Dan Brown
8d7febe482
Merge branch 'api-endpoint-users' into users_api
2022-02-03 11:38:55 +00:00
Dan Brown
815f8d79ed
Updated version and assets for release v21.12.4
2022-02-01 11:52:24 +00:00
Dan Brown
b62dab32e0
Merge branch 'development' into release
2022-02-01 11:51:48 +00:00
Dan Brown
9d15688a43
Applied latest styleci changes
2022-02-01 11:49:30 +00:00
Dan Brown
033b163675
New Crowdin updates ( #3214 )
...
* New translations auth.php (Spanish)
* New translations auth.php (Estonian)
* New translations entities.php (Estonian)
* New translations common.php (French)
* New translations common.php (Indonesian)
* New translations common.php (Turkish)
* New translations common.php (Ukrainian)
* New translations common.php (Chinese Simplified)
* New translations common.php (Chinese Traditional)
* New translations common.php (Vietnamese)
* New translations common.php (Portuguese, Brazilian)
* New translations common.php (Persian)
* New translations common.php (Slovenian)
* New translations common.php (Spanish, Argentina)
* New translations common.php (Croatian)
* New translations common.php (Estonian)
* New translations common.php (Latvian)
* New translations common.php (Bosnian)
* New translations common.php (Norwegian Bokmal)
* New translations common.php (Swedish)
* New translations common.php (Slovak)
* New translations common.php (Spanish)
* New translations common.php (Hebrew)
* New translations common.php (Arabic)
* New translations common.php (Bulgarian)
* New translations common.php (Catalan)
* New translations common.php (Czech)
* New translations common.php (Danish)
* New translations common.php (German)
* New translations common.php (Hungarian)
* New translations common.php (Russian)
* New translations common.php (Italian)
* New translations common.php (Japanese)
* New translations common.php (Korean)
* New translations common.php (Lithuanian)
* New translations common.php (Dutch)
* New translations common.php (Polish)
* New translations common.php (Portuguese)
* New translations common.php (German Informal)
* New translations common.php (Spanish)
* New translations common.php (Italian)
* New translations settings.php (Italian)
* New translations common.php (Spanish, Argentina)
2022-02-01 11:48:29 +00:00
Dan Brown
6eadf3efb3
Added language select to the user create form
...
- Updated user invite to take language from user.
- Added tests to cover.
- Added page/tab title to user create view.
For #2576 and #2408
2022-01-31 22:15:21 +00:00
Dan Brown
f83cc83877
Added external-auth-id option to create-admin command
...
- Added tests to cover.
- Refactored some existing testing.
- Requires password or external_auth_id to be provided. Defaults to
password.
- Randomly sets password to 32 digit random chars if external_auth_id
provided instead.
For #3222
2022-01-31 20:43:41 +00:00
Dan Brown
17215431ca
Fixed default registration role display options
...
- This also allows an admin to choose not to have a default role.
- Also applied latest styleCI fixes.
For #3220
2022-01-31 14:16:56 +00:00
Dan Brown
90c543064b
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2022-01-30 17:41:16 +00:00
Dan Brown
a709fd04b5
Added option to configure PDF export paper size
...
For #995
2022-01-30 17:40:42 +00:00
StyleCI Bot
4a1d060eb9
Apply fixes from StyleCI
2022-01-30 16:44:51 +00:00
Dan Brown
e17cdab420
Updated default branch name references
2022-01-30 16:33:03 +00:00
Dan Brown
2d074caf72
Merge pull request #3210 from Julesdevops/simple-503-error-file
...
Massively simplify the 503 error view
2022-01-30 16:24:24 +00:00
julesdevops
99202b3bb8
fix(503): massively simplify the 503 error view
...
This view was relying on too much app logic, which could lead to errors
when rendering it.
2022-01-29 10:56:13 +01:00
Dan Brown
73eac83afe
Fixed OIDC JWT key parsing in microsoft environments
...
Made existence of 'alg' optional when JWK array set so we instead infer
it as RSA256 if not existing.
Fixes #3206
2022-01-28 14:00:55 +00:00
Dan Brown
c11f795c1d
Added cloudabove sponsor logo
2022-01-26 20:45:14 +00:00
Dan Brown
262f863981
Updated version and assets for release v21.12.3
2022-01-24 22:49:42 +00:00
Dan Brown
a4c94390a1
Merge branch 'master' into release
2022-01-24 22:49:31 +00:00
Dan Brown
7e6e1fca76
Fixed test broken by PdfGenerator changes
2022-01-24 22:24:41 +00:00
Dan Brown
aaa2205df1
Refreshed markdown cm instance layout on size change
...
Intended to fix positioning quirks caused by changing codemirror
instance size when you have lines that wrap and cause line height
changes. Often caused by editor toolbox expand/collapse.
This adds a debounced resize observer to refresh editor layout on size
change.
Also tweaks toolbox expand/collapse to more consistently set aria
attribute.
For #3186
2022-01-24 22:08:36 +00:00
Dan Brown
4aed3f8558
Patched gallery duplication on multi-image upload
...
Quick patch to clear the gallery display when getting the first page.
Duplication of the galler was occuring due to the mulitple upload events
loading the gallery mulitple times while only clearing the existing
gallery at the start of all refreshes.
A bit flashy in terms of user experience, as there will still be
mulitple load/clear events but fixes the duplication. Could be done more
elegently in future by communicating up image upload counts.
For #3160
2022-01-24 21:38:11 +00:00
Dan Brown
7b4086107c
Added parent context to recently updated items
...
- Includes tests to cover
For #3183
2022-01-24 21:21:30 +00:00
Dan Brown
585bd0cc45
Updated translator attribution and StyleCI changes
2022-01-24 20:55:03 +00:00
Dan Brown
f18e2784be
New Crowdin updates ( #3158 )
...
* New translations activities.php (Slovak)
* New translations activities.php (Slovak)
* New translations common.php (Russian)
* New translations settings.php (Russian)
* New translations common.php (Japanese)
* New translations settings.php (Japanese)
* New translations activities.php (Persian)
* New translations auth.php (Persian)
* New translations auth.php (Persian)
* New translations entities.php (Persian)
* New translations common.php (Persian)
* New translations auth.php (Persian)
* New translations entities.php (Persian)
* New translations settings.php (Persian)
* New translations entities.php (Persian)
* New translations validation.php (Persian)
* New translations settings.php (Persian)
* New translations settings.php (Spanish, Argentina)
* New translations common.php (Spanish, Argentina)
* New translations settings.php (Spanish, Argentina)
* New translations activities.php (Spanish, Argentina)
* New translations entities.php (Spanish, Argentina)
* New translations entities.php (Persian)
* New translations settings.php (Persian)
* New translations entities.php (Persian)
* New translations errors.php (Persian)
* New translations settings.php (French)
* New translations common.php (French)
* New translations settings.php (French)
* New translations entities.php (Persian)
* New translations settings.php (Persian)
* New translations entities.php (Persian)
* New translations errors.php (Persian)
2022-01-24 20:53:36 +00:00
Dan Brown
f88e6d1520
Updated HTMLDiff package to address multibtye issue
...
Addresses potential issue when using multibyte characters.
Couple of other packages seemed to have updates also since earlier.
For #3170
2022-01-24 20:27:14 +00:00
Dan Brown
872961ef7c
Updated npm and php dependancies
2022-01-24 18:53:28 +00:00
Dan Brown
bbd8d63652
Merge pull request #3179 from Julesdevops/atomic-user-creation
...
When creating a user, do not persist the user on invitation sending failure
2022-01-24 18:48:00 +00:00
Dan Brown
af39ff15ac
Merge branch 'show_more_informations_on_recently_updated_pages'
2022-01-24 18:23:47 +00:00
Dan Brown
aae3cd69d7
Added test to cover PR #3177
2022-01-24 18:23:16 +00:00
Dan Brown
2d3df955ae
Merge branch 'master' of github.com:BookStackApp/BookStack
2022-01-24 17:26:17 +00:00
Dan Brown
8b5747eae2
Further adjusted linked image sizes on PDF export
...
Further fixes for #3120 , Adds DOMPDF specific adjustments to prevent
full width linked images being cut-off as per last tweak.
This does not fix usage in smaller cases (tables) but tested on
master DOMPDF branch shows that will likely be fixed in next DOMPDF
upstream release.
DOMPDF fixes would break WKHTMLTOPDF presentation so system updated
to conditionally apply styles.
2022-01-24 17:24:00 +00:00
Dan Brown
6c699f7fab
Merge pull request #3193 from Julesdevops/xdebug-docker-compose-setup
...
chore(dev): add xdebug support for docker setup
2022-01-24 16:11:29 +00:00
julesdevops
ac6eceb0e5
doc(dev): add xdebug informations
2022-01-23 14:26:01 +01:00
julesdevops
a2a2f3a4dd
chore(dev): add xdebug support for docker setup
2022-01-22 17:43:29 +01:00
julesdevops
6db64763fe
enh(recently updated): show updatedBy and updated_at
2022-01-19 21:49:45 +01:00
julesdevops
c9beacbfbf
fix(User Creation): do not persist the user if invitation fails
...
- Wrap the user creation process in a transaction
- Add test
2022-01-19 20:46:38 +01:00
Dan Brown
53f3cca85d
Updated version and assets for release v21.12.2
2022-01-10 18:23:44 +00:00
Dan Brown
ed08bbcecc
Merge branch 'master' into release
2022-01-10 18:23:19 +00:00
Dan Brown
2aace16704
Updated translator attribution before release v21.12.2
2022-01-10 18:22:43 +00:00
Dan Brown
ade66dcf2f
Applied latest styleci changes
2022-01-10 18:18:15 +00:00
Dan Brown
d3eaaf6457
New Crowdin updates ( #3148 )
...
* New translations common.php (Czech)
* New translations common.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations errors.php (Japanese)
* New translations entities.php (Japanese)
* New translations common.php (Japanese)
* New translations settings.php (Japanese)
* New translations entities.php (Japanese)
* New translations settings.php (Japanese)
* New translations auth.php (Japanese)
* New translations common.php (Portuguese, Brazilian)
* New translations activities.php (Portuguese, Brazilian)
* New translations activities.php (Portuguese, Brazilian)
2022-01-10 18:17:28 +00:00
Dan Brown
941217d9fb
Improved loading for images with failed thumbnails
...
- A placeholder is now shown in the gallery.
- The page editors will use the original image url if the display
thumbnail is missing.
For #3142
2022-01-10 18:13:48 +00:00
Dan Brown
4239d4c54d
Fixed error on webhooks for recycle bin operations
...
Updated the getUrl method on deletions to not require any passed
params to align with usage in webhooks.
Probably better to have a proper interface but would require a wider
change.
Fixes #3154
2022-01-10 17:47:49 +00:00
Dan Brown
8d91f4369b
Improved custom homepage check on item deletion
...
Custom homepage usage will now be checked before any actioning
of deletion rather than potentially causing an exception acting
during the deletion.
Previously a deletion could still be created, within the recycle bin,
for the parent which may lead to the page being deleted anyway.
For #3150
2022-01-10 17:04:01 +00:00
Dan Brown
722aa04577
Merge pull request #3153 from AitorMatxi/patch-1
...
Update auth.php
2022-01-10 16:10:39 +00:00
Aitor Matxinea
2d0abc4164
Update auth.php
...
Fix misspelled word "As" to "Has".
2022-01-10 11:45:48 +01:00
Dan Brown
c3f7b39a0f
Addressed phpstan cases
2022-01-07 13:04:49 +00:00
Dan Brown
de97ebf9b7
Updated version and assets for release v21.12.1
2022-01-06 12:20:37 +00:00
Dan Brown
f492a660a8
Merge branch 'master' into release
2022-01-06 12:20:26 +00:00
Dan Brown
ef11100863
Updated translator attribution before release v21.12.1
2022-01-06 12:20:13 +00:00
Dan Brown
1a26b47782
Applied latest styleCI changes
2022-01-06 12:18:11 +00:00
Dan Brown
cb0d674a71
Merge branch 'sort_changes'
...
Related to #3134
2022-01-06 12:03:15 +00:00
Dan Brown
4d094331cf
New Crowdin updates ( #3117 )
...
* New translations auth.php (Bulgarian)
* New translations auth.php (Catalan)
* New translations auth.php (Czech)
* New translations auth.php (Danish)
* New translations auth.php (Hebrew)
* New translations auth.php (Swedish)
* New translations auth.php (Hungarian)
* New translations auth.php (Italian)
* New translations auth.php (Japanese)
* New translations auth.php (Korean)
* New translations auth.php (Lithuanian)
* New translations auth.php (Dutch)
* New translations auth.php (Polish)
* New translations auth.php (Russian)
* New translations auth.php (Slovak)
* New translations auth.php (Slovenian)
* New translations settings.php (Korean)
* New translations settings.php (Lithuanian)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Norwegian Bokmal)
* New translations settings.php (Bosnian)
* New translations settings.php (Latvian)
* New translations settings.php (Estonian)
* New translations settings.php (Croatian)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Persian)
* New translations settings.php (Indonesian)
* New translations settings.php (Vietnamese)
* New translations settings.php (Dutch)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Turkish)
* New translations settings.php (Swedish)
* New translations settings.php (Slovenian)
* New translations settings.php (Slovak)
* New translations settings.php (Russian)
* New translations settings.php (Portuguese)
* New translations settings.php (Polish)
* New translations settings.php (German Informal)
* New translations settings.php (Spanish)
* New translations activities.php (Spanish)
* New translations auth.php (Spanish)
* New translations common.php (Spanish)
* New translations settings.php (Spanish)
* New translations auth.php (German)
* New translations passwords.php (German)
* New translations settings.php (German)
* New translations activities.php (German)
* New translations auth.php (German)
* New translations auth.php (German Informal)
* New translations common.php (German)
* New translations entities.php (German)
* New translations errors.php (German)
* New translations errors.php (German Informal)
* New translations settings.php (German)
* New translations settings.php (German Informal)
* New translations entities.php (Japanese)
* New translations entities.php (Vietnamese)
* New translations entities.php (Slovak)
* New translations entities.php (Slovenian)
* New translations entities.php (Swedish)
* New translations entities.php (Turkish)
* New translations entities.php (Chinese Simplified)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Portuguese, Brazilian)
* New translations entities.php (Polish)
* New translations entities.php (Indonesian)
* New translations entities.php (Persian)
* New translations entities.php (Croatian)
* New translations entities.php (Estonian)
* New translations entities.php (Latvian)
* New translations entities.php (Bosnian)
* New translations entities.php (Russian)
* New translations entities.php (Dutch)
* New translations entities.php (Portuguese)
* New translations entities.php (Bulgarian)
* New translations entities.php (Ukrainian)
* New translations entities.php (Spanish, Argentina)
* New translations entities.php (Norwegian Bokmal)
* New translations entities.php (French)
* New translations entities.php (Spanish)
* New translations entities.php (Arabic)
* New translations entities.php (Catalan)
* New translations entities.php (Lithuanian)
* New translations entities.php (Czech)
* New translations entities.php (Danish)
* New translations entities.php (German)
* New translations entities.php (Hebrew)
* New translations entities.php (Hungarian)
* New translations entities.php (Italian)
* New translations entities.php (Korean)
* New translations entities.php (German Informal)
* New translations entities.php (Spanish)
* New translations auth.php (Portuguese)
* New translations common.php (Portuguese)
* New translations errors.php (Portuguese)
* New translations settings.php (Portuguese)
* New translations activities.php (French)
* New translations activities.php (French)
* New translations auth.php (French)
* New translations common.php (French)
* New translations entities.php (French)
* New translations settings.php (French)
* New translations activities.php (Spanish, Argentina)
* New translations entities.php (Spanish, Argentina)
* New translations auth.php (Spanish, Argentina)
* New translations common.php (Spanish, Argentina)
* New translations activities.php (German Informal)
* New translations common.php (German Informal)
* New translations settings.php (Spanish, Argentina)
* New translations activities.php (Chinese Simplified)
* New translations activities.php (Chinese Simplified)
* New translations auth.php (Chinese Simplified)
* New translations common.php (Chinese Simplified)
* New translations entities.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations activities.php (Estonian)
* New translations auth.php (Estonian)
* New translations common.php (Estonian)
* New translations entities.php (Chinese Simplified)
* New translations entities.php (Estonian)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Estonian)
* New translations settings.php (Estonian)
* New translations validation.php (Estonian)
* New translations auth.php (Italian)
* New translations common.php (Italian)
* New translations entities.php (Italian)
* New translations settings.php (Italian)
* New translations activities.php (Russian)
* New translations auth.php (Russian)
* New translations common.php (Russian)
* New translations activities.php (Russian)
* New translations entities.php (Russian)
* New translations settings.php (Russian)
* New translations activities.php (Japanese)
* New translations auth.php (Portuguese, Brazilian)
* New translations auth.php (Portuguese, Brazilian)
* New translations auth.php (Arabic)
* New translations activities.php (Czech)
* New translations auth.php (Czech)
* New translations activities.php (Czech)
* New translations auth.php (Czech)
* New translations common.php (Czech)
* New translations entities.php (Czech)
* New translations settings.php (Czech)
* New translations activities.php (Czech)
* New translations auth.php (Czech)
* New translations common.php (Czech)
* New translations entities.php (Czech)
* New translations settings.php (Czech)
* New translations auth.php (Czech)
* New translations entities.php (Czech)
* New translations settings.php (Czech)
* New translations auth.php (Czech)
* New translations auth.php (Czech)
* New translations activities.php (Latvian)
* New translations auth.php (Latvian)
* New translations common.php (Latvian)
* New translations entities.php (Latvian)
* New translations settings.php (Latvian)
* New translations activities.php (Latvian)
* New translations settings.php (Latvian)
* New translations activities.php (Italian)
* New translations entities.php (Italian)
* New translations activities.php (Italian)
* New translations settings.php (Italian)
* New translations common.php (Japanese)
* New translations settings.php (French)
* New translations common.php (Vietnamese)
* New translations common.php (Portuguese, Brazilian)
* New translations common.php (Indonesian)
* New translations common.php (Persian)
* New translations common.php (Croatian)
* New translations common.php (Estonian)
* New translations common.php (Latvian)
* New translations common.php (Bosnian)
* New translations common.php (German Informal)
* New translations settings.php (Spanish)
* New translations common.php (Chinese Simplified)
* New translations settings.php (Arabic)
* New translations settings.php (Bulgarian)
* New translations settings.php (Catalan)
* New translations settings.php (Czech)
* New translations settings.php (Danish)
* New translations settings.php (German)
* New translations settings.php (Hebrew)
* New translations settings.php (Hungarian)
* New translations settings.php (Italian)
* New translations settings.php (Japanese)
* New translations common.php (Chinese Traditional)
* New translations common.php (Turkish)
* New translations common.php (Portuguese)
* New translations common.php (Danish)
* New translations common.php (Ukrainian)
* New translations common.php (Spanish, Argentina)
* New translations common.php (Norwegian Bokmal)
* New translations settings.php (Ukrainian)
* New translations common.php (French)
* New translations common.php (Spanish)
* New translations common.php (Arabic)
* New translations common.php (Bulgarian)
* New translations common.php (Catalan)
* New translations common.php (Czech)
* New translations common.php (German)
* New translations common.php (Swedish)
* New translations common.php (Hebrew)
* New translations common.php (Hungarian)
* New translations common.php (Italian)
* New translations common.php (Korean)
* New translations common.php (Lithuanian)
* New translations common.php (Dutch)
* New translations common.php (Polish)
* New translations common.php (Russian)
* New translations common.php (Slovak)
* New translations common.php (Slovenian)
* New translations settings.php (Korean)
* New translations settings.php (Lithuanian)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Norwegian Bokmal)
* New translations settings.php (Bosnian)
* New translations settings.php (Latvian)
* New translations settings.php (Estonian)
* New translations settings.php (Croatian)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Persian)
* New translations settings.php (Indonesian)
* New translations settings.php (Vietnamese)
* New translations settings.php (Dutch)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Turkish)
* New translations settings.php (Swedish)
* New translations settings.php (Slovenian)
* New translations settings.php (Slovak)
* New translations settings.php (Russian)
* New translations settings.php (Portuguese)
* New translations settings.php (Polish)
* New translations settings.php (German Informal)
* New translations common.php (Estonian)
* New translations entities.php (Estonian)
* New translations settings.php (Estonian)
* New translations common.php (Spanish)
* New translations settings.php (Spanish)
* New translations entities.php (French)
* New translations settings.php (French)
* New translations common.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations common.php (Spanish, Argentina)
* New translations settings.php (Spanish, Argentina)
2022-01-06 12:02:49 +00:00
Dan Brown
2312d07bb5
Removed old book sort permission test
...
Permission handling now done via other means with more extensive
permissions testing in SortTest class.
2022-01-05 16:46:03 +00:00
Dan Brown
fbd388ba4c
Aligned chapter move permissions with page move permissions
2022-01-05 16:18:19 +00:00
Dan Brown
d3ca23b195
Added additional permission checks and tests for book sorts
...
- Aligned permissions control with move operations to check
delete/create permissions against old/new locations.
- Added tests to cover additional permissions scenarios.
2022-01-05 15:42:59 +00:00
Dan Brown
553954ad18
Altered sort permission checking and started tests
...
Previous implemenations were hard to read so changing to be more
logically simplistic. Still needs further coverage in tests and
review/alignment of permissions to use.
2022-01-05 14:39:21 +00:00
Dan Brown
d8c45f5746
Changed model loading and permission checking on book sort
...
Models are now loaded into their own map to then be used for sorting and
reporting back of changed books. Prevents akward logic ordering issues
of before where some bits of code assumed/hoped for loaded models on
abstract data structures.
New levels of permissions are now checked for items within the
sort operation. Needs testing to cover.
2022-01-04 21:09:34 +00:00
Dan Brown
edc7c12edf
Refactored sort system a little
...
To standardise the handled data format a little better.
2022-01-04 17:31:57 +00:00
Dan Brown
a72bd75e3a
Added page titles to many missing app areas
...
Many pages were missing their unique tab/page titles
so this change is just to distribute them back over
many common areas where they were missing.
2022-01-04 13:33:24 +00:00
Dan Brown
31f1dca8a8
Added detection and thumbnail bypass for apng images
...
Adds apng sniffing when generating thumbnails with retained ratios to
serve the original image files, as we do for GIF images, to prevent
the image being resized to a static version.
Is more tricky than GIF since apng file mimes and extensions
are the same as png, we have to detect part of the file header
to sniff the type. Means we have to sniff at a later stage
than GIF since we have to load the image file data.
Made some changes to the image thubmnail caching while doing
this work to fit in with this handling.
Added test to cover.
For #3136 .
2022-01-04 13:10:35 +00:00
Dan Brown
819ec55b1b
Fixed code block language parsing issue
...
Language parsing of code blocks could falter on pasted code blocks due
to the lanuage being parsed with a space which would throw an error when
used as a css class.
This adds more extensive language parsing to be safer.
Fixes #3133
2022-01-04 11:54:24 +00:00
Dan Brown
dba506a20e
Added search autofocus on entity-selector-popup
...
Closes #3127
2022-01-04 11:30:44 +00:00
Dan Brown
d0de4fd8f9
Fixed failing webhook test cases
2022-01-03 19:51:13 +00:00
Dan Brown
00eedafbfd
Added timeout and debugging statuses to webhooks
...
- Added a user-configurable timeout option to webhooks.
- Added webhook fields for last-call/error datetime, in addition to last
error string, which are shown on webhook edit view.
Related to #3122
2022-01-03 19:42:48 +00:00
Dan Brown
6e18620a0a
Added webhook call http exception handling
...
Will now catch and log errors on events such as http timeouts.
For #3122
2022-01-03 18:37:56 +00:00
Dan Brown
fe54c7f27a
Added webhook_call_before theme event hook
2022-01-03 18:22:03 +00:00
Dan Brown
65830b428c
Fixed linked images being micro on pdf export
...
Was caused by max-width: 100% causing confusion when images were
inside an anchor. This change resets that property on PDF
exports allowing full width images to be shown as so
without affecting smaller sizes.
Fixes #3120
2022-01-01 18:18:37 +00:00
Dan Brown
b438e0187c
Updated webhooks list to not squash events/status
...
Closes #3135
2022-01-01 17:43:33 +00:00
Dan Brown
8614775c14
Updated sponsors in readme
2021-12-30 16:43:28 +00:00
Dan Brown
09436836a5
Updated version and assets for release v21.12
2021-12-22 17:04:18 +00:00
Dan Brown
bb455d7788
Merge branch 'master' into release
2021-12-22 17:03:50 +00:00
Dan Brown
b0666e5d70
Updated translator contribution before v21.12 release
2021-12-22 16:30:48 +00:00
Dan Brown
fc109f7e1c
Applied latest StyleCI changes
2021-12-20 17:40:27 +00:00
Dan Brown
21f2a7087c
Merge pull request #3118 from BookStackApp/copy_stuff
...
Additional copy/clone abilities
2021-12-20 17:39:44 +00:00
Dan Brown
ff70509fca
Added copy considerations
...
Show to the user when copying stuff to highlight important things such
as what's not copied or change in permissions.
2021-12-20 17:33:19 +00:00
Dan Brown
0288320700
Added ability to clone books
2021-12-19 19:20:31 +00:00
Dan Brown
20e093a7a1
Added ability to copy/clone chapters
...
Builds upon page clone work. Takes permissions into account to decide
if child pages should be copied.
2021-12-19 15:40:52 +00:00
Dan Brown
3f9527f166
Extracted page copy to new cloner class
...
Fundemental refactor for planned additional clone operations.
No behaviour change intended in this commit.
2021-12-19 12:56:27 +00:00
Dan Brown
da01913616
Added ability to copy a role
...
- Copies via loading in model on create view.
- Updated role views while editing to bring up to similar format as
that used for more modern app areas.
- Added tests to cover.
Related to #1123
2021-12-19 12:27:14 +00:00
Dan Brown
67b6c07548
Updated failing tests, Applied StyleCI changes
2021-12-18 16:41:42 +00:00
Dan Brown
bb9cd9d610
Aligned password length requirements
...
Updated all password validation to use central password defaults
system while updating length requirements to now all match
at 8 characters minimum.
Some language text was technically correct (More than 7 characters)
but this has been updated for clarity and to prompt other translations
to be updated.
Closes #2237
2021-12-18 16:33:40 +00:00
Dan Brown
04f37e21e2
Applied latest StyleCI changes
2021-12-18 11:43:05 +00:00
Dan Brown
a3ead5062a
Merge branch 'webhooks'
2021-12-18 11:40:08 +00:00
Dan Brown
24e29c523b
Aligned notification capitalisation
2021-12-18 11:24:58 +00:00
Dan Brown
04d59763c3
Updated auditlog IP search test
...
To ensure the test covers filtering logic.
Related to #3081 .
2021-12-18 11:05:41 +00:00
Dan Brown
5c04f25c86
Merge branch 'search-by-ip' of https://github.com/johnroyer/BookStack into johnroyer-search-by-ip
2021-12-18 10:58:07 +00:00
Dan Brown
767a82fb41
Reverted unrequired use of mb_ function
2021-12-18 10:43:43 +00:00
Dan Brown
5c5a3de7cb
Merge branch 'fix/multibyte-safe-search'
2021-12-18 10:40:38 +00:00
Dan Brown
c6e3e85e82
Added test case for multibyte search highlighting
...
Related to #3113
2021-12-18 10:38:33 +00:00
Kristian Krastev
d0fd1b7f5c
Make building of search results work for multi-byte encoded characters
2021-12-15 16:29:43 +02:00
Dan Brown
009212ab80
Updated version and assets for release v21.11.3
2021-12-15 14:08:37 +00:00
Dan Brown
ba9cb591c8
Merge branch 'master' into release
2021-12-15 14:08:17 +00:00
Dan Brown
632cb71af4
Updated translator attribution before release v21.11.3
2021-12-15 14:07:54 +00:00
Dan Brown
74ab99ec41
Updated php deps
2021-12-15 14:00:30 +00:00
Dan Brown
aa9dafec85
Altered mysql start command in workflows
...
Due to https://github.com/actions/virtual-environments/issues/4732
2021-12-15 13:56:21 +00:00
Dan Brown
73a37b3cd9
Applied latest StyleCI changes
2021-12-15 13:49:20 +00:00
Dan Brown
e43f679e62
Merge branch 'user_list_control'
2021-12-15 13:47:48 +00:00
Dan Brown
57fc1ba38f
New Crowdin updates ( #3093 )
...
* New translations auth.php (Vietnamese)
* New translations entities.php (Norwegian Bokmal)
* New translations common.php (Norwegian Bokmal)
* New translations entities.php (Norwegian Bokmal)
* New translations auth.php (Spanish, Argentina)
* New translations entities.php (Spanish, Argentina)
* New translations errors.php (Spanish, Argentina)
* New translations auth.php (Ukrainian)
* New translations auth.php (Ukrainian)
* New translations common.php (Ukrainian)
* New translations entities.php (Ukrainian)
* New translations errors.php (Ukrainian)
* New translations settings.php (Ukrainian)
* New translations validation.php (Ukrainian)
* New translations entities.php (Japanese)
* New translations common.php (Japanese)
* New translations entities.php (Japanese)
* New translations auth.php (Portuguese)
* New translations auth.php (Portuguese)
* New translations common.php (Portuguese)
* New translations entities.php (Portuguese)
2021-12-15 13:46:49 +00:00
Dan Brown
e765e61854
Addressed user detail harvesting issue
...
Altered access & usage of the /search/users/select endpoint with the
following changes:
- Removed searching of email address to prevent email detail discovery
via hunting via search queries.
- Required the user to be logged in and have permission to manage users
or manage permissions on items in some way.
- Removed the user migration option on user delete unless they have
permission to manage users.
For #3108
Reported in https://huntr.dev/bounties/135f2d7d-ab0b-4351-99b9-889efac46fca/
Reported by @haxatron
2021-12-14 18:47:22 +00:00
Dan Brown
d00ac3101d
Allowed database queue usage where desired
2021-12-13 18:34:18 +00:00
Dan Brown
f27d0d5aeb
Added testing to cover webhook calling
...
Migrated call logic to Laravel's HTTP client for easier testing
capabilities.
2021-12-12 19:01:50 +00:00
Dan Brown
8d8b45860a
Updated REST API docs with links to webhooks & theme-systems
2021-12-12 18:14:22 +00:00
Dan Brown
3bf34b6a0d
Added webhook format example to webhook management views
2021-12-12 18:02:08 +00:00
Dan Brown
dbd4281ae8
Added active toggle to webhooks
...
To allow easy temporary de-activation without deletion or other
workarounds. Updated tests to cover.
2021-12-12 17:39:06 +00:00
Dan Brown
917598f7c8
Added webhook call functionality
2021-12-11 22:29:33 +00:00
Dan Brown
9079700170
Refactored the activity service
...
- Renamed to "ActivityLogger" to be more focused in usage.
- Extracted out query elements to seperate "ActivityQueries" class.
- Removed old 'addForEntity' activity method to limit activity record
points.
2021-12-11 17:29:33 +00:00
Dan Brown
f2cb3b94f9
Added missing migration down table drop
2021-12-10 14:58:14 +00:00
Dan Brown
6381041252
Added testing for webhook management interface
2021-12-10 14:54:58 +00:00
Zero
7d13666039
Add unit test for ip addess searching
2021-12-10 15:11:30 +08:00
Zero
e6e92618b1
Fix PHP CS
2021-12-10 14:58:05 +08:00
Zero
2342f0c1c7
Fix UI error of IP searching input box
2021-12-10 14:50:04 +08:00
Zero
ee1106630e
Update translation setting in blade
2021-12-10 14:50:04 +08:00
Zero
93e80e5d4e
Delete duplicated translation
2021-12-10 14:50:04 +08:00
Zero
72d19968dd
Search IP by partial-equal
2021-12-10 14:50:04 +08:00
Zero
2fd7b1f0d5
Update index name to 'activities_ip_index'
2021-12-10 14:50:04 +08:00
Zero
a93254430c
Add index for user IP address
2021-12-10 14:50:04 +08:00
Zero
e686b2cf3c
Show current search IP
2021-12-10 14:50:04 +08:00
Zero
4e63554cc6
Add an hidden submit
...
This hidden submit makes auto submit while user press Enter on IP
input field.
2021-12-10 14:50:04 +08:00
Zero
882f195927
Add margin right for IP input box
2021-12-10 14:50:04 +08:00
Zero
a12e346439
Add filter of user IP
2021-12-10 14:50:04 +08:00
Zero
8dee3d3a83
Add label translation
2021-12-10 14:50:04 +08:00
Zero
0e25298db9
Fix label and input box error
2021-12-10 14:50:04 +08:00
Zero
9cac6fad73
Add IP address search field mock
2021-12-10 14:50:04 +08:00
Dan Brown
8716b1922b
Completed webhook management interface
...
Got webhook CRUD actions in place within the interface.
Quick manual test pass done, Needs automated tests.
2021-12-08 17:35:58 +00:00
Dan Brown
4621d8bcc5
Initial controller/views for webhooks management
2021-12-08 14:29:42 +00:00
Dan Brown
a3a3055695
Started webhook implementation
2021-12-07 14:55:11 +00:00
Dan Brown
867cbe15ea
Added link to OIDC docs in .env.example.complete
2021-12-07 13:45:43 +00:00
Dan Brown
b22dd3cb88
Added url and preview_html params to search API results
...
Allows easy direct linking and usage of the HTML preview content
we show in the UI when viewing search results.
Note: preview_html content is a rough representation only, it does not
match exactly what was matched in the database-search-operation which
finds the results.
For #3096 and #3080
2021-12-06 20:42:04 +00:00
Dan Brown
d00ac2f34e
Updated version and assets for release v21.11.2
2021-11-30 14:30:19 +00:00
Dan Brown
bd4dc6d463
Merge branch 'master' into release
2021-11-30 14:29:53 +00:00
Dan Brown
e6c8ecba9c
Merge branch 'master' of github.com:BookStackApp/BookStack
2021-11-30 14:25:27 +00:00
Dan Brown
9490457d04
Applied StyleCI changes
2021-11-30 14:25:09 +00:00
Dan Brown
3e97fdf827
New Crowdin updates ( #3076 )
...
* New translations entities.php (Chinese Simplified)
* New translations settings.php (Portuguese, Brazilian)
* New translations validation.php (Portuguese, Brazilian)
* New translations common.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations auth.php (Turkish)
2021-11-30 14:24:35 +00:00
Dan Brown
3b3eb0f44f
Updated API session auth to consider public access setting
...
For #3091
2021-11-30 13:55:56 +00:00
Dan Brown
b4fa82e329
Fixed related permissions query not considering drafts
...
Page-related items added on drafts could be visible in certain scenarios
since the applied permissions query filters would not consider
page draft visibility.
This commit alters queries on related items to apply such filtering.
Included test to cover API scenario.
Thanks to @haxatron for reporting.
2021-11-30 00:06:17 +00:00
Dan Brown
42703dd859
Tweaked pdf export iframe replacement to fix compatibility
...
Was using a method that wasn't a proper available part of the
DomElement API.
2021-11-28 21:01:35 +00:00
Dan Brown
2c21850da7
Added conversion of iframes to anchors on PDF export
...
- Replaced iframe elements with anchor elements wrapped in a paragraph.
- Extracted PDF generation action to seperate class for easier mocking
within testing.
- Added test to cover.
For #3077
2021-11-25 15:12:32 +00:00
Dan Brown
709533c1fb
Fixed up logical theme docs a tad
...
- Added link to video guide on YouTube.
- Formalised the customCommand docs parts I hastily added before.
2021-11-24 18:58:46 +00:00
Dan Brown
d91180a909
Updated version and assets for release v21.11.1
2021-11-23 20:44:36 +00:00
Dan Brown
bc2913a5cb
Merge branch 'master' into release
2021-11-23 20:44:12 +00:00
Dan Brown
cd7788f2e9
Updated translators and merged styleci fixes
2021-11-23 20:41:12 +00:00
Dan Brown
f63d7f60aa
New Crowdin updates ( #3057 )
...
* New translations auth.php (Chinese Simplified)
* New translations common.php (Chinese Simplified)
* New translations entities.php (Chinese Simplified)
* New translations common.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations activities.php (Chinese Simplified)
* New translations entities.php (Chinese Simplified)
* New translations auth.php (Russian)
* New translations common.php (Russian)
* New translations common.php (Russian)
* New translations entities.php (Russian)
* New translations errors.php (Russian)
* New translations settings.php (Russian)
* New translations auth.php (Italian)
* New translations common.php (Italian)
* New translations entities.php (Italian)
* New translations entities.php (Italian)
* New translations auth.php (Estonian)
2021-11-23 20:38:52 +00:00
Dan Brown
197caddf96
Changed homepage card header links to be bottom-card-links
...
The old links in the headers were not obvious. This changes the
header-based links to instead be a link at the bottom of the card.
Related to #3046
2021-11-23 18:18:49 +00:00
Dan Brown
096ed722dd
Added use of the prefers-contrast media query
...
Used upon areas we usually fade-out to provide a focused user
experience. If the user desires more contrasted we prevent this
behaviour using the prefers-contrast media query.
Related to #2634
2021-11-23 15:49:54 +00:00
Dan Brown
024924eef3
Applied another round of static analysis updates
2021-11-22 23:33:55 +00:00
Dan Brown
1bf59f434b
Tweaked custom command registration, Added StyleCI fixes
...
Old command registration method was interfering with default commands,
causing only a limited subset of commands to show overall.
This change follows the method the frameworks uses when loading in from a
directory to prevent issues with run/load order.
2021-11-22 22:22:31 +00:00
Dan Brown
c6e196989e
Merge pull request #3072 from BookStackApp/logical_theme_commands
...
Support custom commands via logical theme system
2021-11-22 19:08:15 +00:00
Dan Brown
cb30c258df
Added test for logical-theme-system command registration
...
Changed how the command registration was handled due to complications of
action order found during testing. Now the theme service will resolve
and directly register the command on the Kernel instead of them being
fetched from the ThemeService from within Kernel.
More direct, Seems to work.
2021-11-22 19:03:04 +00:00
Dan Brown
cdaad2f40e
Support custom commands via logical theme system
...
Added initial work to support registering commands through the logical
theme system. Includes docs changes and example.
Not yet covered via testing.
2021-11-22 18:30:58 +00:00
Dan Brown
4ddbc9556b
Merge branch 'assign_ids_to_nested_headers' of https://github.com/Julesdevops/BookStack into Julesdevops-assign_ids_to_nested_headers
2021-11-22 16:34:28 +00:00
Dan Brown
9a5adc026a
Updated test to ensure autofocus is set on TOTP input
2021-11-22 13:28:46 +00:00
Robert Accettura
37db51a627
Update verify-totp.blade.php
2021-11-21 23:15:37 -05:00
julesdevops
f8c16494fd
feat(PageContent): set unique ids on nested headers
2021-11-21 22:45:25 +01:00
Robert Accettura
0d740ca681
Set taborder for TOTP Verification
...
Adding tabindex=0 means when pressing tab the focus goes right to the TOTP input field. When using a Password Manager this makes it easier than having to hit tab 3X to get the right focus.
2021-11-21 15:40:11 -05:00
Dan Brown
876bc10d4d
Applied another set of static analysis improvements
2021-11-20 14:03:56 +00:00
Dan Brown
754403a29e
Added video guide link to visual theme system docs
2021-11-18 21:04:25 +00:00
Dan Brown
4802394562
Updated version and assets for release v21.11
2021-11-16 13:22:24 +00:00
Dan Brown
1755556468
Merge branch 'master' into release
2021-11-16 13:21:44 +00:00
Dan Brown
05ef23d34e
New Crowdin updates ( #3040 )
2021-11-16 12:31:37 +00:00
Dan Brown
79c75f9296
Updated translators and made StyleCI changes
2021-11-16 12:29:50 +00:00
Dan Brown
555723a966
Fixed tags listing grouping by name only on search
...
Included test to cover case
2021-11-15 19:00:37 +00:00
Dan Brown
056d7c119f
Updated php packages
2021-11-15 18:39:38 +00:00
Dan Brown
226f296c9c
Removed extra border around markdown editor box
2021-11-15 11:37:17 +00:00
Dan Brown
b546098b36
Fixed page editor back button sometimes going nowhere
...
Updated the back button to be a proper link instead of a reference to
the last viewed URL since it could break if the last page was the
current one (On validation for example).
Includes test to cover.
Also applied some styleCI changes.
Fixes #2834
2021-11-15 11:19:03 +00:00
Dan Brown
88e6f93abf
Prevented auto-login from direct email confirmation actions
...
Was done for convenience but could potentially be exploited by an
attacker using signing up via one of these routes, then forwarding
an email confirmation to another user so they unknowingly utilise
an account someone else controls.
Tweaks the flow of confirming email, and the user invite flow.
For #3050
2021-11-15 10:50:28 +00:00
Dan Brown
e29d03ae76
Updated page includes to be top-level for code blocks
...
This change means that code blocks are now included still wrapped in
their pre tags, as we do for tables and lists.
Previously the <code> inner content would be included which would lead
to a generally bad/broken presentation.
Hopefully should not be a breaking change as section include tags for
code was tricky to get to, and it was in a semi-broken state.
For #2406
2021-11-15 00:48:05 +00:00
Dan Brown
85154fff69
Added an env configurable file upload size limit
...
Replaces the old suggestion of setting JS head 'window.uploadLimit'
variable. This new env option will be used by back-end validation and
front-end libs/logic too.
Limits already likely exist within prod environments at a PHP and
webserver level but this allows an app-level limit and centralises the
option on the BookStack side into the .env
Closes #3033
2021-11-14 22:03:22 +00:00
Dan Brown
f910738a80
Changed logout routes to POST instead of GET
...
As per #3047 .
Also made some SAML specific fixes:
- IDP initiated login was broken due to forced default session value.
Double checked against OneLogin lib docs that this reverted logic was fine.
- Changed how the saml login flow works to use 'withoutMiddleware' on
the route instead of hacking out the session driver. This was due to
the array driver (previously used for the hack) no longer being
considered non-persistent.
2021-11-14 21:13:24 +00:00
Dan Brown
fceb4ecc07
Fixed sponsor image logo paths
...
Broke due to website branch name change
2021-11-14 16:53:01 +00:00
Dan Brown
6f1bdbf771
Added API search endpoint
...
Is a little awkward, emulates a 'list' API endpoint but has unstable
paging and does not support filters/sort. This is detailed on the
endpoint though.
Made some updates to the docs system to better support parameters
and examples on GET requests.
Includes tests to cover.
For #909
2021-11-14 16:28:01 +00:00
Dan Brown
2051189921
Added /api => /api/docs redirect for convenience.
2021-11-14 15:20:04 +00:00
Dan Brown
7025cb38df
Removed prefix route groups, applyed styleci changes
...
Removing prefix route groups out of visual preference.
Those don't really save much and I prefer seeing the complete
paths when going down the list to better guage where I am.
2021-11-14 15:16:18 +00:00
Dan Brown
2e49b16177
Prevented created/update_by filters be wiped in search
...
Updating filters via sidebar would wipe the created_by/update_by filters
since these were not part of the sidebar filter form.
This adds them, if existing, as hidden inputs.
Includes tests to cover.
Closes #2736
2021-11-14 15:07:13 +00:00
Dan Brown
8e71cd9bac
Fixed issue where markdown drafts showed as HTML
...
Markdown content was not being stored, only the sent
HTML representation, causing the draft to show as HTML upon next edit.
Added test to cover.
Fixes #3054
2021-11-14 12:17:22 +00:00
Dan Brown
89f7f8e259
Hid skip-to-content for print media
...
Fixes #3051
2021-11-14 11:50:13 +00:00
Dan Brown
f2ee95ca03
Merge pull request #3043 from BookStackApp/search_improvements_a
...
Search Engine Improvement
2021-11-13 15:13:29 +00:00
Dan Brown
fc7bd57dc8
Fixed occurances of altered titles in search results
2021-11-13 15:04:04 +00:00
Dan Brown
21d3620ef0
Attempted to make test a bit less flaky
2021-11-13 14:51:59 +00:00
Dan Brown
755dc99c72
Made further tweaks to search results formatting
...
- Updated page names to not be limited to a certain length.
- Added better start/end fill logic.
- Prevented <strong> tags from being counted towards the target content
length desired from the formatter.
2021-11-13 14:37:40 +00:00
Dan Brown
221458ccfd
Fixed failing tests due to search highlighting changes
2021-11-13 13:43:41 +00:00
Dan Brown
2633b94deb
Applied StyleCI changes
2021-11-13 13:28:17 +00:00
Dan Brown
63d8d72d7e
Added testing to cover search result highlighting
2021-11-13 13:26:11 +00:00
Dan Brown
339518e2a6
Added tag highlighting in search
...
Using basic match of name or value containing a general term.
2021-11-13 13:02:32 +00:00
Dan Brown
ab4e99bb18
Added name highlighting in search results
2021-11-13 12:44:27 +00:00
Dan Brown
f30b937bb0
Added search result preview text highlighting
...
Created a new class to manage formatting of content for search results.
Turned out to be quite a complex task. This only does the preview text
so far, not titles or tags.
Not yet tested.
2021-11-12 22:57:50 +00:00
Dan Brown
7d0724e288
Added auto-conversion of search terms to exact values
...
Will occur when a search term contains a character that's used to split
content into search terms.
Added testing to cover.
2021-11-12 18:03:44 +00:00
Dan Brown
99587a0be6
Added tag values as part of the indexed search terms
...
This allows finding content via tag name/values when just searching
using normal seach terms.
Added testing to cover.
Related to #1577
2021-11-12 17:06:01 +00:00
Dan Brown
f28daa01d9
Added page content parsing to up-rank header text in search
...
This adds parsing of page content so that headers apply a boost to
scores in the search term index.
Additionally, this merges title and content terms to reduce the amount
of stored terms a little.
Includes testing to cover.
2021-11-12 13:47:23 +00:00
Dan Brown
820be162f5
Updated regen-search command to show some level of progress
2021-11-11 14:10:11 +00:00
Dan Brown
9f32613982
Refactored search indexer, Increase title/name score boost
...
- Title score boost changed from 5 to 40 (8x increase).
- Extracted entity parsing to its own function
2021-11-11 13:36:49 +00:00
Dan Brown
0ddd052818
Added missing comments or types
...
Checked over latest changes for potential SQL injection, all variable
usages are either (from trusted sourced AND case) or using
parameters/bindings to ensure it's handled at driver/lib level.
2021-11-09 15:13:15 +00:00
Dan Brown
da17004c3e
Added test to cover search frquency rank changes
2021-11-09 15:05:02 +00:00
Dan Brown
bc472ca2d7
Improved relation loading during search
...
Relations now loaded during back-end query phase instead of being lazy
loaded one-by-one within views.
Reduced queries in testing from ~60 to ~20.
Need to check other areas list-item.php's "showPath" option is used to
ensure relations are properly loaded for those listings.
2021-11-08 15:24:49 +00:00
Dan Brown
b3e1c7da73
Applied styleci fixes and pluck improvement as per larastan
2021-11-08 15:00:47 +00:00
Dan Brown
7405613f8d
Added search term score popularity adjustment
...
Adds adjustment of search term 'score' (Using in result ranking) so that
a relative 0.3 to 1.3 mulitplier is applied based upon relative
popularity within the whole database. At this point the term popularity
is still done via a prefix match against the search term.
Uses a SUM(IF(cond, a, IF(cond, a, ...))) chain to produce the scoring
result in the select query.
2021-11-08 14:23:48 +00:00
Dan Brown
b0b6f466c1
Reduced data retreived from database on page search
2021-11-08 11:41:14 +00:00
Dan Brown
9e0164f4f4
Further search system refactorings
...
- Moved search term querying to its own method.
- Updated Large content seeder to be more performant
2021-11-08 11:29:25 +00:00
Dan Brown
e1b8fe45b0
Refactored search runner a little to be neater
2021-11-08 11:04:27 +00:00
Dan Brown
f2b1d2e1e7
Applied latest StyleCI changes
2021-11-06 22:00:33 +00:00
Dan Brown
921e25e7e1
Merge pull request #3042 from BookStackApp/tags_view
...
Tag view
2021-11-06 21:59:34 +00:00
Dan Brown
899349c4b4
Added testing coverage for tag index
...
Also:
- Extracted out index table row to its own view.
- Added empty state.
- Ensured query params are set on pagination links.
2021-11-06 21:54:02 +00:00
Dan Brown
f8f9e74992
Added links to tag page
...
- Added from books/shelves listings and within the tag-edit view for all
entities.
2021-11-06 20:21:11 +00:00
Dan Brown
929c8312bd
Started build of tag view
...
- Created listing
- Allows drilldown to tag name
- Shows totals
Not yet covered via testing
2021-11-06 16:30:20 +00:00
Dan Brown
8d7c8ac8bf
Done a round of phpstan fixes
2021-11-06 00:32:01 +00:00
Dan Brown
5c6a6b50a0
Applied StyleCI changes, added php/larastan to attribution
2021-11-05 16:27:59 +00:00
Dan Brown
bc291bee78
Added inital phpstan/larastan setup
2021-11-05 16:18:06 +00:00
Dan Brown
d0aa10a8c3
Applied styleci changes
2021-11-05 00:28:41 +00:00
Dan Brown
06b5009842
Standardised laravel validation to be array based
...
Converted from string-only-based validation.
Array based validation works nicer once you have validation classess or
advanced validation options.
2021-11-05 00:26:55 +00:00
Dan Brown
0ba8541370
Updated npm deps
2021-11-04 23:07:36 +00:00
Dan Brown
22024df508
Merge branch 'master' of github.com:BookStackApp/BookStack
2021-11-04 22:58:15 +00:00
Dan Brown
de5322288c
Applied latest styleci changes
2021-11-04 22:57:49 +00:00
Dan Brown
9542509584
New Crowdin updates ( #3038 )
...
Just crowdin aligning string quote styles
2021-11-04 22:57:04 +00:00
Dan Brown
1eed8d6325
Removed style in discord logo to prevent clash with twitter logo
...
Both were using the same class names causing a quadrant of the slack logo
to be the discord brand color.
Related to #3032
2021-11-04 22:52:35 +00:00
Dan Brown
b9a58859a4
Merge branch 'modernize-3rd-party-service-logos' of https://github.com/na3shkw/BookStack into na3shkw-modernize-3rd-party-service-logos
2021-11-04 22:45:57 +00:00
Dan Brown
c9c4dbcb5b
Merge branch 'laravel_upgrade'
2021-11-04 22:42:35 +00:00
Dan Brown
6f75aa9cdc
Reverted shift change to old migration
2021-11-04 22:38:55 +00:00
Dan Brown
9c680efaad
Updated php packages, Added php8.1 to GH actions
2021-11-04 22:29:36 +00:00
Dan Brown
cccee0808f
Updated API examples with date format changes
...
Updated to full ISO-8601 to reflect change in Laravel 7.
2021-11-04 22:02:21 +00:00
Dan Brown
01cdbdb7ae
Updated version and assets for release v21.10.3
2021-11-01 13:31:10 +00:00
Dan Brown
fc8bbf3eab
Merge branch 'master' into release
2021-11-01 13:30:36 +00:00
Dan Brown
a17be959d8
Applied latest styleci changes
2021-11-01 13:26:02 +00:00
Dan Brown
ce3f489188
Merge branch '3027_attachment_vuln'
2021-11-01 13:25:12 +00:00
Dan Brown
f4201e5740
New Crowdin updates ( #3023 )
...
* New translations errors.php (Polish)
* New translations activities.php (Dutch)
* New translations auth.php (Dutch)
* New translations common.php (Dutch)
* New translations entities.php (Dutch)
* New translations auth.php (Dutch)
* New translations auth.php (Dutch)
* New translations auth.php (Dutch)
* New translations settings.php (Latvian)
2021-11-01 13:16:15 +00:00
na3shkw
7e2c1b31a1
Modernize third party services' logos
2021-11-01 12:41:23 +00:00
Dan Brown
bfbccbede1
Updated attachments to not be saved with a complete extension
...
Intended to limit impact in the event the storage path is potentially
exposed.
2021-11-01 11:32:00 +00:00
Dan Brown
4360da03d4
Ran a pass through image and attachment routes
...
Added some stronger types, formatting changes and simplifications along
the way.
2021-11-01 11:17:30 +00:00
Dan Brown
c7fea8fe08
Cleaned up logic within ImageRepo
...
- Moved out extension check to ImageService as that seems more relevant.
- Updated models to use static-style references instead of facade to align with common modern usage within the app.
- Updated custom image_extension validation rule to use shared logic in image service.
2021-11-01 00:24:42 +00:00
Dan Brown
43830a372f
Updated showImage file serving to not be traversable
...
For #3030
2021-10-31 23:53:17 +00:00
Dan Brown
ae155d6745
Added safe mime sniffing to prevent serving HTML
...
(Amoung other content types)
For #3027
2021-10-31 17:58:56 +00:00
Dan Brown
5c834f24a6
Updated AzureAD provider to use microsoft graph
...
Since AzureAD graph is going away.
Tested using old AzureAD graph usage for backwards-compatbility, did not
seem to break things. Could not test with conditional access though due
to azure never enforcing it no matter what I attempted.
Fpr #3028
2021-10-31 13:09:30 +00:00
Dan Brown
98b23fd7ab
Moved from debugbar to clockwork
2021-10-30 22:03:36 +01:00
Dan Brown
f139cded78
Laravel 8 shift squash & merge ( #3029 )
...
* Temporarily moved back config path
* Apply Laravel coding style
* Shift exception handler
* Shift HTTP kernel and middleware
* Shift service providers
* Convert options array to fluent methods
* Shift to class based routes
* Shift console routes
* Ignore temporary framework files
* Shift to class based factories
* Namespace seeders
* Shift PSR-4 autoloading
* Shift config files
* Default config files
* Shift Laravel dependencies
* Shift return type of base TestCase methods
* Shift cleanup
* Applied stylci style changes
* Reverted config files location
* Applied manual changes to Laravel 8 shift
Co-authored-by: Shift <shift@laravelshift.com >
2021-10-30 21:29:59 +01:00
Dan Brown
85dc8d9791
Updated sponsor link
2021-10-30 11:51:49 +01:00
Dan Brown
5fd10e695a
Added sponsors to readme, updated license file
2021-10-29 21:37:10 +01:00
Dan Brown
3cdab19319
Updated version and assets for release v21.10.2
2021-10-28 15:57:04 +01:00
Dan Brown
5661d20e87
Merge branch 'master' into release
2021-10-28 15:56:49 +01:00
Dan Brown
e7bec79f25
New Crowdin updates ( #3014 )
...
* New translations entities.php (Estonian)
* New translations entities.php (Estonian)
2021-10-28 15:55:13 +01:00
Dan Brown
4f55fe2f8e
Made further changes to page image extraction validation
...
Fixes #3019
Increased testing to cover the failing case amoung others.
2021-10-28 15:54:00 +01:00
Dan Brown
91f80123e8
Merge branch 'master' into release
2021-10-27 12:35:00 +01:00
Dan Brown
7a0636d0f8
Updated version and assets for release v21.10.1
2021-10-27 12:31:40 +01:00
Dan Brown
3166541002
Added test to cover #3010
2021-10-27 12:29:01 +01:00
Dan Brown
b31fbf5ba8
Merge branch 'master' of https://github.com/haxatron/BookStack into haxatron_upload_issue
2021-10-27 12:21:27 +01:00
Dan Brown
624d55a773
New Crowdin updates ( #3006 )
...
* New translations auth.php (Latvian)
* New translations errors.php (Latvian)
* New translations auth.php (Latvian)
* New translations entities.php (Latvian)
* New translations settings.php (Latvian)
* New translations settings.php (Estonian)
* New translations entities.php (Estonian)
* New translations settings.php (Estonian)
* New translations validation.php (Estonian)
* New translations entities.php (Estonian)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Vietnamese)
* New translations settings.php (Slovenian)
* New translations settings.php (Swedish)
* New translations settings.php (Turkish)
* New translations settings.php (Ukrainian)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Russian)
* New translations settings.php (Indonesian)
* New translations settings.php (Persian)
* 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 (Slovak)
* New translations settings.php (Portuguese)
* New translations settings.php (Polish)
* New translations settings.php (Catalan)
* New translations settings.php (Estonian)
* New translations settings.php (Japanese)
* New translations settings.php (French)
* New translations settings.php (Spanish)
* New translations settings.php (Arabic)
* New translations settings.php (Bulgarian)
* New translations settings.php (Czech)
* New translations settings.php (Dutch)
* New translations settings.php (Danish)
* New translations settings.php (German)
* New translations settings.php (Hebrew)
* New translations settings.php (Hungarian)
* New translations settings.php (Italian)
* New translations settings.php (Korean)
* New translations settings.php (Lithuanian)
* New translations settings.php (German Informal)
* New translations settings.php (Polish)
* New translations settings.php (French)
* New translations settings.php (German)
* New translations settings.php (German Informal)
2021-10-27 12:17:53 +01:00
Dan Brown
f77236aa38
Laravel 7.x Shift ( #3011 )
...
* Apply Laravel coding style
* Shift bindings
* Shift core files
* Shift to Throwable
* Add laravel/ui dependency
* Shift Eloquent methods
* Shift config files
* Shift Laravel dependencies
* Shift cleanup
* Shift test config and references
* Applied styleci changes
* Applied fixes post shift to laravel 7
Co-authored-by: Shift <shift@laravelshift.com >
2021-10-26 22:04:18 +01:00
Dan Brown
42f0ba1875
Added security policy md file
2021-10-26 16:09:41 +01:00
Dan Brown
0d312e5348
Merge pull request #3008 from IndrekHaav/et-typo
...
Minor capitalisation fix for Estonian
2021-10-26 13:33:27 +01:00
Dan Brown
7b244ea012
Updated php deps
...
Also removes abandoned status of sebastian/resource-operations as per
issue #3007
2021-10-26 13:12:40 +01:00
Indrek Haav
538b5ef4eb
Minor capitalisation fix for Estonian
2021-10-26 15:09:38 +03:00
Haxatron
64937ab826
Update ImageRepo.php
...
fix image validation vulnerability
2021-10-26 09:39:16 +08:00
Dan Brown
0fe5bdfbac
Updated version and assets for release v21.10
2021-10-25 15:59:23 +01:00
Dan Brown
f88687e977
Merge branch 'master' into release
2021-10-25 15:58:59 +01:00
Dan Brown
a5401eb00a
New Crowdin updates ( #3005 )
...
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Polish)
* New translations settings.php (Estonian)
* New translations errors.php (Spanish, Argentina)
* New translations settings.php (Japanese)
* New translations activities.php (German Informal)
* New translations auth.php (German Informal)
* New translations settings.php (French)
* New translations settings.php (Spanish)
* New translations settings.php (Arabic)
* New translations settings.php (Bulgarian)
* New translations settings.php (Catalan)
* New translations settings.php (Norwegian Bokmal)
* New translations settings.php (German Informal)
* New translations settings.php (Bosnian)
* New translations settings.php (Czech)
* New translations settings.php (Slovak)
* New translations settings.php (Danish)
* New translations settings.php (German)
* New translations settings.php (Hebrew)
* New translations settings.php (Hungarian)
* New translations settings.php (Italian)
* New translations settings.php (Korean)
* New translations settings.php (Lithuanian)
* New translations settings.php (Dutch)
* New translations settings.php (Portuguese)
* New translations settings.php (Russian)
* New translations settings.php (Slovenian)
* New translations settings.php (Latvian)
* New translations settings.php (Swedish)
* New translations settings.php (Turkish)
* New translations settings.php (Ukrainian)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Chinese Traditional)
* 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 (Croatian)
* New translations validation.php (German Informal)
2021-10-25 15:01:32 +01:00
Dan Brown
fa466139f0
Updated translators before v21.10 release
2021-10-25 14:49:21 +01:00
Dan Brown
a75cfd1f25
Added estonian to language logic
2021-10-25 14:49:03 +01:00
Dan Brown
9c2b8057ab
New Crowdin updates ( #2983 )
...
* New translations auth.php (Polish)
* New translations common.php (Polish)
* New translations entities.php (Polish)
* New translations auth.php (Polish)
* New translations common.php (Polish)
* New translations settings.php (Polish)
* New translations validation.php (Polish)
* New translations activities.php (Estonian)
* New translations auth.php (Estonian)
* New translations common.php (Estonian)
* New translations components.php (Estonian)
* New translations entities.php (Estonian)
* New translations errors.php (Estonian)
* New translations pagination.php (Estonian)
* New translations passwords.php (Estonian)
* New translations settings.php (Estonian)
* New translations validation.php (Estonian)
* New translations activities.php (Estonian)
* New translations activities.php (Estonian)
* New translations auth.php (Estonian)
* New translations common.php (Estonian)
* New translations components.php (Estonian)
* New translations entities.php (Estonian)
* New translations pagination.php (Estonian)
* New translations passwords.php (Estonian)
* New translations entities.php (Estonian)
* New translations errors.php (Estonian)
* New translations validation.php (Estonian)
* New translations settings.php (Estonian)
* New translations auth.php (Estonian)
* New translations entities.php (Estonian)
* New translations passwords.php (Estonian)
* New translations settings.php (Estonian)
* New translations auth.php (Estonian)
* New translations entities.php (Estonian)
* New translations errors.php (Estonian)
* New translations settings.php (Estonian)
* New translations settings.php (Estonian)
* New translations errors.php (German)
* New translations errors.php (Portuguese, Brazilian)
* New translations errors.php (Swedish)
* New translations errors.php (Turkish)
* New translations errors.php (Ukrainian)
* New translations errors.php (Chinese Simplified)
* New translations errors.php (Chinese Traditional)
* New translations errors.php (Vietnamese)
* New translations errors.php (Indonesian)
* New translations errors.php (Slovak)
* New translations errors.php (Persian)
* New translations errors.php (Spanish, Argentina)
* New translations errors.php (Croatian)
* New translations errors.php (Latvian)
* New translations errors.php (Bosnian)
* New translations errors.php (Norwegian Bokmal)
* New translations errors.php (Slovenian)
* New translations errors.php (Russian)
* New translations errors.php (Estonian)
* New translations errors.php (Danish)
* New translations errors.php (French)
* New translations errors.php (Spanish)
* New translations errors.php (Arabic)
* New translations errors.php (Bulgarian)
* New translations errors.php (Catalan)
* New translations errors.php (Czech)
* New translations errors.php (Hebrew)
* New translations errors.php (Portuguese)
* New translations errors.php (Hungarian)
* New translations errors.php (Italian)
* New translations errors.php (Japanese)
* New translations errors.php (Korean)
* New translations errors.php (Lithuanian)
* New translations errors.php (Dutch)
* New translations errors.php (Polish)
* New translations errors.php (German Informal)
* New translations errors.php (Spanish)
* New translations auth.php (Estonian)
* New translations entities.php (Estonian)
* New translations errors.php (Estonian)
* New translations activities.php (Japanese)
* New translations activities.php (Japanese)
* New translations auth.php (Japanese)
* New translations components.php (Japanese)
* New translations passwords.php (Japanese)
* New translations errors.php (Estonian)
* New translations settings.php (Estonian)
* New translations validation.php (Estonian)
* New translations errors.php (French)
* New translations activities.php (Japanese)
* New translations settings.php (Japanese)
* New translations entities.php (Japanese)
* New translations settings.php (Japanese)
* New translations common.php (Japanese)
* New translations settings.php (Japanese)
* New translations settings.php (Japanese)
* New translations entities.php (Japanese)
* New translations settings.php (Japanese)
* New translations settings.php (Japanese)
* New translations entities.php (Japanese)
* New translations settings.php (Japanese)
* New translations common.php (Japanese)
* New translations errors.php (Polish)
* New translations auth.php (Estonian)
* New translations components.php (Estonian)
* New translations entities.php (Estonian)
* New translations validation.php (Estonian)
* New translations errors.php (Estonian)
* New translations settings.php (Estonian)
* New translations errors.php (Chinese Simplified)
* New translations auth.php (Japanese)
* New translations auth.php (Japanese)
* New translations common.php (Japanese)
* New translations entities.php (Japanese)
* New translations errors.php (Italian)
* New translations common.php (Japanese)
* New translations auth.php (Italian)
* New translations entities.php (Italian)
* New translations entities.php (Japanese)
* New translations settings.php (Japanese)
* New translations common.php (Japanese)
* New translations entities.php (Japanese)
* New translations entities.php (Estonian)
* New translations settings.php (Estonian)
* New translations validation.php (Japanese)
* New translations errors.php (Japanese)
* New translations validation.php (Japanese)
* New translations auth.php (Japanese)
* New translations settings.php (Japanese)
* New translations activities.php (Indonesian)
* New translations auth.php (Indonesian)
* New translations validation.php (Estonian)
* New translations settings.php (Estonian)
2021-10-25 13:51:27 +01:00
Dan Brown
31ba972cfc
Tweaked sidepart list item padding, Review of #3000
...
- Scoped padding change to just entity-list-items within the sidebar
side reduction of right-hand-padding to zero was causing other
entity-list-items, such as those in the homepage listing, would then
have no padding.
- Updated styles to use css logical properties to retain support for RTL
languages such as Arabic, where the whole interface flips around.
Related: https://css-tricks.com/css-logical-properties-and-values/
2021-10-23 22:03:03 +01:00
Dan Brown
f73b82ee57
Merge branch 'fix_sidebar_css' of https://github.com/ffranchina/BookStack into ffranchina-fix_sidebar_css
2021-10-23 21:54:25 +01:00
Dan Brown
98072ba4a9
Reviewed SAML SLS changes for ADFS, #2902
...
- Migrated env usages to config.
- Removed potentially unneeded config options or auto-set signed options
based upon provision of certificate.
- Aligned SP certificate env option naming with similar IDP option.
Tested via AFDS on windows server 2019. To test on other providers.
2021-10-23 17:26:01 +01:00
Francesco Franchina
0b15e2bf1c
Fixes padding issues of the sidebar's items
2021-10-22 01:34:41 +02:00
Dan Brown
2e9ac21b38
Merge branch 'master' of https://github.com/theodor-franke/BookStack into theodor-franke-master
2021-10-21 14:04:23 +01:00
Dan Brown
129f3286d9
Applied styleci changes
2021-10-20 13:40:27 +01:00
Dan Brown
fe07cdaa06
Merge pull request #2996 from BookStackApp/saml2_acs_session
...
Updated SAML ACS post to retain user session
2021-10-20 13:38:35 +01:00
Dan Brown
cdef1b3ab0
Updated SAML ACS post to retain user session
...
Session was being lost due to the callback POST request cookies
not being provided due to samesite=lax. This instead adds an additional
hop in the flow to route the request via a GET request so the session is
retained. SAML POST data is stored encrypted in cache via a unique ID
then pulled out straight afterwards, and restored into POST for the SAML
toolkit to validate.
Updated testing to cover.
2021-10-20 13:34:00 +01:00
Dan Brown
859934d6a3
Applied latest changes from styleCI
2021-10-20 10:49:45 +01:00
Dan Brown
7bbcaa7cbc
Merge pull request #2986 from BookStackApp/attachments_api
...
Attachments API
2021-10-20 10:46:35 +01:00
Dan Brown
7e28c76e6f
Adjusted API docs table
2021-10-20 10:46:06 +01:00
Dan Brown
60d4c5902b
Added attachment API examples during manual testing
2021-10-20 10:43:03 +01:00
Dan Brown
2409d1850f
Added TestCase for attachments API methods
2021-10-20 00:58:56 +01:00
Dan Brown
c699f176bc
Fixed bug report yaml formatting
2021-10-19 15:15:35 +01:00
Dan Brown
72ad87b123
Update support_request.yml
2021-10-19 14:52:00 +01:00
Dan Brown
5d6d7ef5a7
Converted issues templates to forms
...
Added support request template
2021-10-19 14:49:49 +01:00
Dan Brown
7ad98fc3c3
Update language_request.yml
2021-10-19 14:07:45 +01:00
Dan Brown
0d6f1638fe
Delete language_request.md
2021-10-19 14:06:53 +01:00
Dan Brown
5a4b366e56
Create language_request.yml
2021-10-19 14:05:34 +01:00
Dan Brown
32f6ea946f
Build out core attachments API controller
...
Related to #2942
2021-10-18 17:46:55 +01:00
Dan Brown
1a8a6c609a
Added phpseclib to readme
2021-10-18 11:43:54 +01:00
Dan Brown
cb45c53029
Added base64 image extraction to markdown page content
...
- Included tests to cover.
- Manually tested via API update and interface page update.
Closes #2898
2021-10-18 11:42:50 +01:00
Dan Brown
6e325de226
Applied latest styles changes from style CI
2021-10-16 16:01:59 +01:00
Dan Brown
263384cf99
Merge branch 'oidc'
2021-10-16 15:51:13 +01:00
Dan Brown
68d437d05b
Updated version and assets for release v21.08.6
2021-10-15 14:34:44 +01:00
Dan Brown
1e56aaea04
Merge branch 'master' into release
2021-10-15 14:34:23 +01:00
Dan Brown
5ba964b677
Updated readme with latest version info
...
Also updated version file to be current
2021-10-15 14:30:49 +01:00
Dan Brown
5647a8a091
New Crowdin updates ( #2980 )
...
* New translations entities.php (Spanish, Argentina)
* New translations activities.php (Spanish, Argentina)
* New translations auth.php (Spanish, Argentina)
* New translations settings.php (Spanish, Argentina)
* New translations validation.php (Spanish, Argentina)
* New translations auth.php (Spanish, Argentina)
2021-10-15 14:17:32 +01:00
Dan Brown
f3c147d33b
Applied latest styleci changes
2021-10-15 14:16:45 +01:00
Dan Brown
747f81d5d8
Updated php dependancies
2021-10-15 13:15:32 +01:00
Dan Brown
c9c0e5e16f
Fixed guest user email showing in TOTP setup url
...
- Occured during enforced MFA setup upon login.
- Added test to cover.
Fixes #2971
2021-10-14 18:02:16 +01:00
Dan Brown
d21b60079c
Merge pull request #2977 from BookStackApp/custom_debug_view
...
Added custom whoops-based debug view
2021-10-14 17:41:06 +01:00
Dan Brown
ffa4377e65
Added testing to cover debug view
2021-10-14 17:40:22 +01:00
Dan Brown
9b8bb49a33
Added custom whoops-based debug view
...
Provides a simple bookstack focused view that does not rely on JavaScript.
Contains links to BookStack specific resources in addition to commonly
desired debug details.
2021-10-14 15:33:08 +01:00
Dan Brown
855409bc4f
Fixed lack of oidc discovery filtering during testing
...
Tested oidc system on okta, Keycloak & Auth0
2021-10-14 13:37:55 +01:00
Dan Brown
a5d72aa458
Fleshed out testing for OIDC system
2021-10-13 16:51:27 +01:00
Dan Brown
c167f40af3
Renamed OIDC files to all be aligned
2021-10-12 23:04:28 +01:00
Dan Brown
06a0d829c8
Added OIDC basic autodiscovery support
2021-10-12 23:00:52 +01:00
Dan Brown
790723dfc5
Added further OIDC core class testing
2021-10-12 16:48:54 +01:00
Dan Brown
f3d54e4a2d
Added positive test case for OIDC implementation
...
- To continue coverage and spec cases next.
2021-10-12 00:01:51 +01:00
Dan Brown
6b182a435a
Got OIDC custom solution to a functional state
...
- Validation of all key/token elements now in place.
- Signing key system updated to work with jwk-style array or with
file:// path to pem key.
2021-10-11 23:00:45 +01:00
Dan Brown
8c01c55684
Added token and key handling elements for oidc jwt
...
- Got basic signing support and structure checking done.
- Need to run through actual claim checking before providing details
back to app.
2021-10-11 19:05:16 +01:00
Dan Brown
69301f7575
Merge pull request #2965 from Haxatron/master
...
Update DOMPDF chroot directory
2021-10-11 10:25:28 +01:00
Dan Brown
8ce696dff6
Started on a custom oidc oauth provider
2021-10-10 19:14:08 +01:00
Haxatron
b043257d9a
Update dompdf.php
...
base_path => public_path
2021-10-10 01:06:08 +08:00
Dan Brown
ca764caf2d
Added throttling to password reset requests
2021-10-08 23:19:37 +01:00
Dan Brown
dab170a6fe
Updated version and assets for release v21.08.5
2021-10-08 22:25:36 +01:00
Dan Brown
a8de717d9b
Merge branch 'master' into release
2021-10-08 22:25:05 +01:00
Dan Brown
543ea6ef71
Updated translator attribution before release v21.08.5
2021-10-08 22:24:32 +01:00
Dan Brown
a9b3df537f
Applied changes from styleci
2021-10-08 22:23:17 +01:00
Dan Brown
c2339ac9db
New Crowdin updates ( #2953 )
...
* New translations settings.php (Chinese Simplified)
* New translations entities.php (Slovak)
* New translations entities.php (Portuguese, Brazilian)
* New translations entities.php (Slovenian)
* New translations entities.php (Swedish)
* New translations entities.php (Turkish)
* New translations entities.php (Ukrainian)
* New translations entities.php (Chinese Simplified)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Indonesian)
* New translations entities.php (Portuguese)
* New translations entities.php (Persian)
* New translations entities.php (Spanish, Argentina)
* New translations entities.php (Croatian)
* New translations entities.php (Latvian)
* New translations entities.php (Bosnian)
* New translations entities.php (Norwegian Bokmal)
* New translations entities.php (Russian)
* New translations entities.php (Polish)
* New translations entities.php (Vietnamese)
* New translations entities.php (Danish)
* New translations entities.php (French)
* New translations entities.php (Spanish)
* New translations entities.php (Arabic)
* New translations entities.php (Bulgarian)
* New translations entities.php (Catalan)
* New translations entities.php (Czech)
* New translations entities.php (German)
* New translations entities.php (Dutch)
* New translations entities.php (Hebrew)
* New translations entities.php (Hungarian)
* New translations entities.php (Italian)
* New translations entities.php (Japanese)
* New translations entities.php (Korean)
* New translations entities.php (Lithuanian)
* New translations entities.php (German Informal)
* New translations entities.php (French)
* New translations entities.php (Spanish)
* New translations settings.php (Czech)
* New translations entities.php (Czech)
* New translations activities.php (Czech)
* New translations auth.php (Czech)
* New translations common.php (Czech)
* New translations validation.php (Czech)
* New translations entities.php (Portuguese)
* New translations settings.php (Portuguese)
* New translations entities.php (Portuguese)
* New translations activities.php (Portuguese)
* New translations auth.php (Portuguese)
* New translations common.php (Portuguese)
* New translations validation.php (Portuguese)
* New translations entities.php (Chinese Simplified)
* New translations entities.php (Chinese Simplified)
* New translations activities.php (Ukrainian)
* New translations activities.php (Ukrainian)
2021-10-08 22:22:01 +01:00
Dan Brown
41541df6ec
Added testing to cover work done in last commit
...
Relevant to comments in 7224fbcc89 .
Added test cases. Ensured they failed pre-commit.
Also tested a range of the altered endpoints manually on both local and
s3-like filesystems.
2021-10-08 21:47:59 +01:00
Dan Brown
7224fbcc89
Added protections against path traversal in file system operations
...
- Files within the storage/ path could be accessed via path traversal
references in content, accessed upon HTML export.
- This addresses this via two layers:
- Scoped local flysystem filesystems down to the specific image &
file folders since flysystem has built-in checking against the
escaping of the root folder.
- Added path normalization before enforcement of uploads/{images,file}
prefix to prevent traversal at a path level.
Thanks to @Haxatron via huntr.dev for discovery and reporting.
Ref: https://huntr.dev/bounties/ac268a17-72b5-446f-a09a-9945ef58607a/
2021-10-08 17:47:14 +01:00
Dan Brown
81d6b1b016
Fixed search query issues when table prefixes are used
...
- Old raw select query was causing bad select clause in query
when table prefixes were active.
2021-10-08 15:25:12 +01:00
Dan Brown
41ac69adb1
Forced response cache revalidation on logged-in responses
...
- Prevents authenticated responses being visible when back button
pressed in browser.
- Previously, 'no-cache, private' was added by default by Symfony which
would have prevents proxy cache issues but this adds no-store and a
max-age option to also invalidate all caching.
Thanks to @haxatron via huntr.dev
Ref: https://huntr.dev/bounties/6cda9df9-4987-4e1c-b48f-855b6901ef53/
2021-10-08 15:22:09 +01:00
Dan Brown
41438adbd1
Continued review of #2169
...
- Removed uneeded custom refresh or logout actions for OIDC.
- Restructured how the services and guards are setup for external auth
systems. SAML2 and OIDC now directly share a lot more logic.
- Renamed any OpenId references to OIDC or OpenIdConnect
- Removed non-required CSRF excemption for OIDC
Not tested, Come to roadblock due to lack of PHP8 support in upstream
dependancies. Certificate was deemed to be non-valid on every test
attempt due to changes in PHP8.
2021-10-06 23:05:26 +01:00
Dan Brown
2ec0aa85ca
Started refactor for merge of OIDC
...
- Made oidc config more generic to not be overly reliant on the library
based upon learnings from saml2 auth.
- Removed any settings that are redundant or not deemed required for
initial implementation.
- Reduced some methods down where not needed.
- Renamed OpenID to OIDC
- Updated .env.example.complete to align with all options and their
defaults
Related to #2169
2021-10-06 17:12:01 +01:00
Dan Brown
193d7fb3fe
Merge branch 'openid' of https://github.com/jasperweyne/BookStack into jasperweyne-openid
2021-10-06 13:18:21 +01:00
Dan Brown
55be75dee2
Merge pull request #2957 from BookStackApp/dependabot/composer/composer/composer-2.1.9
...
Bump composer/composer from 2.1.8 to 2.1.9
2021-10-06 10:52:02 +01:00
dependabot[bot]
644bbebb6e
Bump composer/composer from 2.1.8 to 2.1.9
...
Bumps [composer/composer](https://github.com/composer/composer ) from 2.1.8 to 2.1.9.
- [Release notes](https://github.com/composer/composer/releases )
- [Changelog](https://github.com/composer/composer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/composer/composer/compare/2.1.8...2.1.9 )
---
updated-dependencies:
- dependency-name: composer/composer
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-05 20:57:31 +00:00
Dan Brown
f99af807d0
Reviewed and refactored additional editor draft save warnings
...
- Added testing to cover warning cases.
- Refactored logic to be simpler and move much of the business out of
the controller.
- Added new message that's more suitable to the case this was handling.
- For detecting an outdated draft, checked the draft created_at time
instead of updated_at to better fit the scenario being checked.
- Updated some method types to align with those potentially being used
in the logic of the code.
- Added a cache of shown messages on the front-end to prevent them
re-showing on every save during the session, even if dismissed.
2021-10-04 20:26:55 +01:00
Dan Brown
756b55bbff
Merge branch 'conflict_warnings' of https://github.com/MatthieuParis/BookStack into MatthieuParis-conflict_warnings
2021-10-04 17:10:40 +01:00
Dan Brown
78fe95b6fc
Updated version and assets for release v21.08.4
2021-10-04 16:25:24 +01:00
Dan Brown
e0c24e41aa
Merge branch 'master' into release
2021-10-04 16:24:54 +01:00
Dan Brown
e37bbf2925
Updated translator attribution before release v21.08.4
2021-10-04 16:24:17 +01:00
Dan Brown
ec61e45a2b
New Crowdin updates ( #2926 )
...
* New translations settings.php (French)
* New translations auth.php (French)
* New translations settings.php (French)
* New translations entities.php (French)
* New translations activities.php (French)
* New translations common.php (French)
* New translations entities.php (French)
* New translations common.php (French)
* New translations components.php (French)
* New translations settings.php (French)
* New translations auth.php (French)
* New translations settings.php (Russian)
* New translations validation.php (Russian)
* New translations settings.php (Russian)
* New translations auth.php (Russian)
* New translations settings.php (Russian)
* New translations auth.php (Russian)
* New translations entities.php (French)
* New translations auth.php (French)
* New translations entities.php (French)
* New translations auth.php (French)
* New translations settings.php (French)
* New translations validation.php (French)
* New translations settings.php (French)
* New translations entities.php (French)
* New translations errors.php (French)
* New translations passwords.php (French)
* New translations settings.php (French)
* New translations entities.php (French)
* New translations settings.php (French)
* New translations entities.php (German)
* New translations settings.php (German)
* New translations entities.php (German Informal)
* New translations settings.php (German Informal)
* New translations settings.php (German)
* New translations settings.php (German Informal)
* New translations settings.php (French)
* New translations settings.php (Vietnamese)
* New translations settings.php (Slovenian)
* New translations settings.php (Swedish)
* New translations settings.php (Turkish)
* New translations settings.php (Ukrainian)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Portuguese)
* 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 (Slovak)
* New translations settings.php (Polish)
* New translations settings.php (Russian)
* New translations settings.php (Czech)
* New translations settings.php (German)
* New translations settings.php (German Informal)
* New translations settings.php (Spanish)
* New translations settings.php (Arabic)
* New translations settings.php (Bulgarian)
* New translations settings.php (Catalan)
* New translations settings.php (Danish)
* New translations settings.php (Dutch)
* New translations settings.php (Hebrew)
* New translations settings.php (Hungarian)
* New translations settings.php (Italian)
* New translations settings.php (Japanese)
* New translations settings.php (Korean)
* New translations settings.php (Lithuanian)
* New translations settings.php (Norwegian Bokmal)
* New translations settings.php (Spanish)
* New translations activities.php (Slovak)
* New translations errors.php (Slovak)
* New translations settings.php (Slovak)
* New translations auth.php (Slovak)
* New translations common.php (Slovak)
* New translations entities.php (Slovak)
* New translations settings.php (Slovak)
* New translations activities.php (Slovak)
* New translations settings.php (French)
* New translations settings.php (Russian)
* New translations settings.php (German)
* New translations settings.php (Polish)
* New translations validation.php (Polish)
* New translations auth.php (Vietnamese)
* New translations auth.php (Vietnamese)
* New translations activities.php (Vietnamese)
* New translations common.php (Vietnamese)
* New translations entities.php (Vietnamese)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Italian)
* New translations auth.php (Italian)
* New translations common.php (Italian)
* New translations common.php (German)
* New translations common.php (German Informal)
* New translations settings.php (German)
* New translations common.php (German)
* New translations common.php (German Informal)
* New translations errors.php (German)
2021-10-04 16:22:16 +01:00
Dan Brown
d3a9645161
Allowed page includes on custom home
...
For #2279
Old hold-over for when include content permissions were handled less
delicately.
2021-10-04 11:26:26 +01:00
Dan Brown
505d7e604e
Applied StyleCI changes
2021-09-29 23:53:11 +01:00
Dan Brown
025442fcd9
Reviewed addition to db table prefix
...
Review of #2935
- Removed from .env files and added warnings for use if found in config
file.
- Updated permission service to use whereColumn queries to auto-handle
use of prefixes.
2021-09-29 18:41:11 +01:00
Dan Brown
0f66c8a0cc
Merge branch 'floviolleau-db-prefixes' of https://github.com/floviolleau/BookStack into floviolleau-floviolleau-db-prefixes
2021-09-29 18:13:38 +01:00
Dan Brown
887a79f130
Reviewed adding IP recording to activity & audit log
...
Review of #2936
- Added testing to cover
- Added APP_PROXIES to .env.example.complete with details.
- Renamed migration to better align the name and to set the migration
date to fit with production deploy order.
- Removed index from IP column in migration since an index does not yet
provide any value.
- Updated table header text label.
- Prevented IP recording when in demo mode.
2021-09-26 17:18:12 +01:00
Dan Brown
8972f7b212
Merge branch 'log-ip-address' of https://github.com/johnroyer/BookStack into johnroyer-log-ip-address
2021-09-26 16:17:28 +01:00
Dan Brown
c100560bd9
Applied style ci changes again
2021-09-26 15:49:25 +01:00
Dan Brown
05d99a312d
Applied styleci changes
2021-09-26 15:48:22 +01:00
Dan Brown
5c7eb0df57
Caught old string helper function usage
...
Found by Laravel Shift Workbench
2021-09-26 15:41:11 +01:00
Dan Brown
c32b315cd7
Standardised facade usage to use via their FQCN
...
Done via Laravel Shift Workbench
2021-09-26 15:37:55 +01:00
Zero
c0da5616f3
Fix coding style
2021-09-23 11:07:13 +08:00
Zero
6418824139
Update translation file
2021-09-20 11:29:14 +08:00
Zero
b834f58e87
Add user IP into audit table
2021-09-20 11:29:14 +08:00
Zero
8efaeb068b
Save user IP to audit log
2021-09-20 11:29:14 +08:00
Zero
5cf0c99e32
Add IP column
2021-09-20 11:29:14 +08:00
floviolleau
dbfa2d58ed
Allow to use DB tables prefix
2021-09-19 14:33:54 +02:00
floviolleau
f8abad1e3b
Allow to use DB tables prefix
2021-09-19 14:32:35 +02:00
floviolleau
1a8ae41263
Allow to use DB tables prefix
2021-09-19 14:31:18 +02:00
floviolleau
00af40ab14
Allow to use DB tables prefix
2021-09-19 14:28:57 +02:00
Dan Brown
ffdfdc7449
Fixed dodgy test helper signature causing tests to fail
...
Just needed some argument defaults to make them optional for existing
uses.
2021-09-18 21:29:42 +01:00
Dan Brown
ba075b46f9
Merge pull request #2928 from BookStackApp/browserkit_removal
...
Convert old BrowserKit tests
2021-09-18 21:28:16 +01:00
Dan Brown
c08c8d7aa3
Applied styleci style changes
2021-09-18 21:21:44 +01:00
Dan Brown
6454e24657
Removed browserkit testing from project
...
Converted last bits of the roles tests and removed dependancies.
Updated other PHP dependancies at the same time.
2021-09-18 21:20:38 +01:00
Dan Brown
d74255df5d
Started updating RolesTest away from Browserkit
2021-09-18 00:33:03 +01:00
Dan Brown
a4d9bca9e1
Converted AuthTest away from BrowserKit
...
Moved some user managment tests out to more relevant classess along the
way.
Found some tweaks to make for email confirmation routing as part of
this.
2021-09-17 23:44:54 +01:00
Dan Brown
90c759e5ca
Rewrote entity permissions tests to be non-browser-kit
2021-09-17 22:35:28 +01:00
Dan Brown
5d93dd258e
Finished moving EntityTests out to new TestCase files
2021-09-17 21:29:16 +01:00
Dan Brown
de8cceb0f7
Moved more tests out of EntityTest
2021-09-15 22:18:37 +01:00
Dan Brown
8a7408bd31
Fixed social auth login audit log messages
...
Was logging the whole social account instance instead of just the
method.
Updated tests to cover.
Fixes #2930
2021-09-15 20:55:10 +01:00
Dan Brown
121a746d59
Moved/Updated old Activity tracking tests, started on entity tests
...
Started moving old EntityTests into more appropriate places within
non-browserkit-test classes. Still many more to do.
2021-09-13 23:26:39 +01:00
Dan Brown
badaf08e55
Removed browserkit from a couple of classess
...
Done a little reorganisation while there of misplaced tests.
Moved MarkdownTest to a new PageEditorTest to avoid confusion with
other markdown elements and to align with other page tests.
2021-09-13 22:54:21 +01:00
Dan Brown
8565187138
Added border to generated TOTP QR code
...
To fix QR code not being scannable when in dark mode due to
lack of border matching background of QR code.
Fixes #2925
2021-09-13 14:23:54 +01:00
Dan Brown
fa8553839b
Updated version and assets for release v21.08.3
2021-09-12 16:31:02 +01:00
Dan Brown
b8fcefc794
Merge branch 'master' into release
2021-09-12 16:30:35 +01:00
Dan Brown
2eafd8335c
Updated translators for v21.08.3
2021-09-12 16:25:33 +01:00
Dan Brown
e2f9089f56
New Crowdin updates ( #2915 )
...
* New translations auth.php (Spanish)
* New translations activities.php (Italian)
* New translations settings.php (Italian)
* New translations entities.php (Italian)
* New translations validation.php (Italian)
* New translations activities.php (Danish)
* New translations auth.php (Danish)
* New translations common.php (Danish)
* New translations settings.php (Danish)
* New translations entities.php (Danish)
* New translations auth.php (Danish)
* New translations common.php (Danish)
* New translations errors.php (Danish)
* New translations validation.php (Danish)
* New translations activities.php (Russian)
* New translations auth.php (French)
* New translations auth.php (French)
* New translations settings.php (French)
* New translations entities.php (French)
* New translations auth.php (French)
2021-09-12 16:25:05 +01:00
Dan Brown
ef459ca4c4
Altered the parsing of custom head to prevent htmlentities on content
...
Was causing things like emjoi within script content to be somewhat
mangled. Instead we force UTF8 only parsing via XML declaration.
Added test to cover.
For #2923
2021-09-12 16:19:17 +01:00
Dan Brown
fb80bb5d58
Applied latest styleci changes
2021-09-06 22:19:06 +01:00
Dan Brown
88c698796b
Fixed issue with HTML tags in custom head scripts
...
Fixes a strange issue of HTML tags within script tags being malformed
when part of the HTML custom head content due to the PHP parsing we do.
DOMDocument seemed to cause this upon load.
Adding LIBXML_SCHEMA_CREATE to the ->loadHTML call seems to fix this but
not really sure why. Doesn't seem to cause further issues though.
Tested with multiple scripts and styles and comments and meta tags.
- Also added new testing class to cover.
- As part of testing, added new folder within tests to house setting
specific tests.
For #2914
2021-09-05 23:52:39 +01:00
Dan Brown
88bcb68fcb
Updated version and assets for release v21.08.2
2021-09-04 15:07:20 +01:00
Dan Brown
7c000553ae
Merge branch 'master' into release
2021-09-04 15:06:33 +01:00
Dan Brown
d815e1b9f2
Merge branch 'html-filtering'
2021-09-04 14:53:46 +01:00
Dan Brown
492af79c27
Added a couple of additional CSP rules
...
As per guidance from google's CSP evaluator.
2021-09-04 14:34:43 +01:00
Dan Brown
253f386f00
Finished off script CSP rules
...
- Added caching for custom html head parsing to add nonce.
- Also moved api docs page into web routes to prevent issues.
2021-09-04 13:57:04 +01:00
Dan Brown
fd44e4ba74
Started application of CSP headers
2021-09-03 23:32:42 +01:00
Dan Brown
040997fdc4
Added filter for xlink:href svg xss
...
Simply remove all such attributes
2021-09-03 22:34:49 +01:00
Dan Brown
5e6092aaf8
Added extra HTML filtering of dangerous content
...
In particular, That around the casing of dangerous values within
attributes. This uses some xpath translation to handle different casing
in contains searching.
2021-09-02 22:02:30 +01:00
Dan Brown
391fa35c80
Updated version and assets for release v21.08.1
2021-09-02 21:13:09 +01:00
Dan Brown
c6773a8c9f
Merge branch 'master' into release
2021-09-02 21:12:06 +01:00
Dan Brown
a579b7da21
Updated translator attribution before release v21.08.1
2021-09-02 21:11:23 +01:00
Dan Brown
bc34914ac1
New Crowdin updates ( #2906 )
...
* New translations auth.php (Chinese Simplified)
* New translations auth.php (Chinese Simplified)
* New translations validation.php (Chinese Simplified)
* New translations activities.php (Latvian)
* New translations auth.php (Latvian)
* New translations common.php (Latvian)
* New translations validation.php (Latvian)
* New translations entities.php (Latvian)
* New translations activities.php (Polish)
2021-09-02 21:07:31 +01:00
Dan Brown
7028025380
Made the TOTP URL visible during setup
...
Useful for some non-scanner type apps.
Closes #2908
2021-09-01 20:58:19 +01:00
Dan Brown
ff494be952
Fixed lack of proper ordering of pages
...
Added test to cover
Fixes #2905
2021-09-01 20:30:02 +01:00
Dan Brown
9b226e7d39
Updated version and assets for release v21.08
2021-08-31 22:07:53 +01:00
Dan Brown
9865446267
Merge branch 'master' into release
2021-08-31 22:07:23 +01:00
Dan Brown
173f728e4a
Updated translator attribution before release v21.08
2021-08-31 22:05:16 +01:00
Dan Brown
9772b2f69d
Applied stylci changes
2021-08-31 22:03:51 +01:00
Dan Brown
c0f4cf4b5c
Merge branch 'master' of github.com:BookStackApp/BookStack
2021-08-31 21:59:37 +01:00
Dan Brown
cc1f46cbf4
New Crowdin updates ( #2893 )
...
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Indonesian)
* New translations settings.php (Swedish)
* New translations settings.php (Turkish)
* New translations settings.php (Ukrainian)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Vietnamese)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Persian)
* New translations settings.php (Slovak)
* 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 settings.php (Slovenian)
* New translations settings.php (Russian)
* New translations settings.php (French)
* New translations settings.php (German)
* New translations settings.php (Spanish)
* New translations settings.php (Arabic)
* New translations settings.php (Bulgarian)
* New translations settings.php (Catalan)
* New translations settings.php (Czech)
* New translations settings.php (Danish)
* New translations settings.php (Hebrew)
* New translations settings.php (Portuguese)
* New translations settings.php (Hungarian)
* New translations settings.php (Italian)
* New translations settings.php (Japanese)
* New translations settings.php (Korean)
* New translations settings.php (Dutch)
* New translations settings.php (Polish)
* New translations settings.php (Lithuanian)
* New translations activities.php (German)
* New translations auth.php (German)
* New translations common.php (German)
* New translations settings.php (German)
* New translations validation.php (German)
* New translations settings.php (French)
* New translations validation.php (French)
* New translations activities.php (French)
* New translations auth.php (French)
* New translations common.php (French)
* New translations activities.php (Norwegian Bokmal)
* New translations auth.php (Norwegian Bokmal)
* 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 auth.php (French)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Indonesian)
* New translations entities.php (Swedish)
* New translations entities.php (Turkish)
* New translations entities.php (Ukrainian)
* New translations entities.php (Chinese Simplified)
* New translations entities.php (Vietnamese)
* New translations entities.php (Portuguese, Brazilian)
* New translations entities.php (Persian)
* New translations entities.php (Slovak)
* New translations entities.php (Spanish, Argentina)
* New translations entities.php (Croatian)
* New translations entities.php (Latvian)
* New translations entities.php (Bosnian)
* New translations entities.php (Norwegian Bokmal)
* New translations entities.php (German Informal)
* New translations entities.php (Slovenian)
* New translations entities.php (Russian)
* New translations entities.php (French)
* New translations entities.php (German)
* New translations entities.php (Spanish)
* New translations entities.php (Arabic)
* New translations entities.php (Bulgarian)
* New translations entities.php (Catalan)
* New translations entities.php (Czech)
* New translations entities.php (Danish)
* New translations entities.php (Hebrew)
* New translations entities.php (Portuguese)
* New translations entities.php (Hungarian)
* New translations entities.php (Italian)
* New translations entities.php (Japanese)
* New translations entities.php (Korean)
* New translations entities.php (Dutch)
* New translations entities.php (Polish)
* New translations entities.php (Lithuanian)
* New translations entities.php (Spanish)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Indonesian)
* New translations settings.php (Swedish)
* New translations settings.php (Turkish)
* New translations settings.php (Ukrainian)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Vietnamese)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Persian)
* New translations settings.php (Slovak)
* 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 settings.php (Slovenian)
* New translations settings.php (Russian)
* New translations settings.php (French)
* New translations settings.php (German)
* New translations settings.php (Spanish)
* New translations settings.php (Arabic)
* New translations settings.php (Bulgarian)
* New translations settings.php (Catalan)
* New translations settings.php (Czech)
* New translations settings.php (Danish)
* New translations settings.php (Hebrew)
* New translations settings.php (Portuguese)
* New translations settings.php (Hungarian)
* New translations settings.php (Italian)
* New translations settings.php (Japanese)
* New translations settings.php (Korean)
* New translations settings.php (Dutch)
* New translations settings.php (Polish)
* New translations settings.php (Lithuanian)
* New translations settings.php (Spanish)
* New translations activities.php (Persian)
* New translations auth.php (Persian)
* New translations activities.php (Chinese Simplified)
* New translations auth.php (Chinese Simplified)
* New translations activities.php (Chinese Simplified)
* New translations auth.php (Chinese Simplified)
* New translations common.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations validation.php (Chinese Simplified)
* New translations entities.php (Chinese Simplified)
2021-08-31 21:59:26 +01:00
Dan Brown
a641b4da2c
Swapped injected db instance with facade
...
Injected db instance was causing the DB connection to be
made a lot earlier than desired or required.
Swapped to a facade for now but ideally this extension of services needs
to be cleaned up with a better approach in general.
2021-08-31 21:50:23 +01:00
Dan Brown
4f85ce02c6
Updated php deps again
2021-08-31 20:56:07 +01:00
Dan Brown
9eb65dcd78
Updated the login redirect logic to ignore mfa routes
2021-08-31 20:54:43 +01:00
Dan Brown
bee5e2c7ca
Added untrusted server fetching control
...
WKHTMLtoPDF provides limited control for external fetching
so that will now be disabled by default unless
ALLOW_UNTRUSTED_SERVER_FETCHING=true is specifically set.
This new option will also control DOMPDF fetching.
2021-08-31 20:22:42 +01:00
Dan Brown
8f12c8bc99
Applied styleci changes
2021-08-30 21:32:07 +01:00
Dan Brown
2740603d99
Added back email confirmation check in middleware
...
During writing of the update notes, found that the upgrade path would be
tricky from a security point of view. If people were pending email
confirmation but had an active session, they could technically be
actively logged in after the next release.
Added middlware as an extra precaution for now.
2021-08-30 21:28:17 +01:00
Franke
07408ec112
Fixes for CodeStyle vol.2
2021-08-30 14:44:52 +02:00
Franke
234dd26d22
Fixes for CodeStyle
2021-08-30 14:43:35 +02:00
Franke
75749ef336
Fixed SAML logout for ADFS.
2021-08-30 14:35:11 +02:00
Dan Brown
3e870c30e1
Updated php deps
2021-08-30 12:03:52 +01:00
Dan Brown
8f0d08763a
Merge pull request #2899 from BookStackApp/export_permissions
...
Added role permissions for exporting content
2021-08-28 21:57:11 +01:00
Dan Brown
0e7166f7f6
Cleaned up DB usage in migration
2021-08-28 21:55:04 +01:00
Dan Brown
7d9de23a25
Applied styleci patches
2021-08-28 21:51:15 +01:00
Dan Brown
eda9e89c55
Added role permissions for exporting content
2021-08-28 21:48:17 +01:00
Dan Brown
82c6597a60
Added notice for lack of shelf permission cascade
...
Closes #2876
2021-08-28 15:44:44 +01:00
Dan Brown
cd35e13024
Added styleci badge
2021-08-24 21:27:21 +01:00
Dan Brown
4400ad7e8d
Applied stylci advisories
2021-08-24 21:23:55 +01:00
Dan Brown
610ee2c182
Updated markdown task list test to check new list class
...
- Updated to align with custom list item render added yesterday.
2021-08-24 21:09:40 +01:00
Dan Brown
4fd5dbcfdd
Updated visual consistency of lists and markdown task list rendering
...
- Numbered and bullet list margins have been made consistent
- Numbered lists margins were increase at some point to handle 3-digit
numbers, Normal bullet margins updated to match this.
- Consistent margin for sub-lists.
- System back-end markdown renderer (For pages) updated with a custom
list item renderer to apply class for to align with front-end renderer.
- This means that task list items will be consistent with the preview
and not render a number/bullet.
- Indentation styles for task list items fixed to be visually indented.
For #2854 and #2837
2021-08-23 22:31:07 +01:00
Dan Brown
613228fab2
Fixed issues caused by flex content parent in markdown preview
...
Fixes #2858
2021-08-22 18:30:46 +01:00
Dan Brown
a61c9c5e98
Reorgranised blade view files to form a convention
...
- Primarily moved and re-organised view files.
- Included readme within views to document the convention.
- Fixed some issues with page field select list in previous commit.
- Tweaked some route names while going through.
- Split some views out further.
Closes #2805
2021-08-22 13:17:32 +01:00
Dan Brown
2036618fbd
Merge branch 'master' of github.com:BookStackApp/BookStack
2021-08-21 20:25:22 +01:00
Dan Brown
ce6e25b341
Added lithuanian option to locale system
2021-08-21 20:24:58 +01:00
Dan Brown
73ebe571a1
New Crowdin updates ( #2892 )
...
* New translations entities.php (Spanish, Argentina)
* New translations entities.php (German Informal)
* New translations activities.php (Lithuanian)
* New translations settings.php (Lithuanian)
* New translations passwords.php (Lithuanian)
* New translations errors.php (Lithuanian)
* New translations entities.php (Lithuanian)
* New translations common.php (Lithuanian)
* New translations auth.php (Lithuanian)
* New translations validation.php (Spanish, Argentina)
* New translations settings.php (Spanish, Argentina)
* New translations common.php (Spanish, Argentina)
* New translations auth.php (Spanish, Argentina)
* New translations activities.php (Spanish, Argentina)
* New translations validation.php (Lithuanian)
2021-08-21 20:24:31 +01:00
Dan Brown
a274406038
Merge pull request #2868 from ffranchina/master
...
Adding Lithuanian language
2021-08-21 20:05:35 +01:00
Dan Brown
1a6293ce24
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.
2021-08-21 19:59:55 +01:00
Dan Brown
8db047de70
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)
2021-08-21 18:57:32 +01:00
Dan Brown
b005acdd6c
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
2021-08-21 18:54:38 +01:00
Dan Brown
822fea4303
Updated js dependancies
2021-08-21 15:53:45 +01:00
Dan Brown
ac110eb6b2
Merge pull request #2890 from BookStackApp/analysis-kabPRy
...
Apply fixes from StyleCI
2021-08-21 15:50:16 +01:00
Dan Brown
64785ed9da
Apply fixes from StyleCI
2021-08-21 14:49:40 +00:00
Dan Brown
cac31b2074
Merge pull request #2827 from BookStackApp/mfa
...
MFA System
2021-08-21 15:47:55 +01:00
Dan Brown
2d306949b5
Cleaned some unused elements during testing
2021-08-21 15:38:43 +01:00
Dan Brown
78e94bb003
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.
2021-08-21 15:14:24 +01:00
MatthieuParis
3c4415f3ff
Typo.
2021-08-08 21:59:04 +02:00
MatthieuParis
c2e031ae3e
Testing command suppressed.
2021-08-08 20:35:12 +02:00
MatthieuParis
537b1614c4
Display warnings when saving draft if another user is editing the page or if the page was updated since the current user has started editing the page.
2021-08-08 19:20:15 +02:00
Dan Brown
622ea03c65
Added attribution for new libs added
...
- Also hard-set TOTP algorithm with comment from testing others.
2021-08-08 14:52:29 +01:00
Dan Brown
f1f59cf086
Extracted text to translation files
...
Also aligned mfa method delete route to align with others.
2021-08-08 14:24:44 +01:00
Dan Brown
773be963ba
Updated auth changes to work with remember me
2021-08-07 22:32:19 +01:00
Dan Brown
ef9354a0cb
Verified mfa session expires on logout
...
Since sessions are invalidated upon logout.
2021-08-07 21:53:13 +01:00
Dan Brown
39a205ed28
Quick test of email confirmation routes and fix of tests
2021-08-07 21:18:59 +01:00
Dan Brown
70f39757b1
Updated API auth handling of email confirmations
...
Email confirmations are now done within the guard during auth checking
instead of at the middleware layer.
2021-08-05 22:07:08 +01:00
Dan Brown
c429cf7818
Merge branch 'v21.05.x'
2021-08-04 21:32:29 +01:00
Dan Brown
926abbe776
Updated version and assets for release v21.05.4
2021-08-04 21:29:10 +01:00
Dan Brown
4fabef3a57
Merge branch 'v21.05.x' into release
2021-08-04 21:28:45 +01:00
Dan Brown
65ebffa002
Updated when github actions run
2021-08-04 21:22:53 +01:00
Dan Brown
a04064f981
Updated php dependancies up minor versions
2021-08-04 21:10:55 +01:00
Dan Brown
7d19057e68
Fixed issue where user id still used on profile pages
...
Updated to use slugs and added testing to cover.
2021-08-04 21:08:51 +01:00
Dan Brown
0de0507137
Added vb.net code language option
...
Related to #2869
2021-08-04 20:56:34 +01:00
Dan Brown
7a8954ee65
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
2021-08-04 20:48:23 +01:00
Francesco Franchina
a3ad840bdd
Adding Lithuanian language
2021-08-03 23:42:34 +02:00
Dan Brown
9b271e559f
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.
2021-08-02 22:02:25 +01:00
Dan Brown
4597069083
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.
2021-08-02 16:35:37 +01:00
Dan Brown
a3f19ebe96
Added TOTP verification upon access
2021-08-02 15:04:43 +01:00
Dan Brown
1af5bbf3f7
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).
2021-07-18 16:52:31 +01:00
Dan Brown
1278fb4969
Started moving MFA and email confirmation to new login flow
...
Instead of being soley middleware based.
2021-07-17 18:24:50 +01:00
Dan Brown
9249addb5c
Updated all login events to route through single service
2021-07-17 17:45:00 +01:00
Dan Brown
78f9c01519
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.
2021-07-16 23:23:36 +01:00
Dan Brown
f696aa5eea
Added the ability to remove an MFA method
...
Includes testing to cover
2021-07-14 21:27:21 +01:00
Dan Brown
7c86c26cd0
Added command to reset user MFA
...
Includes tests to cover the command.
2021-07-14 20:50:36 +01:00
Dan Brown
cfc0c593db
Added MFA indicator to user list
...
Also fixed issue with showing incorrect MFA method count on user edit
page changes done in last commit
2021-07-14 20:19:05 +01:00
Dan Brown
bb43acef21
Added MFA setup link on user edit view
2021-07-14 20:06:41 +01:00
Dan Brown
09c2814dc7
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.
2021-07-03 13:34:48 +01:00
Dan Brown
1c43602f4b
Merge branch 'v21.05.x'
2021-07-03 12:02:13 +01:00
Dan Brown
5ef4cd80c3
Updated version and assets for release v21.05.3
2021-07-03 11:59:52 +01:00
Dan Brown
e01f23583f
Merge branch 'v21.05.x' into release
2021-07-03 11:59:21 +01:00
Dan Brown
b1ee1a856f
Updated php dependancies for minor release
2021-07-03 11:57:32 +01:00
Dan Brown
4da72aa267
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
2021-07-03 11:53:46 +01:00
Dan Brown
529971c534
Added backup code setup flow
...
- Includes testing to cover flow.
- Moved TOTP logic to its own controller.
- Added some extra totp tests.
2021-07-02 20:53:33 +01:00
Dan Brown
83c8f73142
Covered TOTP setup with testing
2021-07-02 19:51:30 +01:00
Dan Brown
916a82616f
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.
2021-06-30 22:10:02 +01:00
Dan Brown
d25cd83d8e
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.
2021-06-29 22:06:49 +01:00
Dan Brown
efb6a6b457
Started barebones work of MFA system
2021-06-28 22:02:45 +01:00
Dan Brown
f295ab87b4
Updated comments of theme event to match usage
2021-06-28 21:17:10 +01:00
Dan Brown
ca8be9af3c
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.
2021-06-26 16:40:29 +01:00
Dan Brown
0155525945
Merge pull request #2820 from BookStackApp/analysis-6470L9
...
Apply fixes from StyleCI
2021-06-26 16:28:09 +01:00
Dan Brown
934a833818
Apply fixes from StyleCI
2021-06-26 15:23:15 +00:00
Dan Brown
3a402f6adc
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
2021-06-26 12:12:11 +01:00
Dan Brown
8a9505bf8c
Merge branch 'master' of https://github.com/arjvand/BookStack into arjvand-master
2021-06-26 11:19:21 +01:00
Dan Brown
265f5db03f
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.
2021-06-23 20:42:48 +01:00
Dan Brown
58fa7679bc
Merge branch 'create-content-meta-tags' of https://github.com/james-geiger/BookStack into james-geiger-create-content-meta-tags
2021-06-23 20:11:07 +01:00
Dan Brown
992f03a3c0
Added markdown export endpoints to API
...
- Added tests to cover.
- Added slight extra spaces at content joins.
2021-06-22 21:39:29 +01:00
Dan Brown
57ea2e92ec
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.
2021-06-22 21:02:18 +01:00
Dan Brown
9af636bd48
Merge branch 'markdown-export' of https://github.com/nikhiljha/BookStack-1 into nikhiljha-markdown-export
2021-06-22 19:12:24 +01:00
Dan Brown
3dda622f0a
Added a "skip to content" link.
...
Closes #2810
2021-06-15 20:58:45 +01:00
Dan Brown
7d951b842c
Made social account detach a POST request
...
Closes #2808
2021-06-14 22:37:58 +01:00
Dan Brown
94bf5b8fbb
Added test for social account detach
2021-06-14 22:30:53 +01:00
Dan Brown
7792cb3915
Updated version and assets for release v21.05.2
2021-06-13 14:26:34 +01:00
Dan Brown
be26253a18
Merge branch 'master' into release
2021-06-13 14:25:39 +01:00
Dan Brown
3d5899d28c
Fixed issue with using old non-existing reference in controller
...
Also done a little code cleanup.
2021-06-13 14:16:09 +01:00
Dan Brown
917d7428d6
Updated composer.lock
2021-06-13 14:06:56 +01:00
Dan Brown
bcc01bd8ff
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)
2021-06-13 14:04:23 +01:00
Dan Brown
2c34a99248
Merge pull request #2791 from BookStackApp/attachments_open_in_browser
...
Attachment serving without forced download
2021-06-13 14:03:08 +01:00
Dan Brown
789d17ab3f
Updated platform deps and development version number
2021-06-13 13:57:29 +01:00
Dan Brown
58117bcf2d
Extracted not found text into its own simple blade file
...
Related/intended for #2796
2021-06-13 13:53:59 +01:00
Dan Brown
b5caaa73b7
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
2021-06-13 12:53:04 +01:00
Dan Brown
7997300f96
Added front-end toggle and testing of inline attachments
2021-06-06 13:55:56 +01:00
Dan Brown
888f435651
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?
2021-06-06 00:51:06 +01:00
Dan Brown
1bdd1f8189
Updated version for release v21.05.1
2021-06-04 23:09:42 +01:00
Dan Brown
fa62c79b17
Merge branch 'master' into release
2021-06-04 23:08:59 +01:00
Dan Brown
a8471b2c66
Updated translator attribution before release v21.05.1
2021-06-04 23:08:43 +01:00
Dan Brown
0627efe5e9
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
2021-06-04 22:59:31 +01:00
Dan Brown
af7d62799c
New Crowdin updates ( #2787 )
...
* New translations common.php (German)
* New translations common.php (Dutch)
2021-06-04 22:50:48 +01:00
Dan Brown
bb00c331e4
Ordered entity permission roles by display name
...
Closes #2782
2021-06-04 22:36:30 +01:00
Dan Brown
807f92b693
Updated homepage action button colors for consistency
...
Were previously inconsistent with other homepage buttons for non-default
homepage options.
2021-06-04 22:28:38 +01:00
Dan Brown
c5d31ea7b2
Merge branch 'master' of github.com:BookStackApp/BookStack
2021-06-04 22:21:06 +01:00
Dan Brown
ef1bde8bb1
Fixed wrong styles for homepage favourites
...
When using a non-default homepage option.
Fixes #2783
2021-06-04 22:20:11 +01:00
Dan Brown
8897945609
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)
2021-06-02 22:15:58 +01:00
Dan Brown
9382d647d7
Merge branch 'ffranchina-master'
2021-06-02 21:57:23 +01:00
Dan Brown
0d17d18d07
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)
2021-06-02 21:56:53 +01:00
Dan Brown
24eef03fb9
Added croatian to required arrays/lists
2021-06-02 21:55:30 +01:00
Dan Brown
e51352e1a4
Added back in commas, reset settings language array
...
Related to #2784
2021-06-02 21:50:38 +01:00
Dan Brown
2dfb1ae3ee
Merge branch 'master' of https://github.com/ffranchina/BookStack into ffranchina-master
2021-06-02 21:44:39 +01:00
Dan Brown
39928e1c63
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 .
2021-06-02 21:34:34 +01:00
Dan Brown
40ca50e44f
Merge branch 'master' of https://github.com/awarre/BookStack into awarre-master
2021-06-02 20:25:20 +01:00
Francesco Franchina
fc7b8c49fb
Adding Croatian translation files
2021-06-02 17:32:31 +02:00
Dan Brown
d7d8fa1e5b
Updated version and assets for release v21.05
2021-05-30 16:17:56 +01:00
Dan Brown
18562f1e10
Merge branch 'master' into release
2021-05-30 16:17:44 +01:00
Dan Brown
fdabafffda
Added thumbnail attribute to complete .env
2021-05-30 15:22:58 +01:00
Dan Brown
e2df15fe20
Updated translators before next release
2021-05-30 15:11:59 +01:00
Dan Brown
54bac17ef0
New Crowdin updates ( #2764 )
2021-05-30 15:10:11 +01:00
Dan Brown
7634ac4e12
Updated test to align with export date format change
2021-05-30 13:23:51 +01:00
Dan Brown
c4f5ab12cf
Aligned export and revision shown date format
...
As raised in #2771
2021-05-30 00:02:32 +01:00
Dan Brown
57a063cdfb
Updated nav tests to look for shortened item names
2021-05-29 23:46:33 +01:00
Dan Brown
1fa90e4f12
Converted another couple of tests from browserkit
2021-05-29 23:42:21 +01:00
Dan Brown
d62cdd58d3
Upgraded php and npm deps
...
- Sass upgrade had some breaking changes where division was used
hence updated for newer sass version support.
2021-05-29 13:08:28 +01:00
Dan Brown
ed6ec341df
Added testing to cover next/previous navigation
...
For #2511
2021-05-29 12:49:10 +01:00
Dan Brown
0cfff6ab6f
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
2021-05-29 12:39:41 +01:00
Dan Brown
7ca66c5d5e
Merge branch 'prev-next-button' of https://github.com/shubhamosmosys/BookStack into shubhamosmosys-prev-next-button
2021-05-26 22:13:19 +01:00
Dan Brown
9cbea1eb08
Updated drawing upload error to shown/handle server limit errors
...
Closes #2740
2021-05-26 18:23:27 +01:00
Dan Brown
1a2d374f24
Revert "Added app logo to outgoing emails"
...
This reverts commit e32929029b .
2021-05-26 17:13:59 +01:00
Dan Brown
e32929029b
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
2021-05-26 17:11:03 +01:00
Dan Brown
eb76e882c5
Added deletion of revisions on page delete
...
Added testing to cover.
Closes #2668
2021-05-26 16:40:56 +01:00
Dan Brown
d326417edc
Added name input autofocus on shelves, books and chapters
...
Closes #1956
2021-05-26 15:25:23 +01:00
Dan Brown
a3a8fef6b2
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
2021-05-26 15:20:35 +01:00
Dan Brown
0c16334426
Merge branch 'master' of github.com:BookStackApp/BookStack
2021-05-25 00:06:13 +01:00
Dan Brown
600f8cd142
Added origin verification to postMessage usage.
...
Closes #2769
2021-05-25 00:05:20 +01:00
Dan Brown
5c8c85a0ff
Merge pull request #2768 from CorruptComputer/RSPEC-5148-Fixes
...
[sec] Fixes a few minor vulnerabilies when using target="_blank" on links (RSPEC-5148)
2021-05-24 22:11:49 +01:00
Nickolas Gupton
7a6f21648a
Fixes minor vulnerability when using target="_blank" on links (RSPEC-5148)
2021-05-24 16:17:08 -04:00
Dan Brown
df0e03cd07
Reviewed PR to add import user avatars va LDAP
...
- Reduced options to single new configuration paramter instead of two.
- Moved more logic into UserAvatars class.
- Updated LDAP avatar import to also run on login when no image is
currently set.
- Added thumbnail fetching to search requests.
- Added testing to cover.
Related to PR #2320 , and issue #1161
2021-05-24 18:54:08 +01:00
Dan Brown
85db812fea
Merge branch 'master' of https://github.com/jasonhoule/BookStack into jasonhoule-master
2021-05-24 17:06:50 +01:00
Dan Brown
fb5b5e138d
Updated existing tag tests away from browserkit testing
2021-05-24 16:16:58 +01:00
Dan Brown
3eaf03a7ac
Reviewed tag in seach work
...
- Refactored some tag code bits while reviewing.
- Updated tag design in search listing to be more subtle.
- Moved tags out of entity-list-item-basic template and instead moved
them into entity-list-item, below the existing content.
- Tweaked existing tag colors a little.
- Changed tag icon to be more tag-like.
- Added tag-on-search test case.
Review of #2487 , Related to #2462
2021-05-24 16:12:09 +01:00
Dan Brown
5420f3451c
Merge branch 'show-tags' of https://github.com/burnoutberni/BookStack into burnoutberni-show-tags
2021-05-24 15:12:45 +01:00
Dan Brown
7d94da10fb
Merge branch 'v21.04.x'
2021-05-24 13:08:51 +01:00
Dan Brown
86090a694f
Updated version and assets for release v21.04.6
2021-05-24 13:06:03 +01:00
Dan Brown
1ee8287c73
Merge branch 'v21.04.x' into release
2021-05-24 13:05:34 +01:00
Dan Brown
c7322a71f7
Added theme add social driver redirect configuration callback
...
Allows someone using the theme system to configure the social driver
before a redirect action occurs, by passing a callback as an additional
param to the theme 'addSocialDriver' method.
2021-05-24 12:55:45 +01:00
Dan Brown
2c3523f6a1
Updated image permission setting logic
...
To ensure thhat the visibility is still set on local storage options
since the previous recent changes could cause problems where in
scenarios where the server user could not read images uploaded by the
php process user.
Closes #2758
2021-05-24 12:09:28 +01:00
Dan Brown
dd6076049c
Merge pull request #2748 from BookStackApp/favourite_system
...
Favourite System
2021-05-23 14:45:42 +01:00
Dan Brown
ba8ba5c634
Added testing to favourite system
...
- Also removed some old view service references.
- Updated TopFavourites query to be based on favourites table and join
in the views instead of the other way around, so that favourites still
show even if they have no views.
2021-05-23 14:34:36 +01:00
Dan Brown
c2069f37cc
Added deletion of favourites on entity/user delete
2021-05-23 13:41:56 +01:00
Dan Brown
1e0aa7ee2c
Added favourites page with link from header and home
2021-05-23 13:34:08 +01:00
Dan Brown
27942f5ce8
Deleted redundant complex relationmultimodel query class
2021-05-22 14:07:57 +01:00
Dan Brown
d0ff79ea60
Revamped some complex queries, added favourites to home
...
- Removed old view system and started use of new query classes instead.
- Finished off RelationMultiModelQuery but found it was less efficient
than x-many queries due to the amount of tables being scanned.
Adding now for history but will delete as not used.
- Updated recently viewed to use same query system as popular items
rather than running and joining x-entities queries.
- Added "Most Viewed Faviourites" listing to homepages.
2021-05-22 14:05:28 +01:00
Dan Brown
3de02566bf
Started building system for cross-model queries
2021-05-19 23:37:23 +01:00
Dan Brown
93fd869ba3
Started refactoring of view service
...
Phasing out the view service from being a generic 'service' class,
moving the core create/delete methods into the model.
The idea is that the existing query work will need to interlink
with the favourite system so maybe we have a (or many composable)
query building classes rather than mixing query building and
create/delete work as per the old service.
2021-05-16 10:49:37 +01:00
Dan Brown
3ca149137e
Added faviourtes to other entity types
2021-05-16 10:26:28 +01:00
Dan Brown
db9aa41096
Started writing testing for favourites
2021-05-16 01:07:20 +01:00
Dan Brown
bf8e7f3393
Started addition of favourite system
2021-05-16 00:29:56 +01:00
Dan Brown
8eb98cd591
Updated version and assets for release v21.04.5
2021-05-15 17:56:29 +01:00
Dan Brown
0f9ba21b05
Merge branch 'v21.04.x' into release
2021-05-15 17:56:03 +01:00
Dan Brown
7a059a5e90
Updated translator attribution before release v21.04.5
2021-05-15 17:54:57 +01:00
Dan Brown
e5fc104aff
New Crowdin updates ( #2737 )
...
* New translations errors.php (Italian)
* New translations errors.php (Slovak)
* New translations errors.php (Norwegian Bokmal)
* New translations errors.php (Bosnian)
* New translations errors.php (Latvian)
* New translations errors.php (Spanish, Argentina)
* New translations errors.php (Persian)
* New translations errors.php (Indonesian)
* New translations errors.php (Portuguese, Brazilian)
* New translations errors.php (Vietnamese)
* New translations errors.php (Chinese Traditional)
* New translations errors.php (Chinese Simplified)
* New translations errors.php (Ukrainian)
* New translations errors.php (Turkish)
* New translations errors.php (Swedish)
* New translations errors.php (Slovenian)
* New translations errors.php (Russian)
* New translations errors.php (French)
* New translations errors.php (Portuguese)
* New translations errors.php (Polish)
* New translations errors.php (Dutch)
* New translations errors.php (Korean)
* New translations errors.php (Japanese)
* New translations errors.php (Hungarian)
* New translations errors.php (Hebrew)
* New translations errors.php (German)
* New translations errors.php (Danish)
* New translations errors.php (Czech)
* New translations errors.php (Catalan)
* New translations errors.php (Bulgarian)
* New translations errors.php (Arabic)
* New translations errors.php (Spanish)
* New translations errors.php (German Informal)
* New translations errors.php (Chinese Simplified)
* New translations errors.php (French)
* New translations common.php (French)
* New translations errors.php (Spanish, Argentina)
* New translations common.php (Spanish, Argentina)
* New translations entities.php (Spanish, Argentina)
* New translations activities.php (Arabic)
* New translations auth.php (Arabic)
* New translations entities.php (Arabic)
* New translations auth.php (Arabic)
* New translations components.php (Arabic)
* New translations entities.php (Arabic)
* New translations errors.php (Russian)
* New translations common.php (Portuguese)
* New translations errors.php (Portuguese)
2021-05-15 17:50:02 +01:00
Dan Brown
d0ed165630
Merge pull request #2735 from dopyrory3/table_column_fix
...
Fix table width styling on pages rendered in markdown
2021-05-15 17:48:27 +01:00
Dan Brown
68ef6a842f
Fixed issue thrown upon empty markdown content save
...
Closes #2741
2021-05-15 17:33:53 +01:00
Dan Brown
c1f070a136
Handle acl set of images differently for s3 and s3-like
...
Related to #2739
2021-05-15 17:25:51 +01:00
Dan Brown
c2cc1ec5e5
Adjusted dompdf font path to writable folder
...
Related to #2746
2021-05-15 12:19:36 +01:00
Rory Maher
386925ad8e
Apply column fix to all tables
2021-05-10 12:11:28 +01:00
Rory Maher
243c1db408
Revert "Fix table width style"
...
This reverts commit b010d2663d .
2021-05-10 12:10:02 +01:00
Dan Brown
834f8e7046
Updated version and assets for release v21.04.4
2021-05-09 14:46:05 +01:00
Dan Brown
32e3399334
Merge branch 'master' into release
2021-05-09 14:45:36 +01:00
Dan Brown
9e7bcacf8c
Moved NotifyException render work from handler to exception
...
As continued from last commit.
2021-05-08 19:00:09 +01:00
Dan Brown
7be7d7d1e7
Updated not-found image path handling to have better ux
...
Added test to cover.
Started refactoring some of the app error handling in
the process of this.
Fixes #2696
2021-05-08 18:49:58 +01:00
Dan Brown
04c1d0e071
Updated translators before v21.04.4 release
2021-05-08 17:56:35 +01:00
Dan Brown
ab62e0f75b
Merge pull request #2716 from Jokuna/master
...
Update Korean translation
2021-05-08 17:53:02 +01:00
Dan Brown
d85f99c87c
New Crowdin updates ( #2719 )
...
* New translations entities.php (Dutch)
* New translations components.php (Italian)
* New translations entities.php (Italian)
* New translations entities.php (Italian)
* New translations errors.php (Italian)
* New translations passwords.php (Italian)
* New translations settings.php (Italian)
* New translations validation.php (Italian)
* New translations settings.php (Italian)
* New translations settings.php (Italian)
* New translations common.php (Indonesian)
* New translations settings.php (Italian)
* New translations settings.php (Italian)
* New translations settings.php (Italian)
* New translations settings.php (Italian)
* New translations settings.php (Italian)
* New translations common.php (Portuguese)
* New translations common.php (Arabic)
* New translations common.php (Arabic)
* New translations entities.php (Arabic)
* New translations entities.php (Arabic)
* New translations settings.php (Italian)
2021-05-08 17:52:32 +01:00
Dan Brown
c42b6aece9
Updated composer deps again and run npm audit fix
2021-05-08 17:50:28 +01:00
Dan Brown
7f8f3080c5
Removed php8-only 'mixed' type from test method
2021-05-08 13:23:28 +01:00
Dan Brown
9cf4191079
Reviewed and updated SAML2 authncontext option
...
Added tests to cover.
Changed default to align with existing default.
Added env option parsing.
For #1998
2021-05-08 13:07:25 +01:00
Dan Brown
b8e2d75014
Merge branch 'ivir-authncontext' of https://github.com/ivir/BookStack into ivir-ivir-authncontext
2021-05-08 12:13:27 +01:00
Dan Brown
f522f16526
Fixed SAML login button alignment
2021-05-08 11:49:18 +01:00
Rory Maher
b010d2663d
Fix table width style
...
Tables generated by the markdown renderer don't honour the max-width property without applying word-break styling to the td elements
2021-05-06 13:23:38 +01:00
Jascha Sticher
4cbd1a9eb5
Extend /users API endpoint
...
* add /users/{id} to get a single user
* add variable to print fields that are otherwise hidden (e.g. email)
2021-05-06 11:20:08 +02:00
Dan Brown
a083ceaf44
Fixed item export with deleted creator/updated
...
Added test to cover.
Fixes #2733
2021-05-05 22:52:08 +01:00
Jascha Sticher
07626669da
Test API Endpoint for users
2021-05-05 14:16:15 +02:00
Dan Brown
95798a2eba
Standardised export views with base layout, Reduced included export styles
...
Related to #2666
2021-05-04 23:15:05 +01:00
Dan Brown
43b6633183
Filtered scripts in custom HTML head for exports
...
Since it appeared to cause problems in some scenarios.
Related to #2490
2021-05-03 23:59:52 +01:00
Dan Brown
c50ac022a8
Updated composer deps
2021-05-03 22:32:19 +01:00
Dan Brown
a3d36237e2
Fixed white borders on layout tabs on ios
...
Closes #2728
2021-05-03 22:28:25 +01:00
Jokuna
a2be61f26d
[Fix] app_footer_links_desc
2021-04-29 15:06:58 +09:00
Jokuna
79f5b579d7
[Fix] maint_delete_images_only_in_revisions better
2021-04-29 14:49:46 +09:00
Jokuna
66ecee1e26
[Fix] maint_delete_images_only_in_revisions
2021-04-29 13:54:24 +09:00
Jokuna
02e86ea18f
[Fix] app_footer_links_desc
2021-04-29 13:44:50 +09:00
Jokuna
723dbe1da7
[Fix] korean
2021-04-29 13:43:10 +09:00
Jokuna
65fe89441f
fix pages_revisions_resotred_from
2021-04-29 13:39:11 +09:00
Jokuna
2093122ac5
Korean translation
...
resources/lang/ko/settings.php
2021-04-29 12:58:53 +09:00
Jokuna
ab584c93bc
Korean translations
...
activities.php
common.php
entities.php
validation.php
2021-04-29 00:11:01 +09:00
Dan Brown
2d8698a218
Updated version and assets for release v21.04.3
2021-04-27 22:01:37 +01:00
Dan Brown
454fb883a2
Merge branch 'master' into release
2021-04-27 22:01:15 +01:00
Dan Brown
fc504a3d2c
Updated translator attribution before release v21.04.3
2021-04-27 22:00:51 +01:00
Dan Brown
dd805503fb
New Crowdin updates ( #2695 )
...
* New translations settings.php (Japanese)
* New translations settings.php (Japanese)
* New translations common.php (Latvian)
* New translations common.php (Russian)
* New translations settings.php (Dutch)
* New translations common.php (Dutch)
* New translations settings.php (Dutch)
* New translations entities.php (Dutch)
* New translations validation.php (Dutch)
* New translations activities.php (Dutch)
* New translations common.php (German)
* New translations common.php (Dutch)
* New translations common.php (German Informal)
* New translations activities.php (Dutch)
* New translations entities.php (German)
* New translations settings.php (German)
* New translations auth.php (Dutch)
* New translations components.php (Dutch)
* New translations common.php (German Informal)
* New translations entities.php (German Informal)
* New translations settings.php (German Informal)
* New translations common.php (Catalan)
* New translations common.php (Catalan)
* New translations passwords.php (Catalan)
* New translations validation.php (Catalan)
* New translations validation.php (Catalan)
* New translations auth.php (Catalan)
* New translations common.php (Italian)
* New translations activities.php (Italian)
* New translations common.php (Italian)
2021-04-27 21:58:09 +01:00
Dan Brown
f24336f77a
Updated mobile content tabs to respect dark mode
2021-04-27 21:55:33 +01:00
Dan Brown
aa6a752e38
Implemented custom select controls because apple hates web developers
...
They'd rather keep pushing their 2007 era strange form control styles
even though they're horribly outdated, ugly and hard to style. The
only way to override is a full nuking of the default styles, which means
we have to then implement the frigging arrow icon using hacks which would
then conflict with all other sensible browsers so we have to nuke their
styles aswell to ensure some stupid backgroud hack is used everywhere.
I bet apple don't even use their shite default control styles and nuke
them also, Lets see. Yup, First thing I see on the top of their homepage
is a locale select dropdown custom built from about 10 HTML elements. FML
For #2709
2021-04-27 21:36:08 +01:00
Dan Brown
83b576eb19
Prevented "Recently Viewed" homepage list showing non-user-viewed items
...
Triggered when the user has no/limited views. Added a test to cover.
Closes #2703
2021-04-27 21:05:01 +01:00
Dan Brown
c4e31a0d5e
Updated hard-coded string lengths for indexed columns
...
Since this is what's causing issues for people during migration due to max
key lengths.
Related to #2710 .
2021-04-27 20:53:22 +01:00
Dan Brown
f8cdd6e80d
Reduced calls for s3-based uploads
...
Combined the public ACL update into the put operation.
2021-04-27 20:36:42 +01:00
awarre
f8b5a0fd50
Add base64 image support
2021-04-20 23:41:21 +00:00
Dan Brown
6f4a6ab8ea
Updated version for release v21.04.2
2021-04-20 22:37:05 +01:00
Dan Brown
9c4b6f36f1
Merge branch 'master' into release
2021-04-20 22:36:35 +01:00
Dan Brown
140aed3586
Updated translator attribution before release v21.04.2
2021-04-20 22:36:21 +01:00
Dan Brown
cf87b78636
New Crowdin updates ( #2691 )
...
* New translations common.php (Spanish)
* New translations common.php (Danish)
* New translations auth.php (Danish)
* New translations components.php (Danish)
* New translations entities.php (Danish)
* New translations entities.php (Danish)
* New translations settings.php (Danish)
* New translations common.php (Chinese Simplified)
* New translations auth.php (Chinese Simplified)
* New translations settings.php (Danish)
* New translations settings.php (Danish)
* New translations activities.php (Danish)
* New translations validation.php (Danish)
* New translations common.php (Danish)
* New translations auth.php (Danish)
* New translations activities.php (Danish)
2021-04-20 22:14:37 +01:00
Dan Brown
ec827da5a5
Updated public view test case to be more reliable
...
Was failing due to either common name or view share being
sticky across requests.
2021-04-20 22:14:01 +01:00
Dan Brown
20528a2442
Fixed error thrown when owner existed but the creator did not
...
Added test to cover.
For #2687
2021-04-20 21:04:38 +01:00
Dan Brown
78886b1e67
Updated version and assets for release v21.04.1
2021-04-19 22:26:19 +01:00
Dan Brown
d9debaf032
Merge branch 'master' into release
2021-04-19 22:25:29 +01:00
Dan Brown
b3c47649b4
New Crowdin updates ( #2672 )
...
* New translations common.php (French)
* New translations entities.php (French)
* New translations settings.php (Russian)
* New translations settings.php (Ukrainian)
* New translations common.php (Spanish, Argentina)
* New translations common.php (Spanish)
* New translations entities.php (Spanish, Argentina)
* New translations settings.php (Spanish, Argentina)
* New translations common.php (Portuguese, Brazilian)
* New translations settings.php (Portuguese, Brazilian)
* New translations common.php (Chinese Simplified)
* New translations common.php (Polish)
* New translations common.php (Norwegian Bokmal)
* New translations common.php (Bosnian)
* New translations common.php (Latvian)
* New translations common.php (Persian)
* New translations common.php (Indonesian)
* New translations common.php (Vietnamese)
* New translations common.php (Chinese Traditional)
* New translations common.php (Ukrainian)
* New translations common.php (Turkish)
* New translations common.php (Swedish)
* New translations common.php (Slovenian)
* New translations common.php (Slovak)
* New translations common.php (Russian)
* New translations common.php (Portuguese)
* New translations common.php (Dutch)
* New translations common.php (French)
* New translations common.php (Korean)
* New translations common.php (Japanese)
* New translations common.php (Italian)
* New translations common.php (Hungarian)
* New translations common.php (Hebrew)
* New translations common.php (German)
* New translations common.php (Danish)
* New translations common.php (Czech)
* New translations common.php (Catalan)
* New translations common.php (Bulgarian)
* New translations common.php (Arabic)
* New translations common.php (Portuguese, Brazilian)
* New translations common.php (Spanish)
* New translations common.php (Spanish, Argentina)
* New translations common.php (German Informal)
2021-04-19 22:04:05 +01:00
Dan Brown
70be28d22c
Updated tinymce code block handling to help prevent breaking history states
...
Only used an undo transaction on startup and added a small delay
to codeMirror parsing on SetContent's to help avoid
the rendering activities getting caught in undoManager states.
Seemed to improve things a lot in Firefox & chrome on my dev machine.
For #2602
2021-04-19 22:00:33 +01:00
Dan Brown
9df4dee1b2
Improved header element accessibility when at mobile sizes
...
Intended to fix issues raised in #2681 .
Changes up the tri-layout tabs, and the main header menu toggle,
to be buttons while adding better text and keyboard controls.
Updated the component format of a few elements along the way.
2021-04-19 21:41:13 +01:00
Dan Brown
60ffe6a993
Updated packages and added better upload failure logging
...
To fix #2689
Updates all packages but mainly focused on aws-sdk
2021-04-19 20:16:49 +01:00
Dan Brown
0c880def5e
Fixed response JSON detection when charset existed
...
Fixes #2684
2021-04-18 22:12:26 +01:00
Alireza Arjvand
2744b2a243
Added parent info to recycle bin
2021-04-17 13:09:56 +04:30
Dan Brown
d4360d6347
Updated version and assets for release v21.04
2021-04-09 21:18:32 +01:00
Dan Brown
175b1785c0
Merge branch 'master' into release
2021-04-09 21:18:09 +01:00
Dan Brown
e4660a5ba2
Aligned facade accessor
2021-04-09 21:03:02 +01:00
Dan Brown
e2fa6d83c6
Removed some unused sass variables
2021-04-08 22:33:36 +01:00
Dan Brown
a0d32e7b88
Updated translator contribution list
2021-04-07 21:56:30 +01:00
Dan Brown
ced15b64a8
New Crowdin updates ( #2621 )
...
* New translations common.php (Russian)
* New translations settings.php (Russian)
* New translations activities.php (Indonesian)
* New translations settings.php (Indonesian)
* New translations settings.php (French)
* New translations activities.php (Chinese Traditional)
* New translations activities.php (Chinese Traditional)
* New translations auth.php (Chinese Traditional)
* New translations auth.php (Chinese Traditional)
* New translations auth.php (Chinese Traditional)
* New translations auth.php (Chinese Traditional)
* New translations common.php (Chinese Traditional)
* New translations components.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Traditional)
* New translations errors.php (Chinese Traditional)
* New translations errors.php (Chinese Traditional)
* New translations errors.php (Chinese Traditional)
* New translations errors.php (Chinese Traditional)
* New translations errors.php (Chinese Traditional)
* New translations activities.php (Polish)
* New translations common.php (Polish)
* New translations entities.php (Polish)
* New translations settings.php (Polish)
* New translations settings.php (Polish)
* New translations validation.php (Polish)
* New translations settings.php (Latvian)
* New translations settings.php (Latvian)
* New translations settings.php (Latvian)
* New translations passwords.php (Chinese Traditional)
* New translations validation.php (Chinese Traditional)
* New translations validation.php (Chinese Traditional)
* New translations validation.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations validation.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations validation.php (Latvian)
* New translations validation.php (Polish)
* New translations validation.php (German Informal)
* New translations validation.php (Norwegian Bokmal)
* New translations validation.php (Spanish, Argentina)
* New translations validation.php (Persian)
* New translations validation.php (Portuguese, Brazilian)
* New translations validation.php (Vietnamese)
* New translations validation.php (Chinese Traditional)
* New translations validation.php (Chinese Simplified)
* New translations validation.php (Ukrainian)
* New translations validation.php (Turkish)
* New translations validation.php (Swedish)
* New translations validation.php (Slovenian)
* New translations validation.php (Slovak)
* New translations validation.php (Russian)
* New translations validation.php (Dutch)
* New translations validation.php (Portuguese)
* New translations validation.php (Korean)
* New translations validation.php (Japanese)
* New translations validation.php (Italian)
* New translations validation.php (Hungarian)
* New translations validation.php (Hebrew)
* New translations validation.php (German)
* New translations validation.php (Danish)
* New translations validation.php (Czech)
* New translations validation.php (Bulgarian)
* New translations validation.php (Arabic)
* New translations validation.php (Spanish)
* New translations validation.php (French)
* New translations validation.php (Bosnian)
* New translations validation.php (Indonesian)
* New translations validation.php (Catalan)
* New translations entities.php (Latvian)
* New translations entities.php (Polish)
* New translations entities.php (German Informal)
* New translations entities.php (Norwegian Bokmal)
* New translations entities.php (Spanish, Argentina)
* New translations entities.php (Persian)
* New translations entities.php (Portuguese, Brazilian)
* New translations entities.php (Vietnamese)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Simplified)
* New translations entities.php (Ukrainian)
* New translations entities.php (Turkish)
* New translations entities.php (Swedish)
* New translations entities.php (Slovenian)
* New translations entities.php (Slovak)
* New translations entities.php (Russian)
* New translations entities.php (Dutch)
* New translations entities.php (Portuguese)
* New translations entities.php (Korean)
* New translations entities.php (Japanese)
* New translations entities.php (Italian)
* New translations entities.php (Hungarian)
* New translations entities.php (Hebrew)
* New translations entities.php (German)
* New translations entities.php (Danish)
* New translations entities.php (Czech)
* New translations entities.php (Bulgarian)
* New translations entities.php (Arabic)
* New translations entities.php (Spanish)
* New translations entities.php (French)
* New translations entities.php (Bosnian)
* New translations entities.php (Indonesian)
* New translations entities.php (Catalan)
* New translations entities.php (Spanish)
* New translations settings.php (Chinese Simplified)
* New translations entities.php (Chinese Simplified)
* New translations entities.php (Portuguese)
* New translations entities.php (Latvian)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations common.php (German)
* New translations common.php (Japanese)
* New translations common.php (Chinese Simplified)
* New translations common.php (Ukrainian)
* New translations common.php (Turkish)
* New translations common.php (Swedish)
* New translations common.php (Slovenian)
* New translations common.php (Slovak)
* New translations common.php (Russian)
* New translations common.php (Portuguese)
* New translations common.php (Dutch)
* New translations common.php (Korean)
* New translations common.php (Polish)
* New translations common.php (Italian)
* New translations common.php (Arabic)
* New translations common.php (Hungarian)
* New translations common.php (French)
* New translations common.php (Spanish)
* New translations common.php (Catalan)
* New translations common.php (Bulgarian)
* New translations common.php (Czech)
* New translations common.php (Danish)
* New translations common.php (Hebrew)
* New translations common.php (Bosnian)
* New translations common.php (Chinese Traditional)
* New translations common.php (Vietnamese)
* New translations common.php (Portuguese, Brazilian)
* New translations common.php (Persian)
* New translations common.php (Spanish, Argentina)
* New translations common.php (Latvian)
* New translations common.php (Norwegian Bokmal)
* New translations common.php (German Informal)
* New translations common.php (Indonesian)
* New translations common.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations common.php (Portuguese)
* New translations entities.php (Latvian)
* New translations common.php (Latvian)
* New translations settings.php (Portuguese)
* New translations common.php (Russian)
* New translations entities.php (Russian)
* New translations settings.php (Polish)
* New translations common.php (Ukrainian)
* New translations entities.php (Ukrainian)
* New translations settings.php (Ukrainian)
* New translations settings.php (Russian)
* New translations settings.php (Russian)
* New translations common.php (Chinese Simplified)
2021-04-07 21:49:45 +01:00
Dan Brown
f0723b6ee7
Fixed social button icon/text misalignment
2021-04-06 22:00:07 +01:00
Dan Brown
2162da3a14
Updated project npm deps
2021-04-06 21:55:49 +01:00
Dan Brown
f02cfd8271
Removed mentions of 'mail' mail driver
...
Closes #2657
2021-03-27 15:56:36 +00:00
Dan Brown
b6a0f9f069
Create config.yml
...
Totally not discovered/copied from viewing the linuxserver.io options (https://github.com/linuxserver/docker-bookstack/blob/master/.github/ISSUE_TEMPLATE/config.yml )
2021-03-25 21:52:32 +00:00
Dan Brown
5c9c1d1a4b
Updated shelf sort to allow default sort, added testing
...
Done during review of #2515
2021-03-21 23:06:15 +00:00
Dan Brown
ab4c5a55b8
Merge branch 'feature/sort-shelf-books' of git://github.com/guillaumehanotel/BookStack into guillaumehanotel-feature/sort-shelf-books
2021-03-21 21:52:39 +00:00
Dan Brown
43c2fc3c37
Updated dev-docker setup to not alter phpunit.xml
...
Tested on my machine via fresh dev instance with tests passing.
May need old users to drop their old volume data.
2021-03-21 17:42:10 +00:00
Dan Brown
371033a0f2
Merge branch 'master' into docker-tests
2021-03-21 16:49:22 +00:00
Dan Brown
06706a2d9c
Added user filter to audit log
...
Included testing to cover.
Closes #2472
2021-03-21 15:04:32 +00:00
Dan Brown
c548c06086
Updated dev-docker setup
...
Removed extension installs for already installed things.
Removed tidy build bits.
Ensured it ran via quick build and test
2021-03-20 16:44:47 +00:00
Dan Brown
8e5067ee91
Performed fixes for failing tests on php8
...
- Commands that run a truncate DB action failed due to messing up the
test transations so we mnaully work around that now to ensure a
transaction exists for the test to cleanup afterwards.
- Updated dompdf lib version
2021-03-20 16:25:02 +00:00
Dan Brown
0310b8614e
Updated GH actions to use strings for php versions
...
Looked like 8.0 was being converted to 8
2021-03-20 15:40:08 +00:00
Dan Brown
829fecd338
Updated app to PHP7.3 min supported version, For php8 support
...
- Updated remaining dependancies
- Upped min versions used
- Updated GH actions to drop 7.2 and include 8.0
- Updated phpunit & tests to 9.x
2021-03-20 15:35:39 +00:00
Dan Brown
44a293f051
Fleshed out and checked over theme system docs
2021-03-20 15:09:17 +00:00
Dan Brown
a92c35a7ac
Worked on theme system documentation
2021-03-19 23:06:50 +00:00
Dan Brown
691db40a33
Added login/register theme events
2021-03-19 21:54:50 +00:00
Dan Brown
2ae89f2c32
Added the possibility of social provider extension via theme
...
Also started docs page
2021-03-19 16:22:47 +00:00
Dan Brown
9d37af9453
Added web-middleware based theme events
2021-03-17 12:56:56 +00:00
Dan Brown
a5d2a26fcc
Added testing for the back-end theme system done so far
2021-03-16 17:55:19 +00:00
Dan Brown
c61c3bc608
Started backend theme system
...
Allows customization of back-end components via event-driven handling
from the theme folder.
2021-03-16 17:14:03 +00:00
Dan Brown
1420f239fc
Made session cookie path dynamic based on APP_URL
2021-03-16 13:03:07 +00:00
Dan Brown
3d0e1bc9db
Merge branch 'master' of git://github.com/ckleemann/BookStack into ckleemann-master
2021-03-16 12:45:12 +00:00
Dan Brown
71ccb90ef4
Amended owned by search filter to use slugs
2021-03-15 18:27:03 +00:00
Dan Brown
c8564b7792
Merge branch 'search-owned-by-me' of git://github.com/benediktvolke/BookStack into benediktvolke-search-owned-by-me
2021-03-15 18:21:09 +00:00
Dan Brown
215c69acb2
Merge image name cleaning functions
...
Updated testing for changes and to check existing of new expected file
name.
Related to #2611
2021-03-14 23:20:21 +00:00
Dan Brown
c1f67372a7
Merge branch 'master' of git://github.com/webfoersterei/BookStack into webfoersterei-master
2021-03-14 22:55:30 +00:00
Dan Brown
b929c0adbb
Performed further cleanup in permission service
2021-03-14 20:32:33 +00:00
Dan Brown
1e5951a75f
Done a refactor pass on PermissionService
...
Could do with splitting out into seperate query/build classess really.
Closes #2633 .
2021-03-14 19:52:07 +00:00
Dan Brown
a644f64c6b
Merge branch 'v0.31.x'
2021-03-13 15:37:44 +00:00
Dan Brown
615038ac6d
Merge pull request #2626 from BookStackApp/2525_add_user_slugs
...
User slugs
2021-03-10 23:12:25 +00:00
Dan Brown
3c57cbc567
Updated testing for user slugs
2021-03-10 23:04:18 +00:00
Dan Brown
da929d5edc
Updates search to use user slugs
2021-03-10 22:51:18 +00:00
Dan Brown
124c4d0778
Updated register paths to include user slugs
2021-03-10 22:37:53 +00:00
Dan Brown
19d79b6a0f
Started rolling out user slugs to model and core controllers
2021-03-09 23:06:12 +00:00
Dan Brown
3a9caea846
Started work on user slugs
...
Related to #2525
2021-03-08 22:34:22 +00:00
Dan Brown
34e6098687
Merge branch 'master' of github.com:BookStackApp/BookStack
2021-03-07 22:24:41 +00:00
Dan Brown
98a1e57ba9
Ran phpcbf and updated phpcs.xml
2021-03-07 22:24:05 +00:00
Dan Brown
f31cdf7bff
New Crowdin updates ( #2620 )
...
* New translations settings.php (Norwegian Bokmal)
* New translations auth.php (Catalan)
* New translations settings.php (Catalan)
* New translations entities.php (Catalan)
* New translations settings.php (German Informal)
* New translations settings.php (Bosnian)
* New translations settings.php (Spanish)
* New translations settings.php (French)
* New translations settings.php (Bulgarian)
* New translations settings.php (Arabic)
* New translations settings.php (Czech)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Slovenian)
* New translations settings.php (Persian)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Ukrainian)
* New translations settings.php (Turkish)
* New translations settings.php (Swedish)
* New translations settings.php (Slovak)
* New translations settings.php (Danish)
* New translations settings.php (Russian)
* New translations settings.php (Polish)
* New translations settings.php (Dutch)
* New translations settings.php (Korean)
* New translations settings.php (Japanese)
* New translations settings.php (Italian)
* New translations settings.php (Hungarian)
* New translations settings.php (Hebrew)
* New translations auth.php (German)
* New translations auth.php (Spanish)
* New translations settings.php (Portuguese)
* New translations settings.php (German)
* New translations settings.php (Latvian)
* New translations settings.php (Vietnamese)
* New translations activities.php (French)
* New translations settings.php (Indonesian)
* New translations entities.php (French)
* New translations components.php (German Informal)
2021-03-07 17:41:58 +00:00
Dan Brown
9a3e1490ff
Merge branch 'Ereza-master'
2021-03-07 17:25:27 +00:00
Dan Brown
1f2fd58e28
Merge branch 'master' of git://github.com/Ereza/BookStack into Ereza-master
2021-03-07 17:25:07 +00:00
Dan Brown
bcf3a0f677
Merge pull request #2616 from geins/master
...
Fixed german formal translation
2021-03-07 17:20:07 +00:00
Dan Brown
f40dedb451
Merge branch 'master' into master
2021-03-07 17:19:55 +00:00
Dan Brown
266f6846b5
Merge pull request #2609 from arcoai/fix/user-invite-email-subject-spanish-translation
...
Fixed user invite email subject in spanish translation (#2608 )
2021-03-07 17:18:07 +00:00
Dan Brown
49ca9a9db8
Merge pull request #2533 from benediktvolke/fix-german-language
...
Fix German translation string
2021-03-07 17:15:40 +00:00
Dan Brown
e7a7d8cc1d
Merge pull request #2513 from Baptistou/patch-1
...
Fix French translations
2021-03-07 17:14:57 +00:00
Dan Brown
34c2da4ab1
New Crowdin updates ( #2618 )
...
* New translations settings.php (Russian)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Ukrainian)
* New translations settings.php (Turkish)
* New translations settings.php (Swedish)
* New translations settings.php (Slovenian)
* New translations settings.php (Slovak)
* New translations settings.php (Polish)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Dutch)
* New translations settings.php (Korean)
* New translations settings.php (Japanese)
* New translations settings.php (Italian)
* New translations settings.php (Hungarian)
* New translations settings.php (Hebrew)
* New translations settings.php (Danish)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Persian)
* New translations settings.php (Bulgarian)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (German Informal)
* New translations settings.php (Norwegian Bokmal)
* New translations settings.php (Bosnian)
* New translations settings.php (Czech)
* New translations settings.php (Arabic)
* New translations settings.php (Spanish)
* New translations settings.php (French)
* New translations settings.php (Portuguese)
* New translations settings.php (German)
* New translations settings.php (Latvian)
* New translations settings.php (Vietnamese)
* New translations settings.php (Indonesian)
* New translations common.php (German Informal)
* New translations common.php (Spanish, Argentina)
2021-03-07 17:11:18 +00:00
Dan Brown
7497203014
Merge branch 'master' of github.com:BookStackApp/BookStack
2021-03-07 17:03:21 +00:00
Dan Brown
d731a4f695
Updated language lists with Bosnian, Indonesian, Latvian & Portuguese
2021-03-07 17:02:28 +00:00
Dan Brown
03f6be6d0e
New Crowdin updates ( #2501 )
...
* New translations activities.php (German Informal)
* New translations settings.php (Ukrainian)
* New translations settings.php (Turkish)
* New translations settings.php (Polish)
* New translations common.php (Russian)
* New translations settings.php (Russian)
* New translations common.php (Slovak)
* New translations settings.php (Slovak)
* New translations common.php (Slovenian)
* New translations settings.php (Slovenian)
* New translations common.php (Swedish)
* New translations settings.php (Swedish)
* New translations common.php (Turkish)
* New translations common.php (Ukrainian)
* New translations settings.php (Dutch)
* New translations common.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations common.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations common.php (Vietnamese)
* New translations settings.php (Vietnamese)
* New translations common.php (Portuguese, Brazilian)
* New translations settings.php (Portuguese, Brazilian)
* New translations common.php (Spanish, Argentina)
* New translations settings.php (Spanish, Argentina)
* New translations common.php (Norwegian Bokmal)
* New translations common.php (Polish)
* New translations common.php (Dutch)
* New translations settings.php (Norwegian Bokmal)
* New translations settings.php (Czech)
* New translations settings.php (German)
* New translations settings.php (German Informal)
* New translations common.php (French)
* New translations settings.php (French)
* New translations common.php (Spanish)
* New translations settings.php (Spanish)
* New translations common.php (Arabic)
* New translations settings.php (Arabic)
* New translations common.php (Bulgarian)
* New translations settings.php (Bulgarian)
* New translations common.php (Czech)
* New translations common.php (Danish)
* New translations settings.php (Korean)
* New translations settings.php (Danish)
* New translations common.php (German)
* New translations common.php (Hebrew)
* New translations settings.php (Hebrew)
* New translations common.php (Hungarian)
* New translations settings.php (Hungarian)
* New translations common.php (Italian)
* New translations settings.php (Italian)
* New translations common.php (Japanese)
* New translations settings.php (Japanese)
* New translations common.php (Korean)
* New translations common.php (German Informal)
* New translations common.php (Spanish)
* New translations settings.php (Spanish)
* New translations settings.php (Hebrew)
* New translations settings.php (Hebrew)
* New translations settings.php (Hebrew)
* New translations settings.php (Hebrew)
* New translations common.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Chinese Simplified)
* New translations components.php (Hebrew)
* New translations passwords.php (Hebrew)
* New translations activities.php (Persian)
* New translations settings.php (Latvian)
* New translations settings.php (Bosnian)
* New translations passwords.php (Bosnian)
* New translations pagination.php (Bosnian)
* New translations errors.php (Bosnian)
* New translations entities.php (Bosnian)
* New translations components.php (Bosnian)
* New translations common.php (Bosnian)
* New translations auth.php (Bosnian)
* New translations activities.php (Bosnian)
* New translations validation.php (Latvian)
* New translations passwords.php (Latvian)
* New translations common.php (Persian)
* New translations pagination.php (Latvian)
* New translations errors.php (Latvian)
* New translations entities.php (Latvian)
* New translations components.php (Latvian)
* New translations common.php (Latvian)
* New translations auth.php (Latvian)
* New translations activities.php (Latvian)
* New translations validation.php (Persian)
* New translations settings.php (Persian)
* New translations entities.php (Persian)
* New translations validation.php (Bosnian)
* New translations activities.php (Latvian)
* New translations common.php (Latvian)
* New translations common.php (Latvian)
* New translations passwords.php (Latvian)
* New translations auth.php (Latvian)
* New translations auth.php (Latvian)
* New translations activities.php (Bosnian)
* New translations activities.php (Bosnian)
* New translations components.php (Bosnian)
* New translations components.php (Bosnian)
* New translations activities.php (Latvian)
* New translations auth.php (Latvian)
* New translations activities.php (Latvian)
* New translations auth.php (Latvian)
* New translations pagination.php (Latvian)
* New translations passwords.php (Latvian)
* New translations auth.php (Latvian)
* New translations common.php (Latvian)
* New translations components.php (Latvian)
* New translations passwords.php (Latvian)
* New translations components.php (Latvian)
* New translations common.php (French)
* New translations settings.php (French)
* New translations entities.php (Latvian)
* New translations entities.php (Latvian)
* New translations entities.php (Latvian)
* New translations settings.php (Latvian)
* New translations errors.php (Latvian)
* New translations settings.php (Latvian)
* New translations common.php (Slovenian)
* New translations settings.php (Slovenian)
* New translations entities.php (Slovenian)
* New translations entities.php (Latvian)
* New translations entities.php (Latvian)
* New translations errors.php (Latvian)
* New translations validation.php (Latvian)
* New translations validation.php (Latvian)
* New translations entities.php (Latvian)
* New translations entities.php (Latvian)
* New translations errors.php (Latvian)
* New translations settings.php (Latvian)
* New translations activities.php (Portuguese, Brazilian)
* New translations common.php (Portuguese, Brazilian)
* New translations entities.php (Portuguese, Brazilian)
* New translations settings.php (Portuguese, Brazilian)
* New translations validation.php (Portuguese, Brazilian)
* New translations validation.php (Latvian)
* New translations errors.php (Latvian)
* New translations settings.php (Latvian)
* New translations validation.php (Latvian)
* New translations common.php (German)
* New translations settings.php (German)
* New translations settings.php (Latvian)
* New translations validation.php (Latvian)
* New translations settings.php (Latvian)
* New translations entities.php (Latvian)
* New translations entities.php (Latvian)
* New translations entities.php (Latvian)
* New translations errors.php (Latvian)
* New translations settings.php (Latvian)
* New translations activities.php (Portuguese)
* New translations auth.php (Indonesian)
* New translations settings.php (Indonesian)
* New translations passwords.php (Indonesian)
* New translations pagination.php (Indonesian)
* New translations errors.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations components.php (Indonesian)
* New translations common.php (Indonesian)
* New translations activities.php (Indonesian)
* New translations auth.php (Portuguese)
* New translations validation.php (Portuguese)
* New translations settings.php (Portuguese)
* New translations passwords.php (Portuguese)
* New translations pagination.php (Portuguese)
* New translations errors.php (Portuguese)
* New translations entities.php (Portuguese)
* New translations components.php (Portuguese)
* New translations common.php (Portuguese)
* New translations validation.php (Indonesian)
* New translations auth.php (Portuguese)
* New translations common.php (Portuguese)
* New translations components.php (Portuguese)
* New translations entities.php (Portuguese)
* New translations entities.php (Portuguese)
* New translations entities.php (Portuguese)
* New translations entities.php (Portuguese)
* New translations entities.php (Portuguese)
* New translations errors.php (Portuguese)
* New translations components.php (Bosnian)
* New translations auth.php (Bosnian)
* New translations common.php (Bosnian)
* New translations pagination.php (Bosnian)
* New translations passwords.php (Bosnian)
* New translations auth.php (Bosnian)
* New translations errors.php (Portuguese)
* New translations errors.php (Portuguese)
* New translations pagination.php (Portuguese)
* New translations passwords.php (Portuguese)
* New translations settings.php (Portuguese)
* New translations validation.php (Portuguese)
* New translations settings.php (Portuguese)
* New translations settings.php (Portuguese)
* New translations activities.php (Vietnamese)
* New translations settings.php (Vietnamese)
* New translations validation.php (Bosnian)
* New translations validation.php (Bosnian)
* New translations validation.php (Bosnian)
* New translations validation.php (Bosnian)
* New translations validation.php (Bosnian)
* New translations errors.php (Bosnian)
* New translations errors.php (Bosnian)
* New translations errors.php (Bosnian)
* New translations errors.php (Bosnian)
* New translations errors.php (Bosnian)
* New translations errors.php (Bosnian)
* New translations entities.php (Bosnian)
* New translations entities.php (Bosnian)
* New translations activities.php (Indonesian)
* New translations activities.php (Indonesian)
* New translations auth.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations auth.php (Indonesian)
* New translations auth.php (Indonesian)
* New translations common.php (Indonesian)
* New translations components.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations entities.php (Latvian)
* New translations errors.php (Latvian)
* New translations settings.php (Latvian)
* New translations entities.php (Indonesian)
* New translations settings.php (Latvian)
* New translations entities.php (Bosnian)
* New translations entities.php (Bosnian)
* New translations entities.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations errors.php (Indonesian)
* New translations errors.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations errors.php (Indonesian)
* New translations pagination.php (Indonesian)
* New translations passwords.php (Indonesian)
* New translations validation.php (Indonesian)
* New translations settings.php (Indonesian)
* New translations settings.php (Indonesian)
* New translations settings.php (Indonesian)
* New translations settings.php (Indonesian)
* New translations validation.php (Indonesian)
* New translations common.php (Indonesian)
* New translations entities.php (Indonesian)
* New translations validation.php (Indonesian)
* New translations entities.php (Bosnian)
* New translations entities.php (Bosnian)
* New translations entities.php (Bosnian)
* New translations validation.php (Indonesian)
* New translations auth.php (Indonesian)
* New translations validation.php (Indonesian)
2021-03-07 16:44:28 +00:00
Dan Brown
938b5b4d1d
Updated github CI actions for ubuntu 20.04
...
Squash of:
commit 6b7d305e776dcec2103b9e4486f3c57c674d046f
Author: Dan Brown <ssddanbrown@googlemail.com >
Date: Sun Mar 7 16:25:43 2021 +0000
Updated migrations action and added ldap
commit 139d87687d3d4d6c2368adb522932469419c848a
Author: Dan Brown <ssddanbrown@googlemail.com >
Date: Sun Mar 7 16:18:55 2021 +0000
Updated mysql user auth
commit 326d11e0d3b96bfb2e6ba446ada9cee479d3eb1a
Author: Dan Brown <ssddanbrown@googlemail.com >
Date: Sun Mar 7 16:15:33 2021 +0000
Moved extensions to right place
commit aaa1e159ccbf535292615e094bb58ce6488726df
Author: Dan Brown <ssddanbrown@googlemail.com >
Date: Sun Mar 7 16:13:22 2021 +0000
Added php extensions
commit 3720324288c974d825ff2a63306a5fbf1c0478ab
Author: Dan Brown <ssddanbrown@googlemail.com >
Date: Sun Mar 7 16:07:37 2021 +0000
Update gh ci branches list for testing
commit 4e3a302a5a4480b45d967f398abbe33883b6d0fb
Author: Dan Brown <ssddanbrown@googlemail.com >
Date: Sun Mar 7 16:06:19 2021 +0000
Updated github ci to use ubuntu 20.04
2021-03-07 16:31:51 +00:00
geins
792b51b5dc
Merge pull request #2 from geins/settings.php-german-patch
...
completed german translation of 4 english residues
2021-03-06 21:32:27 +01:00
geins
a57eae20b0
completed german translation of 4 english residues
2021-03-06 21:29:59 +01:00
geins
1ffe212d83
Merge pull request #1 from geins/geins-patch-1
...
Translation error in formal german vs informal
2021-03-06 20:30:06 +01:00
geins
e29c07b28d
Translation error
...
Translation error: informal language in formal file Sie<->Du
2021-03-06 18:57:49 +01:00
Timo Förster
745d15d200
Allow uploads of files containing dots in filename. Closes BookStackApp/BookStack#2217
2021-03-04 22:27:20 +01:00
Arco Aplicaciones - David Blanco
05cfe74904
Fixed user invite email subject in spanish translation ( #2608 )
2021-03-04 00:07:17 +01:00
Dan Brown
4d4a57d1bf
Converted some tests from BrowserKit, Updated shared helpers
2021-03-03 22:11:00 +00:00
Dan Brown
382f155f76
Better aligned handler with core laravel
2021-03-02 21:59:12 +00:00
Dan Brown
60030a774d
Merge branch 'v0.31.x'
2021-03-02 21:43:30 +00:00
Dan Brown
7b6f8cb902
Merge pull request #2591 from philjak/add_bookshelf_view_type_to_env
...
Adding APP_VIEWS_BOOKSHELF to .ENV
2021-02-25 22:00:03 +00:00
Philip
111835f402
Adding APP_VIEWS_BOOKSHELF to .ENV
2021-02-25 07:51:38 +01:00
ckleemann
3fc935d4bb
Introduce an env variable for the Session Cookie Path
2021-02-20 14:25:28 +01:00
Benedikt Volke
b939785ece
Add checkbox on search page
2021-02-14 11:40:38 +01:00
Benedikt Volke
723628cfcf
Add translation string
2021-02-14 11:40:24 +01:00
Benedikt Volke
cf489453c9
Add test for new search tag
2021-02-14 11:40:02 +01:00
Benedikt Volke
6616065d82
Add filter method to search runner
2021-02-14 11:39:18 +01:00
Dan Brown
2df82dd870
Added padding to the bottom of the WYSIWYG editor
...
Also fixed weird affects from body now always being flex.
For #1075
2021-02-12 23:35:42 +00:00
Dan Brown
0ca8d7fc03
Updated books list view description to be limited by css
...
Instead of length limited
Related to #1222
2021-02-12 23:10:30 +00:00
Dan Brown
f36e6d9917
Updtd entity-selector for keyboard nav and new component system
...
For #2064
2021-02-12 22:10:37 +00:00
Dan Brown
6a4b020dd8
Removed user and revision links in export meta
...
Closes #2526
2021-02-12 20:58:01 +00:00
Dan Brown
b51ede2372
Updated php deps to avoid a couple of abandoned packages
2021-02-11 23:46:26 +00:00
Dan Brown
1a4797abc4
Updated update-url command to handle array values
...
Also added message to clear the cache after running.
For #2546
2021-02-11 23:14:37 +00:00
Dan Brown
c09300c06f
Split command tests out to indavidual test files
2021-02-11 22:42:36 +00:00
Dan Brown
ae353bb3f4
Updated update-url command to look at setting values
...
For #2546
Need to consider new JSON-array based setting values.
2021-02-10 23:47:58 +00:00
Dan Brown
54f5bf9437
Aligned setting helper with new get method changes
...
Also removed old unsused facade that existed for settings.
2021-02-10 23:21:49 +00:00
James Geiger
a0bfdf0e5c
Code cleanup, bug squashing
2021-02-09 01:27:27 -06:00
James Geiger
7ef17bb394
PageContent return null issue
2021-02-09 00:21:07 -06:00
James Geiger
48587d2c38
Code cleanup, refactor
...
Updated to use Str::length for entity descriptions.
Moved function to get first image in page to PageContent class.
2021-02-09 00:16:24 -06:00
Dan Brown
b0f4500c34
Added env option for setting dark mode default
...
Also allowed config-centralised default user settings for this change
and bought existing user-level view options into that default settings
system to be cleaner in code usage.
For #2081
2021-02-07 23:12:05 +00:00
Dan Brown
af032f8993
Tweaked LDAP TLS Implementation
...
- Moved the ldap function out to our separate service for easier
testing.
- Added testing for the option.
- Moved tls_insecure part back up above connection start as found more
reliable there.
Done a lot of real-connection testing during this review.
Used wireshare to ensure TLS connection does take place.
Found LDAP_TLS_INSECURE=false can action unreliably, restarting php-fpm
helped.
Tested both trusted and untrusted certificates.
2021-02-07 20:00:04 +00:00
Dan Brown
f177b02cae
Merge branch 'master' of git://github.com/Body4/BookStack into Body4-master
2021-02-07 18:33:10 +00:00
Dan Brown
5323cb5224
Removed some old front-end md rendering elements
...
Also ensured revisions were not created more often than expected.
Summary field null check was triggering revision save even when empty
since it was still in request.
Related to #1846
2021-02-06 23:11:20 +00:00
Dan Brown
a98fc71720
Updated composer deps again after merge
2021-02-06 14:22:55 +00:00
Dan Brown
9a05223e7d
Merge branch 'v0.31.x'
2021-02-06 14:22:19 +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
Eduard Ereza Martínez
7893e8229f
Add Catalan translation
2021-02-04 00:55:01 +01:00
Benedikt Volke
795ef67712
fix image delete confirm text
2021-02-03 13:00:08 +01: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
Baptiste Thémine
f40c389a15
Fix French translations
...
- "supprimer" is a better translation than "écarter" for "discard"
- "actuel" is a better translation than "courant" for "current"
- "modifications" is a better translation than "changements" for change
- "journal des modifications" is a better translation than "journal des changements" for changelog
- The button "Remplir le journal des changements" for pages_edit_set_changelog caused a wrapping in the header, it is replaced by "Décrivez vos modifications"
2021-02-02 13:12:07 +01: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
Abijeet
a0c605faae
Docker: Fix PHP tests
...
This creates another mysql_testing database during db service setup
Replace server with env tags in phpunit.xml in order to force
override certain parameters when tests are run. See:
https://github.com/sebastianbergmann/phpunit/issues/2353 for more
information.
Rename primary developer Docker database from bookstack-test to
bookstack-dev. bookstack-test is used as the mysql_testing database
2021-01-31 18:54:24 +05:30
Abijeet
ba2033a8fb
Docker: Fix permission with node service by adding user key
...
Fixes the following error:
glob error:
[Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/root/.npm/_logs'
}
On Linux, these lines ensure file ownership is set to your host
user/group
2021-01-31 16:57:30 +05:30
Guillaume Hanotel
a7848b916b
Improve sorting Shelf Books
2021-01-31 04:28:25 +01: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
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
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
James Geiger
e458411f91
Create Open Graph meta tags for book/page/chapter/shelf
2020-12-21 23:20:13 -06:00
James Geiger
4b36df08a8
Merge pull request #1 from BookStackApp/master
...
Update from base/master
2020-12-03 11:39:06 -06:00
Boddy4
20f9a50cee
LDAP: Added TLS support
2020-11-18 01:05:29 +01:00
Jason Houle
a192b600fc
Missed a variable when updating LdapService.
2020-10-12 12:47:36 -04:00
Jason Houle
b714652e10
Import thumbnail photos when LDAP users are created.
2020-10-12 12:33:55 -04:00
Jasper Weyne
69a47319d5
Default OpenID display name set to standard value
2020-08-05 13:14:46 +02:00
Jasper Weyne
35c48b9416
Method descriptions
2020-08-05 00:18:43 +02:00
Jasper Weyne
f2d320825a
Simplify refresh method
2020-08-04 22:09:53 +02:00
Jasper Weyne
23402ae812
Initial unit tests for OpenID
2020-08-04 21:30:17 +02:00
Jasper Weyne
6feaf25c90
Increase robustness of the refresh method
2020-08-04 21:29:11 +02:00
Jasper Weyne
46388a591b
AccessToken empty array parameter on null
2020-07-09 18:29:44 +02:00
Jasper Weyne
75b4a05200
Add OpenIdService to OpenIdSessionGuard constructor call
2020-07-09 18:00:16 +02:00
Jasper Weyne
13d0260cc9
Configurable OpenID Connect services
2020-07-09 16:27:45 +02:00
Jasper Weyne
97cde9c56a
Generalize refresh failure handling
2020-07-08 17:02:52 +02:00
Jasper Weyne
5df7db5105
Ignore ID token expiry if unavailable
2020-07-07 02:51:33 +02:00
Jasper Weyne
10c890947f
Token expiration and refreshing using the refresh_token flow
2020-07-07 02:26:00 +02:00
Jasper Weyne
25144a13c7
Deduplicated getOrRegisterUser method
2020-07-06 18:14:43 +02:00
Jasper Weyne
07a6d7655f
First basic OpenID Connect implementation
2020-07-01 23:27:50 +02:00
Nikhil Jha
e287d965f5
move zip export into exportservice
2020-05-13 20:07:19 -07:00
Nikhil Jha
ea82c2f61b
support exporting books as zip files
2020-05-13 19:57:59 -07:00
Nikhil Jha
a7d9646b19
support exporting WYSIWYG pages as Markdown
2020-05-13 18:34:22 -07:00
Nikhil Jha
a34a07c610
basic markdown export
2020-05-12 21:12:26 -07:00
Jan Mareš
034478409e
Add support Windows Authentication via SAML
2020-04-03 14:05:07 +02:00
James Geiger
fe438bdb45
Add footer element, styles, and associated settings
2020-03-18 22:28:06 -05:00
jakob
6acd958927
Add the "Create Shelf" resp. "Create Book" to the home view
2019-10-30 11:42:37 +01:00