d0fd1b7f5c
Make building of search results work for multi-byte encoded characters
2021-12-15 16:29:43 +02:00
632cb71af4
Updated translator attribution before release v21.11.3
2021-12-15 14:07:54 +00:00
74ab99ec41
Updated php deps
2021-12-15 14:00:30 +00:00
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
73a37b3cd9
Applied latest StyleCI changes
2021-12-15 13:49:20 +00:00
e43f679e62
Merge branch 'user_list_control'
2021-12-15 13:47:48 +00:00
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
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
d00ac3101d
Allowed database queue usage where desired
2021-12-13 18:34:18 +00:00
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
8d8b45860a
Updated REST API docs with links to webhooks & theme-systems
2021-12-12 18:14:22 +00:00
3bf34b6a0d
Added webhook format example to webhook management views
2021-12-12 18:02:08 +00:00
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
917598f7c8
Added webhook call functionality
2021-12-11 22:29:33 +00:00
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
f2cb3b94f9
Added missing migration down table drop
2021-12-10 14:58:14 +00:00
6381041252
Added testing for webhook management interface
2021-12-10 14:54:58 +00:00
7d13666039
Add unit test for ip addess searching
2021-12-10 15:11:30 +08:00
e6e92618b1
Fix PHP CS
2021-12-10 14:58:05 +08:00
2342f0c1c7
Fix UI error of IP searching input box
2021-12-10 14:50:04 +08:00
ee1106630e
Update translation setting in blade
2021-12-10 14:50:04 +08:00
93e80e5d4e
Delete duplicated translation
2021-12-10 14:50:04 +08:00
72d19968dd
Search IP by partial-equal
2021-12-10 14:50:04 +08:00
2fd7b1f0d5
Update index name to 'activities_ip_index'
2021-12-10 14:50:04 +08:00
a93254430c
Add index for user IP address
2021-12-10 14:50:04 +08:00
e686b2cf3c
Show current search IP
2021-12-10 14:50:04 +08:00
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
882f195927
Add margin right for IP input box
2021-12-10 14:50:04 +08:00
a12e346439
Add filter of user IP
2021-12-10 14:50:04 +08:00
8dee3d3a83
Add label translation
2021-12-10 14:50:04 +08:00
0e25298db9
Fix label and input box error
2021-12-10 14:50:04 +08:00
9cac6fad73
Add IP address search field mock
2021-12-10 14:50:04 +08:00
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
4621d8bcc5
Initial controller/views for webhooks management
2021-12-08 14:29:42 +00:00
a3a3055695
Started webhook implementation
2021-12-07 14:55:11 +00:00
867cbe15ea
Added link to OIDC docs in .env.example.complete
2021-12-07 13:45:43 +00:00
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
e6c8ecba9c
Merge branch 'master' of github.com:BookStackApp/BookStack
2021-11-30 14:25:27 +00:00
9490457d04
Applied StyleCI changes
2021-11-30 14:25:09 +00:00
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
3b3eb0f44f
Updated API session auth to consider public access setting
...
For #3091
2021-11-30 13:55:56 +00:00
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
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
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
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
cd7788f2e9
Updated translators and merged styleci fixes
2021-11-23 20:41:12 +00:00
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
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
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
024924eef3
Applied another round of static analysis updates
2021-11-22 23:33:55 +00:00