Commit Graph

3667 Commits

Author SHA1 Message Date
f459a68535 Removed remaining dynamic action usages in joint permission queries 2022-07-16 19:28:04 +01:00
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
2b4b7c68cc New translations entities.php (German) 2022-07-15 08:45:23 +01:00
ad8d8dde2d New translations entities.php (German) 2022-07-15 07:39:07 +01:00
23f9b4d217 New translations auth.php (German) 2022-07-15 07:39:06 +01:00
bfbd0fc168 New translations activities.php (German) 2022-07-14 23:50:40 +01:00
77b57c068f New translations activities.php (German) 2022-07-14 22:50:28 +01:00
40d939394b Merge pull request #3573 from BookStackApp/m1_docker_support
M1/Apple Silicon dev docker compatibility
2022-07-14 11:03:25 +01:00
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
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
55dc86037f Fixed some typos and corrected grammar. 2022-07-12 23:05:44 +02:00
2989852520 Added simple data model for faster permission generation 2022-07-12 21:13:02 +01:00
4daac5a114 New translations auth.php (Croatian) 2022-07-12 21:07:49 +01:00
82baab66cc New translations activities.php (Croatian) 2022-07-12 21:07:48 +01:00
b0a4d3d059 Renamed and cleaned up existing permission service classes use 2022-07-12 20:15:41 +01:00
943cb7810b New translations activities.php (Croatian) 2022-07-12 20:02:15 +01:00
2d4f708c79 Extracted permission building out of permission service 2022-07-12 19:38:11 +01:00
376640db25 New translations settings.php (Portuguese) 2022-07-12 13:03:52 +01:00
9cfded1311 New translations common.php (Portuguese) 2022-07-12 13:03:51 +01:00
dde2ea743f New translations auth.php (Portuguese) 2022-07-12 13:03:50 +01:00
ddd45dde6b New translations entities.php (Portuguese) 2022-07-12 13:03:49 +01:00
a99cbcfe12 New translations activities.php (Portuguese) 2022-07-12 13:03:47 +01:00
c5e9dfa168 Optimized pre-joint-permission logic efficiency 2022-07-10 13:45:04 +01:00
83d2a3c763 Fixed comment count update error 2022-07-06 17:30:46 +08:00
f3d7d06536 New translations activities.php (Polish) 2022-07-05 19:10:04 +01:00
bd1971c827 New translations editor.php (Ukrainian) 2022-07-05 14:30:15 +01:00
61b3bc10a3 New translations common.php (Ukrainian) 2022-07-05 14:30:14 +01:00
1a224e1719 New translations auth.php (Ukrainian) 2022-07-05 14:30:13 +01:00
e89348b02a New translations entities.php (Ukrainian) 2022-07-05 14:30:12 +01:00
451300606f New translations activities.php (Ukrainian) 2022-07-05 14:30:10 +01:00
459659a680 New translations entities.php (Dutch) 2022-07-02 22:09:56 +01:00
4487ea576f New translations common.php (Dutch) 2022-07-02 22:09:55 +01:00
0c8bd581ae New translations auth.php (Dutch) 2022-07-02 21:05:42 +01:00
f9f4a87e1b New translations entities.php (Dutch) 2022-07-02 21:05:41 +01:00
f4fda8d80c New translations activities.php (Dutch) 2022-07-02 21:05:40 +01:00
6d66682620 New translations entities.php (German) 2022-06-30 09:36:18 +01:00
ab52f3367a New translations editor.php (Russian) 2022-06-29 15:26:03 +01:00
a721405202 New Crowdin updates (#3540) 2022-06-28 11:56:07 +01:00
d20aacb732 Merge branch '3535-group-sync-fix' into development 2022-06-28 11:47:22 +01:00
65fa96e405 New Crowdin updates (#3531) 2022-06-27 14:29:10 +01:00
736d6afb7d Aligned entity-selector-popup button and dblclick behaviour
Fixes #3534
2022-06-27 14:27:29 +01:00
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
47887ec595 Added path example to visual theme system 2022-06-27 13:38:51 +01:00
43749cd94e Merge branch 'development' of github.com:BookStackApp/BookStack into development 2022-06-25 14:27:46 +01:00
107df6c28f Applied StyleCI changes 2022-06-25 14:27:32 +01:00
c1d1ec5b89 New Crowdin updates (#3526) 2022-06-25 14:26:40 +01:00
12c282597d Fixed non-translated category strings
For #3529
2022-06-25 14:24:38 +01:00
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
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
3ed1ffdbeb Fixed issue blocking tags on book update
For #3527
2022-06-25 13:46:55 +01:00