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
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
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
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
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
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
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
Dan Brown
2989852520
Added simple data model for faster permission generation
2022-07-12 21:13:02 +01:00
Dan Brown
b0a4d3d059
Renamed and cleaned up existing permission service classes use
2022-07-12 20:15:41 +01:00
Dan Brown
2d4f708c79
Extracted permission building out of permission service
2022-07-12 19:38:11 +01:00
Dan Brown
c5e9dfa168
Optimized pre-joint-permission logic efficiency
2022-07-10 13:45:04 +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
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
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