Dan Brown
7c3a4c7e85
Updated version and assets for release v25.12
2025-12-24 12:16:49 +00:00
Dan Brown
114fa802c0
Merge branch 'development' into release
2025-12-24 12:16:04 +00:00
Dan Brown
38d3697246
Updated translations with latest Crowdin changes ( #5933 )
2025-12-24 11:52:56 +00:00
Dan Brown
d93354ff0e
Updated licenses and translation attribution pre v25.12
2025-12-24 11:51:37 +00:00
Dan Brown
3336e0c6ae
Deps: Updated PHP packages via composer
2025-12-24 11:48:42 +00:00
Dan Brown
8fc9a2af4e
Lexical API: Updated docs to reflect public event usage
2025-12-23 18:33:54 +00:00
Dan Brown
8aec571123
Mentions: Fixed some users not showing in mention selector
2025-12-21 18:33:50 +00:00
Dan Brown
382f4db276
Merge pull request #5956 from BookStackApp/system_cli_update_dec25
...
System CLI: Update to v0.4
2025-12-20 15:48:59 +00:00
Dan Brown
d504b19143
System CLI: Update to v0.4
...
- The init & update commands will now use download-vendor logic instead
of using composer to install required PHP packages.
- The init command will now use our source.bookstackapp.com git mirror
instead of GitHub.
- Updated depenancy PHP package versions.
2025-12-20 15:46:15 +00:00
Dan Brown
d87e8d05c7
Merge pull request #5939 from BookStackApp/lexical_fixes_2512
...
Lexical fixes for v25.12
2025-12-20 14:05:30 +00:00
Dan Brown
0b48361780
Search: Fixed pagination not considering sub-paths
...
For #5951
Added test to cover.
2025-12-19 15:15:23 +00:00
Dan Brown
2de3247ae4
Deps: Updated PHP package versions
...
Includes major version change of antonioribeiro/google2fa which changes
secret length. From manual testing of old MFA secrets and new, this
should not be breaking at all.
2025-12-19 14:22:27 +00:00
Dan Brown
48df2be0d8
DB: Added views->viewable_type index
...
For #5948
2025-12-19 10:54:09 +00:00
Dan Brown
a4c0556551
Merge pull request #5952 from gerundt/iis-module-link
...
Update "Microsoft URL Rewrite Module for IIS" download link
2025-12-19 10:24:22 +00:00
Dan Brown
a941d1b403
Comment mentions: Fixed CI and test scenarios
2025-12-18 17:40:05 +00:00
Dan Brown
51f9b63db0
Comment Mentions: Fixed and tweaks during review of changes
...
- Added advisory on role permission form to advise which allow listing
of users/roles.
- Updated database config to avoid PHP8.5 deprecation.
- Tweaked migration to remove unused index.
- Fixed test namespace.
2025-12-18 17:15:29 +00:00
Dan Brown
90fc02c57f
Esbuild & Mentions: Updated interaction stability and build system
...
- Updated esbuild system to be module, and fixed build command.
- Reverted module use in package.json by default as this impacted test
runs/files.
- Updated mention user select:
- To look better in dark mode.
- To not remove text after on select.
- To properly revert/restore focus on enter or cancel.
2025-12-17 21:11:01 +00:00
Tim Gerundt
4aeb571126
Update "Microsoft URL Rewrite Module for IIS" download link
2025-12-17 15:11:29 +01:00
Dan Brown
3d9aba7b1f
Mentions: Added coverage for mentions search endpoint
2025-12-17 13:48:20 +00:00
Dan Brown
48cdaab690
Comment Mentions: Added tests to cover back-end functionality
2025-12-17 10:49:12 +00:00
Dan Brown
4f760479c3
Merge branch 'development' into comment_mentions
2025-12-17 09:58:27 +00:00
Dan Brown
9211062e8e
Merge pull request #5919 from BookStackApp/v25-11
...
Merge v25-11 changes into dev
2025-12-17 09:57:49 +00:00
Dan Brown
221c6c7e9f
Comment Mentions: Added core back-end logic
...
- Added new user notification preference, opt-in by default
- Added parser to extract mentions from comment HTML, with tests to
cover.
- Added notification and notification handling
Not yet tested, needs testing coverage.
2025-12-17 09:57:14 +00:00
Dan Brown
e2f91c2bbb
Comment Mentions: Added keyboard nav, worked on design
2025-12-14 17:19:08 +00:00
Dan Brown
147ff00c7a
JS: Swapped livereload lib for esbuild livereload setup
2025-12-14 16:25:19 +00:00
Dan Brown
1e768ce33f
Lexical: Changed mention to be a decorator node
...
Allows better selection.
Also updated existing decorator file names to align with classes so
they're easier to find.
Also aligned/fixed decorator constuctor/setup methods.
2025-12-13 17:03:48 +00:00
Dan Brown
8fcd3b24b3
Updated version and assets for release v25.11.6
2025-12-09 21:01:26 +00:00
Dan Brown
ce703403c2
Merge branch 'v25-11' into release
2025-12-09 21:00:25 +00:00
Dan Brown
313326b32a
Updated translator & dependency attribution before release v25.11.6
2025-12-09 20:59:57 +00:00
Dan Brown
1d87b513be
Deps: Updated PHP package versions
2025-12-09 20:40:48 +00:00
Dan Brown
9bf9ae9c37
Mentions: Added new endpoint, Built editor list display
2025-12-09 16:56:34 +00:00
Dan Brown
50540e23a1
Lexical: Created mention node, started mention service, split comment editor out
2025-12-08 15:52:21 +00:00
Dan Brown
3e1b0587ec
Lexical: Fixed undefined entity selector value
...
Also added pre-fill of selector search based on selected text range.
2025-12-07 15:07:08 +00:00
Dan Brown
6661ae8178
Lexical: Improved focus control for popup modal forms
...
Now moves focus to first field on open, and restores focus back to
editor on submit/close.
2025-12-07 15:02:06 +00:00
Dan Brown
1ee5711435
Pagination: Fixed lack of responsiveness causing overflow
...
For #5920
2025-12-07 13:09:50 +00:00
Dan Brown
08e7ba7064
Images: Made resize errors log with error detail
...
Closes #5869
2025-12-07 12:54:57 +00:00
Dan Brown
34e747162f
Testing: Fixed some incorrect test case names
2025-12-06 23:24:33 +00:00
Dan Brown
10f5ceee35
List page settings: Review of #5606
...
Updated setting display to show mulitple number inputs under one heading
group.
Updated settings to use general number field form view template.
Updated translations to match display changes, and to advise on counts.
Added page count control for search results.
Added setting service method, to get settings as integers, with
min/max/default control.
Updating sorting group to be names "Lists & Sorting".
Added tests to cover.
2025-12-06 23:10:54 +00:00
Dan Brown
9886bbd3a0
Merge branch 'feature/pagination_settings' of github.com:Xenoamor/BookStack into Xenoamor-feature/pagination_settings
2025-12-06 21:47:13 +00:00
Dan Brown
92a3c22b4c
Merge pull request #5928 from BookStackApp/lexical_dev_api
...
Initial developer API for WYSIWYG editor
2025-12-06 15:32:47 +00:00
Dan Brown
b5246a28f0
Lexical API: Updated docs to align method format
2025-12-06 15:18:28 +00:00
Dan Brown
ab4b1c8efa
Lexical API: Reviewed docs, Made toolbar its own UI class
2025-12-05 14:44:19 +00:00
Dan Brown
8890746278
Lexical API: Added public event to access editor API
...
Updated documentation to match.
Ran manual testing of examples.
2025-12-05 14:07:24 +00:00
Dan Brown
dfdcfcfdb8
Lexical API: Added content module, testing and documented
2025-12-05 12:15:18 +00:00
Dan Brown
ebceba0afe
Lexical API: Started working on docs format and jest testing
2025-12-04 21:13:17 +00:00
Dan Brown
16110273ff
Updated version and assets for release v25.11.5
2025-12-03 14:49:20 +00:00
Dan Brown
93bcbd168e
Merge branch 'v25-11' into release
2025-12-03 14:32:56 +00:00
Dan Brown
65f7b61c1f
Sessions: Ignored extra meta/dist content in history tracking
...
For #5925
Added tests to cover.
Extracted existing test to place with similiar sessions tests
2025-12-03 14:10:09 +00:00
Dan Brown
2fde803c76
Deps: Updated PHP package versions
...
Needed to update some tests due to charset casing change in Symfony 7.4
2025-12-03 13:55:00 +00:00
Dan Brown
adfac3e30e
OIDC: Updated state handling to prevent loss from other requests
...
Which was occuring in chrome, where background requests to the PWA
manifest, or opensearch, endpoint caused OIDC to fail due to lost state
since it was only flashed to the session.
This persists it with a manual TTL.
Added tests to cover.
Manually tested against Azure.
For #5929
2025-12-03 13:34:00 +00:00
Dan Brown
21730aeb39
Sponsors: Tweaked logo sizing
2025-12-02 18:48:21 +00:00
Dan Brown
75231d2d4a
Sponsors: Added Admin Intelligence
2025-12-02 18:46:36 +00:00
Dan Brown
9d732d8dd8
Lexical: Started dev API outline
2025-11-30 17:02:17 +00:00
Dan Brown
9e8088f186
JS: Bumped up JS package versions, and node version
2025-11-30 15:07:23 +00:00
Dan Brown
cf847974d2
Merge pull request #5917 from BookStackApp/copy_references
...
Internal reference handling on content copying
2025-11-29 20:50:05 +00:00
Dan Brown
3cd3e73f60
Copying: Fixed issue with non-page links to page permalinks
...
Found during manual testing.
Added test case to cover.
2025-11-29 20:35:16 +00:00
Dan Brown
bb350639c6
Styles: Made non-active dark/light css variables exist by default
...
This means that it would be possible to jump between light/dark mode
with just the class, and no reload needed.
Not something we'll directly use right now, but may be useful in
customizations.
2025-11-27 21:56:45 +00:00
Dan Brown
46001d61d0
Updated version and assets for release v25.11.4
2025-11-25 22:23:36 +00:00
Dan Brown
8dd238ceae
Updated version and assets for release v24.11.4
2025-11-25 21:48:32 +00:00
Dan Brown
bb7fd59de9
Merge branch 'v25-11' into release
2025-11-25 21:47:21 +00:00
Dan Brown
9de294343d
Notifications: Fixed error on comment notification
...
Fixes an error where a used relation (entity) on the comment was
resulting in null due to eager loading the notification when
deserializing from the queue, where Laravel was then mis-matching the
names when performing the eager loading.
For #5918
2025-11-25 21:08:45 +00:00
Dan Brown
98a09bcc37
Deps: Updated PHP packages
2025-11-25 19:55:22 +00:00
Dan Brown
959981a676
Copying: Added logic to find & update references
2025-11-25 17:52:26 +00:00
Dan Brown
674bb84fac
Copying: Added reference change context tracking
...
Added core wiring in the cloning logic, just need to implement core
logic in the updater now.
2025-11-25 14:46:36 +00:00
Dan Brown
ba675b6349
Copying: Added tests to cover copy self-references
...
Logic to make tests pass to follow
2025-11-25 13:52:36 +00:00
Dan Brown
f073994bc3
Testing: Extracted copy tests to their own class
2025-11-25 12:36:33 +00:00
Dan Brown
0f40aeb0d3
Merge pull request #5913 from BookStackApp/slug_history
...
Slug History Tracking & Usage
2025-11-24 20:29:44 +00:00
Dan Brown
cdd164e3e3
Slugs: Added test to cover history lookup permission usage
2025-11-24 20:04:55 +00:00
Dan Brown
c90816987c
Slugs: Rolled out history lookup to other types
...
Added testing to cover.
Also added batch recording of child slug pairs on book slug changes.
2025-11-24 19:49:34 +00:00
Dan Brown
dd393691b1
Slugs: Added lookup system using history
...
Switched page lookup to use this.
2025-11-24 13:55:11 +00:00
Dan Brown
dd5375f480
Slugs: Fixed storage bugs, added testing coverage
2025-11-24 10:46:24 +00:00
Dan Brown
291a807d98
Slugs: Added slug recording at points of generation
...
Also moved some model-level helpers, which used app container
resolution, to be injected services instead.
2025-11-23 23:29:30 +00:00
Dan Brown
e64fc60bdf
Slugs: Created history table to track changes
2025-11-23 16:50:37 +00:00
Dan Brown
ad582ab9f8
DB testing: Prevented caching during build
...
To prevent re-using code when re-run for same branch.
2025-11-22 12:40:30 +00:00
Dan Brown
870f3c58c0
DB Testing: Updated supported DB list, added readme
...
Also fixed potentally flaky GIf test to be more accurate with single
frame GIF images.
2025-11-22 12:24:36 +00:00
Dan Brown
ad8fc95521
Updated version and assets for release v25.11.3
2025-11-21 14:02:09 +00:00
Dan Brown
cca066a258
Merge branch 'development' into release
2025-11-21 14:01:06 +00:00
Dan Brown
22a7772c3d
Env: Added storage type to default example env
...
Provides greater consideration to the storage type used and the fact
that it'll place images in public space by default.
2025-11-21 13:57:38 +00:00
Dan Brown
9934f85ba9
Deps: Updated PHP packages via composer
2025-11-21 13:42:50 +00:00
Dan Brown
73c6bf4f8d
Images: Updated access to consider public secure_restricted
...
Had prevented public access for images when secure_restricted images was
enabled (and for just secure images) when app settings allowed public
access.
This considers the app public setting, and adds tests to cover extra
scenarios to prevent regression.
2025-11-21 12:09:25 +00:00
Dan Brown
bbda5fd468
Updated version and assets for release v25.11.2
2025-11-19 15:10:15 +00:00
Dan Brown
8429cc93eb
Merge branch 'development' into release
2025-11-19 15:09:02 +00:00
Dan Brown
47f12cc8f6
Maintenance: Fixed type issue, updated translator list
2025-11-19 14:38:35 +00:00
Dan Brown
b2f81f5c62
New translations common.php (Albanian) ( #5887 )
2025-11-19 14:37:04 +00:00
Dan Brown
1be2969055
Dev: Set timezone for test DB creation, added PHP 8.5 to tests
...
Also fixed some test namespaces
Related to #5881
2025-11-18 19:50:09 +00:00
Dan Brown
99a1d82f0a
Deps: Updated PHP package versions
...
Also updated dev version
2025-11-18 18:36:11 +00:00
Dan Brown
f06a6de2e7
Merge pull request #5899 from BookStackApp/zip_image_handling
...
Exports: Updated perm checking for images in ZIP exports
2025-11-18 18:27:38 +00:00
Dan Brown
aaa28186bc
Exports: Updated perm checking for images in ZIP exports
...
For #5885
Adds to, uses and cleans-up central permission checking in ImageService
to mirror that which would be experienced by users in the UI to result
in the same image access conditions.
Adds testing to cover.
2025-11-18 14:19:46 +00:00
Dan Brown
fef61f054a
Updated version and assets for release v25.11.1
2025-11-11 12:17:44 +00:00
Dan Brown
8082c95ec3
Merge branch 'development' into release
2025-11-11 12:15:16 +00:00
Dan Brown
8ab9252f9b
DB: Added extra query tests, updated db-testing scripts
...
Also added skipping to avif tests for environments where GD does not
have built-in AVIF support
2025-11-11 11:23:16 +00:00
Dan Brown
befc645705
DB: Added initial DB testing docker-based script
2025-11-11 10:24:56 +00:00
Dan Brown
4eb4407ef7
DB: Updated entity scope to use models dynamic table
...
This was hardcoded since the table was always the same, but in some
cases Laravel will auto-alias the table name (for example, when in
sub-queries) which will break MySQL 5.7 when the scope attempts to use
the table name instead of the alias.
Needs testing coverage.
For #5877
2025-11-10 19:57:18 +00:00
Dan Brown
fcabf478de
Updated version and assets for release v25.11
2025-11-09 12:52:34 +00:00
Dan Brown
8de2c28497
Merge branch 'development' into release
2025-11-09 12:51:26 +00:00
Dan Brown
5bf2d801cf
Notifications: Fixed attempted null usage issue where int expected
2025-11-09 11:39:38 +00:00
Dan Brown
1421ba871d
Updated translator & dependency attribution before release v25.11
2025-11-09 10:52:09 +00:00
Dan Brown
563828ba52
Updated translations with latest Crowdin changes ( #5843 )
2025-11-02 14:41:16 +00:00
Dan Brown
d40a68b411
API: Re-ordered routes, Improved navigation
...
Updated route order to follow some kind of logic.
Updated scrolling sidebar to not be so cut-off in various scenarios.
Added new nav helper to quick jump to specific API models.
Closes #5865
2025-11-02 14:31:08 +00:00
Dan Brown
4a57933cd1
Deps: Updated PHP composer packages
2025-11-02 13:11:38 +00:00
Dan Brown
1df850ea3e
Search: Fixed formatting timeout with many term occurrences
...
For #5863
2025-10-31 15:55:45 +00:00
Dan Brown
7881bddce0
Merge pull request #5860 from BookStackApp/api_image_data_endpoint
...
API: Added endpoints for reading image data
2025-10-31 13:48:54 +00:00
Dan Brown
02d024aa32
API: Added endpoints for reading image data
2025-10-29 18:17:51 +00:00
Dan Brown
652124abaf
Merge pull request #5854 from BookStackApp/efficient_search
...
Pagable and efficient search
2025-10-29 13:12:52 +00:00
Dan Brown
751934c84a
Search: Tested changes to single-table search
...
Updated filters to use single table where needed.
2025-10-29 12:59:34 +00:00
Dan Brown
3fd25bd03e
Search: Added pagination, updated other search uses
...
Also updated hydrator to be created via injection.
2025-10-28 20:37:41 +00:00
Dan Brown
f0303de2e5
Search: Improved result hydration performance
2025-10-27 18:02:54 +00:00
Dan Brown
0b26573314
Search: Started work to make search result size consistent
2025-10-27 17:23:15 +00:00
Dan Brown
c21c36e2a6
Merge pull request #5850 from BookStackApp/comments_api
...
API: Started building comments API endpoints
2025-10-24 15:26:55 +01:00
Dan Brown
a949900570
API: Added examples for comments
...
Tweaked comment repo to avoid returning a lot of extra data on API
update responses.
2025-10-24 15:14:25 +01:00
Dan Brown
9c4a9225af
Comments API: Addressed failing tests and static testing
2025-10-24 14:22:53 +01:00
Dan Brown
4627dfd4f7
API: Added comment tree to pages-read endpoint
...
Includes tests to cover
2025-10-24 10:18:52 +01:00
Dan Brown
fcacf7cacb
API: Built out tests for comment API endpoints
2025-10-23 16:52:29 +01:00
Dan Brown
cbf27d70c8
API: Added comment CUD endpoints, drafted tests
...
Move some checks and made some tweaks to the repo to support consistency
between API and UI.
2025-10-23 10:21:33 +01:00
Dan Brown
3ad1e31fcc
API: Added comment-read endpoint, added api docs section descriptions
2025-10-22 18:44:49 +01:00
Dan Brown
082dbc9944
API: Started building comments API endpoints
2025-10-22 14:58:29 +01:00
Dan Brown
abe9c1e5a3
API Docs: Updated link to archived GitHub repo
...
Closes #5813
2025-10-22 14:29:02 +01:00
Dan Brown
ebf82617b8
Code: Added groovy syntax highlighting
...
For #5822
2025-10-21 18:34:21 +01:00
Dan Brown
2c81447c9e
Deps: Updated PHP deps via composer
2025-10-21 14:47:24 +01:00
Dan Brown
8898647f78
Merge pull request #5846 from BookStackApp/page_image_nullification
...
Images: Added nulling of image page relation on page delete
2025-10-21 14:46:49 +01:00
Dan Brown
ea6344898f
Images: Added nulling of image page relation on page delete
2025-10-21 14:12:55 +01:00
Dan Brown
0bfd79925e
Merge pull request #5844 from BookStackApp/user_ids
...
Updated handling of deleted user ID handling in DB
2025-10-21 13:45:00 +01:00
Dan Brown
efff8700d4
DB: Addressed test issues for user ID changes
...
Reverted change for activities table so that a record is retained of
past activity, and added a check where the ID may be displayed to ensure
it does not mislead and accidentially reference other, newer users.
2025-10-19 19:52:15 +01:00
Dan Brown
5754acf2fb
DB: Updated handling of deleted user ID handling in DB
...
Updated uses of user ID to nullify on delete.
Added testing to cover deletion of user relations.
Added model factories to support changes and potential other tests.
Cleans existing ID references in the DB via migration.
2025-10-19 19:10:15 +01:00
Dan Brown
4c7d6420ee
DB: Aligned entity structure to a common table
...
As per PR #5800
* DB: Planned out new entity table format via migrations
* DB: Created entity migration logic
Made some other tweaks/fixes while testing.
* DB: Added change of entity relation columns to suit new entities table
* DB: Got most view queries working for new structure
* Entities: Started logic change to new structure
Updated base entity class, and worked through BaseRepo.
Need to go through other repos next.
Removed a couple of redundant interfaces as part of this since we can
move the logic onto the shared ContainerData model as needed.
* Entities: Been through repos to update for new format
* Entities: Updated repos to act on refreshed clones
Changes to core entity models are now done on clones to ensure clean
state before save, and those clones are returned back if changes are
needed after that action.
* Entities: Updated model classes & relations for changes
* Entities: Changed from *Data to a common "contents" system
Added smart loading from builder instances which should hydrate with
"contents()" loaded via join, while keeping the core model original.
* Entities: Moved entity description/covers to own non-model classes
Added back some interfaces.
* Entities: Removed use of contents system for data access
* Entities: Got most queries back to working order
* Entities: Reverted back to data from contents, fixed various issues
* Entities: Started addressing issues from tests
* Entities: Addressed further tests/issues
* Entities: Been through tests to get all passing in dev
Fixed issues and needed test changes along the way.
* Entities: Addressed phpstan errors
* Entities: Reviewed TODO notes
* Entities: Ensured book/shelf relation data removed on destroy
* Entities: Been through API responses & adjusted field visibility
* Entities: Added type index to massively improve query speed
2025-10-18 13:14:30 +01:00
Dan Brown
0838d5ea16
Updated version and assets for release v25.07.3
2025-10-05 15:38:50 +01:00
Dan Brown
449ac40114
Merge branch 'v25-07' into release
2025-10-05 15:37:20 +01:00
Dan Brown
146a6c01cc
Merge branch 'v25-07' into development
2025-10-05 15:28:29 +01:00
Dan Brown
f8e4ea82c6
Updated translator & dependency attribution before release v25.07.3
2025-10-05 15:26:37 +01:00
Dan Brown
047195c033
Updated translations with latest Crowdin changes ( #5786 )
2025-10-05 15:22:37 +01:00
Yugo Takano
a7b30c284c
Add crossorigin attribute to manifest link
2025-10-05 15:18:40 +01:00
Dan Brown
c3412d8c1c
Deps: Updated PHP package versions
2025-10-05 15:17:16 +01:00
Dan Brown
4db7135231
Updated translations with latest Crowdin changes ( #5786 )
2025-10-05 15:09:34 +01:00
Dan Brown
009d146185
Merge pull request #5820 from tfnh621/patch-1
...
Fix PWA manifest access behind authenticated proxies
2025-10-05 15:08:59 +01:00
Yugo Takano
fcef1a7948
Add crossorigin attribute to manifest link
2025-10-02 21:39:22 +09:00
Dan Brown
08dfff05f4
Sponsors: Updated diagrams.net sponsor level
2025-09-11 18:58:26 +01:00
Dan Brown
fc10520e10
Merge pull request #5793 from BookStackApp/role_permission_refactor
...
Permissions: Use of enum references and RolePermission cleanup
2025-09-10 12:16:40 +01:00
Dan Brown
a70c733f27
Permissions: Cleanup after review of enum implementation PR
2025-09-10 11:36:54 +01:00
Dan Brown
573d692a59
Permissions: Fixed check method to allow enum usage
2025-09-10 10:44:54 +01:00
Dan Brown
419dbadcfd
Permissions: Updated use of helpers to use enums
...
Also added middlware method to Permission enum to allow easier usage
with controller middleware.
2025-09-09 09:48:19 +01:00
Dan Brown
33a0237f87
Permissions: Updated usage of controller methods to use enum
2025-09-08 18:14:38 +01:00
Dan Brown
5fc11d46d5
Permissions: Added enum usage to controller helpers
...
Also fixed various missing types or spelling/formatting points.
Added down action for role_permission table changes in migration.
2025-09-08 16:15:42 +01:00
Dan Brown
c8716df284
Permissions: Removed unused role-perm columns, added permission enum
...
Updated main permission check methods to support our new enum.
2025-09-08 15:59:25 +01:00
Dan Brown
1ac74099ca
Merge pull request #5790 from BookStackApp/timezones
...
Timezones: Seperate display timezone and consistency update
2025-09-04 16:36:04 +01:00
Dan Brown
36cb243d5e
Timezones: Updated date displays to use consistent formats
2025-09-04 16:11:35 +01:00
Dan Brown
579c1bf424
Timezones: Seperated out store & display timezones to two options
2025-09-04 15:06:58 +01:00
Dan Brown
242b7dfb1b
Merge pull request #5785 from BookStackApp/phpstan_level2
...
PHPstan level 3
2025-09-03 15:53:11 +01:00
Dan Brown
7d1c316202
Maintenance: Updated larastan target level, fixed issues from tests
2025-09-03 15:42:50 +01:00
Dan Brown
318b486e0b
Maintenance: Finished changes to meet phpstan level 3
2025-09-03 15:18:49 +01:00
Dan Brown
e05ec7da36
Maintenance: Addressed a range of phpstan level 3 issues
2025-09-03 10:47:45 +01:00
Dan Brown
cee23de6c5
Maintenance: Reached PHPstan level 2
...
Reworked some stuff around slugs to use interface in a better way.
Also standardised phpdoc to use @return instead of @returns
2025-09-02 16:02:52 +01:00
Dan Brown
1e34954554
Maintenance: Continued work towards PHPstan level 2
...
Updated html description code to be behind a proper interface.
Set new convention for mode traits/interfaces.
2025-09-02 11:10:47 +01:00
Dan Brown
5ea4e1e935
Maintenance: Removed unused comments text column
...
Has been redundant and unused for a about a year now.
Closes #4821
2025-09-02 10:20:10 +01:00
Dan Brown
a27ce6e915
Packages: Updated npm packages
...
Spent way too many hours debugging through issues from jsdom changes.
2025-08-30 22:18:09 +01:00
Dan Brown
64b06bcf61
Packages: Updated predis
2025-08-30 11:47:22 +01:00
Dan Brown
cdbac63b40
Framework: Updated to Laravel 12
2025-08-30 11:10:11 +01:00
Dan Brown
d6296ac7a5
Merge pull request #5749 from BookStackApp/admin_command_updates
...
Create Admin Command: New Flags
2025-08-30 10:47:14 +01:00
Dan Brown
3131050acd
Updated version and assets for release v25.07.2
2025-08-28 17:41:48 +01:00
Dan Brown
c0d2874892
Merge branch 'development' into release
2025-08-28 17:39:31 +01:00
Dan Brown
481f356068
Updated translator & dependency attribution before release v25.07.2
2025-08-28 17:39:10 +01:00
Dan Brown
955837c9aa
Packages: Upgraded php deps to latest versions
2025-08-28 15:02:26 +01:00
Dan Brown
c6e35c2e7c
Merge pull request #5775 from BookStackApp/lexical_aug25
...
Lexical: August 2025 fixes
2025-08-28 15:00:16 +01:00
Dan Brown
0436ccfebf
Updated translations with latest Crowdin changes ( #5759 )
2025-08-28 14:59:36 +01:00
Dan Brown
f5da31037d
Lexical: Fixed details tests
...
Updated to use new test pattern while there.
2025-08-28 11:17:18 +01:00
Dan Brown
46613f76f6
Lexical: Added backspace handling for details
...
Allows more reliable removal of details block on backspace at first
child position with the details block.
2025-08-27 14:09:38 +01:00
Dan Brown
519acaf324
Lexical: Added better selection display for collapisble blocks
2025-08-27 12:51:36 +01:00
Dan Brown
849bc4d6c3
Lexical: Improved nested details interaction
...
- Set to open by default on insert.
- Updated selection handling not to always fully cascade to lowest
editable child on selection, so parents can be reliably selected.
- Updated mouse handling to treat details panes like the root element,
inserting within-details where relevant.
2025-08-26 14:45:15 +01:00
Dan Brown
ee994fa2b7
Testing: Addressed deprecation in test helper
...
Also updated version in phpunit config
2025-08-25 15:01:13 +01:00
Dan Brown
13a79b3f96
Shelves: Addressed book edits removing non-visible books
...
Tracks the non-visible existing books on change, to retain as part of
the assigned books sync.
Added test to cover.
For #5728
2025-08-25 14:17:55 +01:00
Dan Brown
7c79b10fb6
Imports: Fixed drawing IDs not being updated in content
...
Would leave imported content with inaccessible images in many cases (or
wrong references) although the drawing was still being uploaded &
related to the page.
Added test to cover.
For #5761
2025-08-24 14:02:21 +01:00
Dan Brown
5c481b4282
Testing: Added more deprecation output
2025-08-15 12:42:44 +01:00
Dan Brown
9443682ae4
Maintenance: Addressed a range of deprecations
...
Updated deps to address deprecations fixed in newer Laravel framework
version.
2025-08-15 12:20:35 +01:00
Dan Brown
0311e3d2d7
Readme: Updated sponsor link
...
Was leading to a 404.
2025-08-14 16:00:46 +01:00
Dan Brown
5940a91809
Updated version and assets for release v25.07.1
2025-08-11 14:43:51 +01:00
Dan Brown
9a4651badb
Merge branch 'development' into release
2025-08-11 14:43:13 +01:00
Dan Brown
a50a256939
ZIP Exports: Fixed reference handling for images
...
Recent changes could mean missed references for images in non-page
locations. This fixes that, and tries to ensure images are used if we
already have a page-based image as part of the ZIP, otherwise ensure we
have a page as part of the export to attach the image to.
2025-08-11 14:19:48 +01:00
Dan Brown
4830248a1e
Release: Updated licenses and translator attribution
2025-08-11 13:41:31 +01:00
Dan Brown
1256b30ad4
Updated translations with latest Crowdin changes ( #5740 )
2025-08-11 13:38:47 +01:00
Dan Brown
777cca76da
Deps: Bumped PHP composer deps again
2025-08-11 13:36:06 +01:00
Dan Brown
a2d13124af
Testing: Added mail port to testing env options
...
Prevents conflict with potential user-set option.
For #5755
2025-08-11 13:33:57 +01:00
Dan Brown
bd966ef99e
phpstan: Address a range of level 2 issues
2025-08-09 11:09:50 +01:00
Dan Brown
a6b5733ec2
Deps: Updated PHP packages via composer
2025-08-09 10:12:24 +01:00
Dan Brown
e899066e96
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2025-08-08 17:44:40 +01:00
Dan Brown
f4f2435856
Imports: Fixed errors causing user logout on import run
...
Fixes #5754
2025-08-08 17:43:58 +01:00
Dan Brown
fca4a0563e
Merge pull request #5753 from BookStackApp/a11y_menu_updates
...
A11y: Improved menu tagging
2025-08-08 17:00:07 +01:00
Dan Brown
0bc9ddd780
A11y: Updated other dropdown menus with correct tagging
...
Made some form improvements at the same time.
2025-08-07 16:37:18 +01:00
Dan Brown
c66f3b2a37
A11y: Improved tagging of profile menu
...
- Swapped toggle out to actual button.
- Ensured menu items have proper menu item role.
- Added extra roles/labels where is makes sense.
2025-08-07 14:32:20 +01:00
Dan Brown
f36e6fb929
Commands: Updated create admin skip return
...
Return status for skipped --initial creation will now return 2, so that
it can be identified seperate from a creation and from an error.
2025-08-07 13:16:49 +01:00
Dan Brown
7bc0d54af1
Readme: Swapped codeclimate reference for custom phpmetrics
2025-08-05 22:00:55 +01:00
Dan Brown
2eefbd21c1
Commands: Added testing for initial admin changes
...
- Also changed first-admin to initial.
- Updated initial handling to not require email/name to be passed, using
defaults instead.
- Adds missing existing email use check.
2025-08-05 16:43:06 +01:00
Dan Brown
a961552c23
Commands: Updated create admin comment to accept extra flags
...
Added flags to target changes to the first default admin user, and to
generate a password.
This is related to #4575 .
2025-08-05 13:39:30 +01:00
Dan Brown
92d15d9cf2
Updated version and assets for release v25.07
2025-07-30 09:46:37 +01:00
Dan Brown
b06147fef7
Merge branch 'development' into release
2025-07-30 09:45:40 +01:00
Dan Brown
776ec7b9e7
Updated translations with latest Crowdin changes ( #5696 )
2025-07-30 09:36:34 +01:00
Dan Brown
8aa6bdc8ab
Updated translator & dependency attribution before release v25.07
2025-07-30 09:27:17 +01:00
Dan Brown
4ab17157b1
API: Added ZIP export endpoint comments
2025-07-30 09:13:58 +01:00
Dan Brown
6d7ffab115
Deps: Updated PHP composer dependancy versions, fixed test namespaces
2025-07-27 11:24:54 +01:00
Dan Brown
c8cfec96dc
Merge pull request #5731 from BookStackApp/lexical_jul25
...
New WYSIWYG editor changes for July 2025
2025-07-26 10:08:44 +01:00
Dan Brown
d145efb6f6
Lexical: Updated tests after link changes
2025-07-25 14:25:02 +01:00
Dan Brown
c54101c603
Lexical: Updated URL handling, added mouse handling
...
- Removed URL protocol allow-list to allow any as per old editor.
- Added mouse handling, so that clicks below many last hard-to-escape
block types will add an empty new paragraph for easy escaping &
editing.
2025-07-25 13:58:48 +01:00
Dan Brown
865e5aecc9
Lexical: Source code input changes
...
- Increased default source code view size.
- Updated HTML generation to output each top-level block on its own
line.
2025-07-24 17:24:59 +01:00
Dan Brown
ae4d1d804a
Lexical: Table cell bg and format setting fixes
...
- Updated table cell background color setting to be stable by
specifically using the background property over the general styles.
- Updated format shorcuts to be correct header levels as per old editor
and format menu.
- Updated format changes to properly update UI afterwards.
2025-07-24 16:51:11 +01:00
Dan Brown
5fc19b0edf
Lexical: Fixed highlight format action, changed label
2025-07-24 13:48:00 +01:00
Dan Brown
0a73b70b64
Merge pull request #5725 from BookStackApp/md_plaintext
...
MarkDown Editor: TypeScript Conversion & Plaintext Editor
2025-07-23 15:48:10 +01:00
Dan Brown
2668aae09b
TypeScript: Updated compile target, addressed issues
2025-07-23 15:41:55 +01:00
Dan Brown
3b9c0b34ae
MD Editor: Fixed plaintext dark styles, updated npm packages
2025-07-23 14:59:26 +01:00
Dan Brown
53f32849a9
MD Editor: Last tests/check over plaintext use/switching
2025-07-23 14:49:41 +01:00
Dan Brown
7ca8bdc231
MD Editor: Added custom textarea undo/redo, updated positioning methods
2025-07-23 12:17:36 +01:00
Dan Brown
6621d55f3d
MD Editor: Worked to improve/fix positioning code
...
Still pending testing. Old logic did not work when lines would wrap, so
changing things to a character/line measuring technique.
Fixed some other isues too while testing shortcuts.
2025-07-22 16:42:47 +01:00
Dan Brown
d55db06c01
MD Editor: Added plaintext/cm switching
...
Also aligned the construction of the inputs where possible.
2025-07-22 10:34:29 +01:00
Dan Brown
6b4b500a33
MD Editor: Added plaintext input implementation
2025-07-21 18:53:22 +01:00
Dan Brown
5ffec2c52d
MD Editor: Updated actions to use input interface
2025-07-21 14:24:51 +01:00
Dan Brown
ec07793cda
MD Editor: Started work on input interface
...
Created implementation for codemirror, yet to use it.
2025-07-21 11:49:58 +01:00
Dan Brown
61adc735c8
MD Editor: Finished conversion to Typescript
2025-07-20 15:05:19 +01:00
Dan Brown
7bbf591a7f
MD Editor: Starting conversion to typescript
2025-07-20 12:33:22 +01:00
Dan Brown
61f8d18af5
Changelog: Tweaked spacing, count and element referencing
...
During review of #5663
2025-07-19 14:53:02 +01:00
Dan Brown
f786d25f2e
Merge branch 'enhance-changelog-textarea' of github.com:shresthkapoor7/BookStack into shresthkapoor7-enhance-changelog-textarea
2025-07-19 14:39:57 +01:00
Dan Brown
e62f4426ea
Merge pull request #5721 from BookStackApp/zip_export_api_endpoints
...
API: ZIP Import/Export
2025-07-18 16:34:10 +01:00
Dan Brown
32ba3a591f
ZIP Imports: Added API examples, finished testing
...
Also updated some types on a couple of controllers.
2025-07-18 16:19:14 +01:00
Dan Brown
73025719a4
ZIP Imports: Added API test cases
2025-07-18 14:05:32 +01:00
Dan Brown
d55684531f
API: Added zip export tests, reorganised tests
...
Extracted an extra method into helper for reuse.
2025-07-18 10:58:10 +01:00
Dan Brown
d15eb129b0
API: Initial review pass of zip import/export endpoints
...
Review of #5592
2025-07-18 09:54:49 +01:00
Dan Brown
3626a2265b
Merge branch 'development' of github.com:LM-Nishant/BookStack into LM-Nishant-development
2025-07-18 09:19:32 +01:00
Dan Brown
d13abc7e1d
Mail: Removed custom symfony/mailer fork
...
Moved to standard symfony mailer now that my patches have been
upstreamed. This changes the config to work with the symfony option,
following the same overall logic.
Also updated testing to allow test runs via mulitple custom env options.
Closes #5636
2025-07-15 15:24:31 +01:00
Dan Brown
2442829ef2
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2025-07-14 14:18:51 +01:00
Dan Brown
795b28162a
Readme: Added SiteSpeakAI sponsor
2025-07-14 14:18:24 +01:00
Dan Brown
31706ea06b
Merge pull request #5689 from BookStackApp/permission_table_locking
...
Better parallel permission gen handling
2025-07-09 18:02:15 +01:00
Dan Brown
4b9e6042d5
Merge pull request #5676 from BookStackApp/lexical_comments
...
New WYSIWYG editor for comments & descriptions
2025-07-09 18:01:25 +01:00
Dan Brown
d279b0830b
Merge pull request #5685 from BookStackApp/sidebar_rejig
...
Tri-layout sidebar enhancements
2025-07-09 18:00:56 +01:00
Dan Brown
181ab91b1d
Merge pull request #5681 from BookStackApp/parent_tag_classes
...
Parent tag classes
2025-07-09 17:58:13 +01:00
Dan Brown
841350a937
Updated version and assets for release v25.05.2
2025-07-07 15:01:24 +01:00
Dan Brown
12183bac07
Merge branch 'development' into release
2025-07-07 15:00:35 +01:00
Dan Brown
306f41b6f0
Updated translator & dependency attribution before release v25.05.2
2025-07-07 14:59:07 +01:00
Dan Brown
c1d76d2571
Updated translations with latest Crowdin changes ( #5695 )
2025-07-07 14:51:45 +01:00
Dan Brown
f83074d50e
Languages: Added Nepali as a language option
2025-07-07 14:43:21 +01:00
Dan Brown
2be892be70
Updated translations with latest Crowdin changes ( #5659 )
2025-07-07 14:35:19 +01:00
Dan Brown
c934b9319f
PHP: Updated composer packages
...
Main intent was to get latest ssddanbrown/htmldiff version so better
handle non-ascii languages.
2025-07-07 14:24:04 +01:00
Dan Brown
35a51197ce
Perms: Fixed some issues made when adding transactions
2025-07-06 22:52:06 +01:00
Dan Brown
47fd578edb
Perms: Added transactions around permission effecting actions
2025-07-02 22:25:59 +01:00
Dan Brown
add091305c
Perms: Removed entity perm regen on general update
...
Should not be needed here as this is not directly used for information
which should impact permissions.
Been through uses to ensure that this is the case.
2025-07-02 12:15:25 +01:00
Dan Brown
3d017594a8
Opensearch: Fixed XML declaration when php short tags enabled
...
For #5673
2025-07-01 11:29:16 +01:00
Dan Brown
0dcb2ec78c
Layout: Converted tri-layout component to ts
2025-06-30 15:36:27 +01:00
Dan Brown
9186e77d27
Layout: Added scroll fade to the sidebars
2025-06-30 14:10:48 +01:00
Dan Brown
6045aff33a
Layout: Improved sidebar sizing, and dropdown consideration
...
- Updated tri-layout sidebars to have less padding and to avoid cutting
off content when in single-sidebar mode.
- Updated dropdown handling to consider the parent scroll container when
deciding to drop upwards, to help prevent cut-off.
2025-06-30 13:19:45 +01:00
Dan Brown
dca9765d5d
Customization: Added parent tag classes
...
For #5217
2025-06-28 22:27:28 +01:00
Dan Brown
a37d0c57dc
Tests: Updated comment test to account for new editor usage
2025-06-27 10:33:28 +01:00
Dan Brown
054475135a
Lexical: Added some styling and tweaks for basic editors
2025-06-27 10:19:45 +01:00
Dan Brown
02a35b6db4
Lexical: Added new WYSIWYG to chapter/book/shelf descriptions
2025-06-26 11:00:17 +01:00
Dan Brown
b80992ca59
Comments: Switched to lexical editor
...
Required a lot of changes to provide at least a decent attempt at proper
editor teardown control.
Also updates HtmlDescriptionFilter and testing to address issue with bad
child iteration which could lead to missed items.
Renamed editor version from comments to basic as it'll also be used for
item descriptions.
2025-06-25 14:16:01 +01:00
Dan Brown
c606970e38
Lexical: Started comment implementation
...
Refactors some UI and toolbar code for better abstract use across editor
versions.
2025-06-24 17:47:53 +01:00
Dan Brown
dfeca246a0
Merge pull request #5668 from bumperbox/patch-1
...
CommentDisplayTest correct namespace
2025-06-23 11:57:57 +01:00
bumperbox
3476d83ecc
CommentDisplayTest correct namespace
...
Class Entity\CommentDisplayTest located in ./tests/Entity/CommentDisplayTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
2025-06-23 09:31:39 +12:00
Shresth Kapoor
3617ab1540
Enhance changelog input to textarea with character counter
2025-06-18 20:10:20 -04:00
Dan Brown
e65b4b63a2
Updated version and assets for release v25.05.1
2025-06-17 15:30:40 +01:00
Dan Brown
7cac3f4780
Merge branch 'development' into release
2025-06-17 15:29:46 +01:00
Dan Brown
c4839c783a
Updated translator & dependency attribution before release v25.05.1
2025-06-17 15:29:12 +01:00
Dan Brown
a5751a584c
Updated translations with latest Crowdin changes ( #5637 )
2025-06-17 15:16:25 +01:00
Dan Brown
f518a3be37
Search: Updated indexer to handle non-breaking-spaces
...
Related to #5640
2025-06-17 14:00:13 +01:00
Dan Brown
0208f066c5
Comments: Fixed update notification text
...
For #5642
2025-06-17 13:42:25 +01:00
Dan Brown
2d0461b63a
Merge pull request #5653 from BookStackApp/v25-05-1-lexical
...
Lexical Fixes for v25.05.1
2025-06-17 13:36:55 +01:00
Dan Brown
b913ae703d
Lexical: Media form improvements
...
- Allowed re-editing of existing embed HTML code.
- Handled "src" form field when video is using child source tags.
2025-06-15 20:00:28 +01:00
Dan Brown
1611b0399f
Lexical: Added a media toolbar, improved toolbars and media selection
...
- Updated toolbars to auto-refresh ui if it attempts to update targeting
a DOM element which no longer exists.
- Removed MediaNode dom specific click handling which was causing
selection issues, and did not seem to be needed now.
2025-06-15 15:22:27 +01:00
Dan Brown
8d4b8ff4f3
Lexical: Fixed media resize handling
...
- Updating height/width setting to clear any inline CSS width/height
rules which would override and prevent resizes showing. This was
common when switching media from old editor.
Added test to cover.
- Updated resizer to track node so that it is retained & displayed
across node DOM changes, which was previously causing the
resizer/focus to disappear.
2025-06-15 13:55:42 +01:00
Dan Brown
77a88618c2
Lexical: Fixed double-bold text, updated tests
...
Double bold was due to text field exporting wrapping the output in <b>
tags when the main tag would already be strong.
2025-06-14 14:50:10 +01:00
Dan Brown
8b062d4795
Lexical: Fixed strange paragraph formatting behaviour
...
Formatting was not persisted on empty paragraphs, and was instead based
upon last format encountered in selection.
This was due to overly-hasty removal of other formatting code, which
this got caught it.
Restored required parts from prior codebase.
Also updated inline format button active indicator to reflect formats
using the above, so correct buttons are shown as active even when just
in an empty paragraph.
2025-06-13 19:40:13 +01:00
Dan Brown
717b516341
Lexical: Made table resize handles more efficent & less buggy
...
Fine mouse movement and handles will now only be active when actually
within a table, otherwise less frequent mouseovers are used to track if
in/out a table.
Hides handles when out of a table, preventing a range of issues with
stray handles floating about.
2025-06-13 16:38:53 +01:00
Dan Brown
fda242d3da
Lexical: Fixed tiny image resizer on image insert
...
Added specific focus on image insert, and updated resize handler to
watch for load events and toggle a resize once loaded.
2025-06-13 15:58:59 +01:00
Dan Brown
aac547934c
Deps: Bumped composer php package versions
2025-06-13 15:28:11 +01:00
Dan Brown
92cd11d105
Updated version and assets for release v25.05
2025-05-31 14:27:44 +01:00
Dan Brown
13115ace84
Merge branch 'development' into release
2025-05-31 14:26:04 +01:00
Dan Brown
5c9b90ea0d
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2025-05-31 12:36:21 +01:00
Dan Brown
074f193e2f
Updated translation attribution and licenses before release
2025-05-31 12:35:47 +01:00
Dan Brown
7f2604c8e8
Updated translations with latest Crowdin changes ( #5622 )
2025-05-31 12:15:16 +01:00
Dan Brown
b71b2a4376
Cleanup: Updated deps, fixed test, update issue templates
...
Also removed some unused imports.
2025-05-31 12:11:00 +01:00
Dan Brown
68df43e5a8
Merge pull request #5627 from BookStackApp/lexical_20250525
...
Lexical Editor: Further fixes
2025-05-28 22:53:03 +01:00
Dan Brown
c5ca865723
Lexical: Updated WYSIWYG editor status from alpha to beta
2025-05-28 22:52:09 +01:00
Dan Brown
b862f12a50
Lexical: Further improvements to table selection and captions
...
- Fixed errors with selection and range handling due to captions
existing.
- Updated TableNode change handling to update existing DOM instead of
re-creating, which avoids breaking an attached selection helper.
- To support, Added function to handle node change detection and apply
relevant dom updates for common properties.
2025-05-28 22:47:39 +01:00
Dan Brown
b0f8b11054
Comments: Fixed tab focus change & button placement on form usage
...
Fixes issue of tabs jumping back to active comments when stopping a
reply to an archived comment.
Fixes button placement looking odd due to wrong location and differing
styles depending on interaction path.
2025-05-28 22:00:24 +01:00
Dan Brown
7650ebf2f9
Deps: Updated composer/npm packages, fixed test namespace
2025-05-27 15:53:46 +01:00
Dan Brown
d9ea52522e
Lexical: Fixed issues with recent changes
2025-05-26 19:06:36 +01:00
Dan Brown
2e718c12e1
Lexical: Changed table esacpe handling
...
Avoids misuse of selectPrevious/Next as per prior commit which was then
causing problems elsewhere, and is probably best to avoid creation in
those select methods anyway.
2025-05-26 18:47:51 +01:00
Dan Brown
a43a1832f5
Lexical: Added image insert via image link paste
...
Specifically added to align with existing TinyMCE behaviour which was
used by some users based upon new editor feedback.
2025-05-26 18:02:53 +01:00
Dan Brown
c4f7368c1c
Lexical: Fixed table column resizing changes not appearing
...
Also fixed some resizer zindex issues.
2025-05-26 15:19:11 +01:00
Dan Brown
2a32475541
Lexical: Made a range of selection improvements
...
Updated up/down handling to create where a selection candidate does not
exist, to apply to a wider scenario via the selectPrevious/Next methods.
Updated DOM selection change handling to identify single selections
within decorated nodes to select them in full, instead of losing
selection due to partial selection of their contents.
Updated table selection handling so that our colgroups are ignored for
internal selection focus handling.
2025-05-26 14:51:03 +01:00
Dan Brown
1243108e0f
Lexical: Updated dropdown handling to match tinymce behaviour
...
Now toolbars stay open on mouse-out, and close on other toolbar open,
outside click or an accepted action.
To support:
- Added new system to track and manage open dropdowns.
- Added way for buttons to optionally emit events upon actions.
- Added way to listen for events.
- Used the above to control when dropdowns should hide on action, since
some dont (like overflow containers and split dropdown buttons).
2025-05-25 16:28:42 +01:00
Dan Brown
3280919370
Lexical: Improved diagram selection and keyboard usage
...
Fixes issues where drawings could not be removed via backspace or
delete.
2025-05-25 13:21:13 +01:00
Dan Brown
d149b809b1
Merge pull request #5626 from BookStackApp/rubentalstra-development
...
Review of #5429 , OIDC avatar fetching
2025-05-24 18:14:18 +01:00
Dan Brown
eb47e11916
Avatars: Added redirect handling image fetching
...
Up to 3 times.
Can be needed based upon testing with Auth0.
Should be fine as long as it's something clearly documented.
Added test to cover.
2025-05-24 18:07:25 +01:00
Dan Brown
9d6bc1ad4d
Testing: Updated tests to account for recent page redirect changes
2025-05-24 16:47:01 +01:00
Dan Brown
30bf0ce632
OIDC: Updated avatar fetching to run on each login
...
But only where the user does not already have an avatar assigned.
This aligns with the LDAP avatar fetching logic.
2025-05-24 16:34:36 +01:00
Dan Brown
b64c9b31d5
OIDC: Added testing coverage for picture fetching
2025-05-24 14:36:36 +01:00
Dan Brown
f9dbbe5d70
OIDC: Updated picture fetch implementation during review
...
Review of #5429
2025-05-24 14:02:37 +01:00
Dan Brown
05f7f4cb17
Merge branch 'development' of github.com:rubentalstra/BookStack into rubentalstra-development
2025-05-24 13:28:23 +01:00
Dan Brown
454b152b95
Pages: Redirect user to view if they can't edit
...
For #5568
2025-05-24 12:05:17 +01:00
Dan Brown
b29fe5c46d
Merge pull request #5625 from BookStackApp/avif_images
...
AVIF image support
2025-05-23 17:30:24 +01:00
Dan Brown
131ac29df4
Images: Added testing to cover animated avif handling
2025-05-23 17:19:34 +01:00
Dan Brown
3a9d18a6cd
Images: Added base avif support
...
Includes handling for animated avif images like apng.
2025-05-23 16:12:03 +01:00
Dan Brown
59e2c5e52a
Merge pull request #5607 from BookStackApp/system_info_endpoint
...
API: System info endpoint
2025-05-22 17:31:32 +01:00
Dan Brown
d29b14ebfd
Merge pull request #5584 from BookStackApp/content_comments
...
Content Comments
2025-05-22 16:58:36 +01:00
Dan Brown
73f9834e6f
Updated version and assets for release v25.02.5
2025-05-17 12:16:55 +01:00
Dan Brown
3afe855156
Merge branch 'development' into release
2025-05-17 12:14:51 +01:00
Dan Brown
cdd446ac73
Updated translations with latest Crowdin changes ( #5608 )
2025-05-17 12:04:25 +01:00
Dan Brown
1dd1024eba
Merge pull request #5609 from BookStackApp/5605-folder-permissions
...
Images: Updated local disk to have open dir perms
2025-05-17 11:49:44 +01:00
Dan Brown
752cfe2f67
CLI: Updated CLI with fixes
...
- Updated php packages
- Added escaping for mysql options
2025-05-17 11:47:33 +01:00
Dan Brown
25baaa8189
Deps: Updated composer packages
2025-05-17 11:40:58 +01:00
Dan Brown
d2d0331782
Readme: Replaced discord/mastodon links, reformatted badges
2025-05-14 23:15:46 +01:00
Dan Brown
8121418e18
Readme: Added phamos as sponsor
2025-05-14 22:35:59 +01:00
Dan Brown
5ab31a8191
Images: Updated local disk to have open dir perms
...
Closes #5605
2025-05-14 18:15:20 +01:00
Dan Brown
0e69ab1938
API: Added test to cover system info endpoint
2025-05-13 20:46:11 +01:00
Dan Brown
058007109e
API: Added system read endpoint
...
Standardised logic for reading app version to its own static class.
2025-05-13 20:38:08 +01:00
Joshua Booth
b6110ed3cd
Add settings for number of books/shelves that will be displayed per page
2025-05-13 20:17:36 +01:00
Dan Brown
32b29fcdfc
Comments: Fixed pointer display, Fixed translation test
2025-05-13 12:03:15 +01:00
Dan Brown
8f92b6f21b
Comments: Fixed a range of TS errors + other
...
- Migrated toolbox component to TS
- Aligned how custom event types are managed
- Fixed PHP use of content_ref where not provided
2025-05-12 15:31:55 +01:00
Dan Brown
62f78f1c6d
Comments: Split tests, added extra archive/reference tests
2025-05-12 14:26:09 +01:00
Dan Brown
f8c0aaff03
Comments: Checked content/arhived comment styles in dark mode
...
Also added default non-clickable styles for scenarios for references
which don't have an active content link.
2025-05-09 14:17:04 +01:00
Dan Brown
a27df485bb
Comments: Fixed display, added archive list support for editor toolbox
2025-05-09 12:14:28 +01:00
Dan Brown
bfde896f0b
Updated version and assets for release v25.02.4
2025-05-08 16:01:45 +01:00
Dan Brown
1cdc0a7a3d
Merge branch 'development' into release
2025-05-08 15:57:02 +01:00
Dan Brown
3e99ce4098
Deps: Updated PHP packages
...
Mainly to update termwind which was causing issues for users on Arch
where a more recent libxml version was in use.
2025-05-08 15:53:25 +01:00
Dan Brown
d19b86640b
Updated version and assets for release v25.02.3
2025-05-05 18:32:39 +01:00
Dan Brown
2936ba609b
Merge branch 'development' into release
2025-05-05 18:20:31 +01:00
Dan Brown
ce1e20501c
Updated translator & dependency attribution before release v25.02.3
2025-05-05 18:14:18 +01:00
Dan Brown
295532fa7a
Deps: Updated PHP packages
2025-05-05 18:09:49 +01:00
Dan Brown
642ba668b1
Merge pull request #5601 from BookStackApp/file_permissions
...
Images: Changed how new image permissions are set
2025-05-05 12:54:40 +01:00
Dan Brown
4f36cdd757
Updated translations with latest Crowdin changes ( #5566 )
2025-05-05 12:24:12 +01:00
Dan Brown
8821844c4a
Exports: Fixed CSS file BOM mark breaking CSS variables in exports
...
Adds a dummy CSS rule to break as the first rule, instead of our
:root variables.
Fixes #5576
2025-05-05 12:21:32 +01:00
Dan Brown
1262083fcf
Images: Changed how new image permissions are set
...
Removed default public visibility for images at the driver level,
leaving only doing this as a specific action in the logic.
Added try/catch around permission setting so that
permission-incompatible environments won't fatally fail, but instead
log a warning.
Tested via a google cloud storage bucket FUSE mount, mounted under another
user but with open 777 permissions.
Related to #5269
2025-05-03 20:30:50 +01:00
Dan Brown
c82fa33210
Comments: Further range of content reference ux improvements
...
- Added reference indicator to comment create form.
- Added remove action.
- Extracted reference text to translations.
- Changed reference hash to be text-based instead of HTML based.
- Added reference display for newly added comments.
- Handled reference marker delete on comment delete.
2025-05-01 17:22:12 +01:00
Dan Brown
15c79c38db
Comments: Addressed a range of edge cases and ux issues for references
...
Handles only display and handling references when they're in the active
tab, while handling proper removal when made not visible.
2025-05-01 16:33:42 +01:00
Dan Brown
e7dcc2dcdf
Comments: Moved to tab UI, Converted tabs component to ts
2025-04-30 17:42:09 +01:00
Dan Brown
099f6104d0
Comments: Started archive display, created mode for tree node
2025-04-28 20:09:18 +01:00
Dan Brown
8bdf948743
Comments: Added archive endpoints, messages, Js actions and tests
2025-04-28 15:37:09 +01:00
Dan Brown
e8f44186a8
Comments: Split out page comment reference logic to own component
...
Started support for editor view.
Moved comment elements to be added relative to content area instad of
specific target reference element.
Added relocating on screen size change.
2025-04-27 16:51:24 +01:00
Dan Brown
ecda4e1d6f
Comments: Added reference marker to comments
2025-04-26 21:05:54 +01:00
nchoudhary@logicmines.in
64da80cbf4
added routes for zip export
2025-04-25 13:00:06 +05:30
nchoudhary@logicmines.in
5fa728f28a
Develop functionality to import ZIP files. Create an API controller and define a route entry for handling the import process. Implement logic to read the list of files within the ZIP, process the directory structure, and automatically create associated pages, chapters, and books based on the ZIP file's contents.
2025-04-25 12:48:34 +05:30
nchoudhary@logicmines.in
c61ce8dee4
Implement functionality to export a book, along with its pages and chapters, as a ZIP file.
2025-04-25 12:45:09 +05:30
Dan Brown
f656a82fe7
Comments: Styled content comments & improved interaction
2025-04-24 13:21:23 +01:00
Dan Brown
5bfba281fc
Comments: Started inline comment display windows
2025-04-21 14:04:41 +01:00
Dan Brown
18ede9bbd3
Comments: Added inline comment marker/highlight logic
2025-04-19 14:07:52 +01:00
Dan Brown
2e7544a865
Comments: Converted comment component to TS
2025-04-19 12:46:47 +01:00
Dan Brown
5e3c3ad634
Comments: Added back-end content reference handling
...
Also added archived property, to be added.
2025-04-18 21:13:49 +01:00
Dan Brown
add238fe9f
Comments & Pointer: Converted components to typescript
...
Made changes for dom and translation services for easier usage
considering types.
trans_choice updated to allow default count replacement data as per
Laravel's default behaviour.
2025-04-18 20:42:56 +01:00
Dan Brown
8d159f77e4
Comments: Started logic for content references
...
Adds button for comments to pointer.
Adds logic to generate a content reference point.
2025-04-18 15:01:57 +01:00
Dan Brown
573a2dd22a
Updated version and assets for release v25.02.2
2025-04-02 17:32:58 +01:00
Dan Brown
b55cc803d3
Merge branch 'development' into release
2025-04-02 17:31:14 +01:00
Dan Brown
fa566f156a
Updated translator & dependency attribution before release v25.02.2
2025-04-02 17:30:43 +01:00
Dan Brown
78a0a2f519
Merge pull request #5558 from BookStackApp/lexical_round3
...
Lexical Fixes: Round 3
2025-04-02 17:23:38 +01:00
Dan Brown
42cbd6adef
Updated translations with latest Crowdin changes ( #5537 )
2025-04-02 17:19:34 +01:00
Dan Brown
6117349893
Deps: Updated composer packages
2025-04-02 15:30:31 +01:00
Dan Brown
1256320c72
Merge branch 'bernardo-campos/development' into development
2025-04-02 15:18:31 +01:00
Dan Brown
1ba0d26fdd
Sort Rules: Updated name comparison to not ignore non-ascii chars
...
Related to #5550 and #5542
2025-04-02 15:17:17 +01:00
Dan Brown
802f69cf35
Comments: Fixed missing comment timestamps
...
Due to deleted code during Laravel 11 upgrade.
Added test to cover.
Closes #5555
2025-03-30 17:36:48 +01:00
Dan Brown
bb44334224
Lexical: Added tests to cover recent changes
...
Also updated list tests to new test process.
2025-03-28 18:29:00 +00:00
Dan Brown
9bfcadd95f
Lexical: Improved navigation around images/media
...
- Added specific handling to move/insert-up/down on arrow press.
- Prevented resize overlay from interrupting image node focus.
2025-03-28 14:30:03 +00:00
Dan Brown
62c8eb3357
Lexical: Made list selections & intendting more reliable
...
- Added handling to not include parent of top-most list range selection
so that it's not also changed while not visually part of the
selection range.
- Fixed issue where list items could be left over after unnesting, due
to empty checks/removals occuring before all child handling.
- Added node sorting, applied to list items during nest operations so
that selection range remains reliable.
2025-03-27 17:49:48 +00:00
Dan Brown
c03e44124a
Lexical: Fixed task list parsing
...
Updated list DOM parsing to properly consider task list format set by
other MD/WYSIWYG editors.
2025-03-27 14:56:32 +00:00
Dan Brown
5c6671b3bf
Lexical: Fixed issues with content not saving
...
Found that saving via Ctrl+Enter did not save as logic to load editor
output into form was bypassed, which this fixes by ensuring submit
events are raised during for this shortcut.
Submit handling also gets a timeout added since, at least in FF,
requestSubmit did not re-submit a form while in a submit event.
2025-03-27 14:13:18 +00:00
Bernardo Campos
abe7467ae5
Fix issue BookStackApp#5542 Sorting by name
2025-03-23 12:29:29 -03:00
Dan Brown
304ade418e
Updated version, assets, and checksums for release v25.02.1
2025-03-16 12:47:19 +00:00
Dan Brown
997931c42f
Merge branch 'development' into release
2025-03-16 12:45:08 +00:00
Dan Brown
0ec0913846
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2025-03-16 12:44:42 +00:00
Dan Brown
e980564fd6
Updated translator & dependency attribution before release v25.02.1
2025-03-16 12:44:29 +00:00
Dan Brown
8a9215ecad
Updated translations with latest Crowdin changes ( #5505 )
2025-03-16 12:25:53 +00:00
Dan Brown
304a1d8f91
Dependancies: Updated PHP composer deps
2025-03-16 12:04:19 +00:00
Dan Brown
dfbc78947f
Revisions: Hid changes link for oldest revision
...
Just as a UX improvement to help avoid confusion, as the whole content
will be changes for this revision.
For #5454
2025-03-16 12:00:54 +00:00
Dan Brown
4f5ad171ac
Config: Updated DB host to handle ipv6
...
Can be set via the square bracket format.
For #5464
2025-03-15 20:32:57 +00:00
Dan Brown
94b1cffa2d
System CLI: Updated with new version
...
As per https://codeberg.org/bookstack/system-cli/pulls/21
dev/checksums folder added to support this new system.
Related to #161
2025-03-11 23:52:01 +00:00
Dan Brown
268e353431
Updated version and assets for release v25.02
2025-02-26 14:30:52 +00:00
Dan Brown
b491b5fbca
Merge branch 'development' into release
2025-02-26 14:30:17 +00:00
Dan Brown
13dae24cbe
Testing: Fixed issues during pre-release testing
...
- Updated locale list
- Fixed new name sorting not being case insensitive
- Updated license test to account for changed deps
2025-02-26 14:19:03 +00:00
Dan Brown
6211d6bcfc
Updated translations with latest Crowdin changes ( #5409 )
2025-02-26 13:51:51 +00:00
Dan Brown
a384599cfa
Meta: Updated licenses and translation attribution pre v25.02
2025-02-26 13:44:56 +00:00
Dan Brown
dca14feaaa
Sorting: Fixes during testing of sort rules
...
- Fixed name numeric sorting not working as expected due to bad
comparison.
- Added name numeric desc operation option.
- Added test to ensure each operating has a comparison function.
2025-02-24 16:58:59 +00:00
Dan Brown
d7ccb3ce6a
Sorting: Updated text for sort rules
...
Removes 'Set' wording and notes application to books on change.
2025-02-23 14:41:26 +00:00
Dan Brown
6548ea4a12
JS: Upated npm deps, upgraded eslint, new eslint config
...
Upgraded eslint to 11, removed incompatible airbnb config as part of
process. ESlint config now in its own file.
2025-02-23 11:55:09 +00:00
Dan Brown
c3a1fabbf0
Deps & Tests: Updated PHP deps, fixed test namespaces
2025-02-23 11:30:10 +00:00
Dan Brown
d2542d6265
Merge pull request #5491 from BookStackApp/deprecations
...
Addressing PHP 8.4 Deprecations
2025-02-23 11:23:35 +00:00
Dan Brown
0e343c408f
Merge pull request #5463 from BookStackApp/v24-12
...
v24-12 branch changes
2025-02-23 11:22:12 +00:00
Dan Brown
5c78f8352e
Styles: Fixed breakpoint overlap
...
Alters common breakpoint utilities to not overlap at breakpoints which
would cause broken layout at those points.
For #5396
2025-02-23 11:19:11 +00:00
Dan Brown
35b45a2b8d
LDAP: Fixed php type error when no cn provided for user
...
Changes default fallback for name to first DN part, otherwise the whole
DN, rather than leave as null which was causing a type error.
For #5443
2025-02-20 13:06:49 +00:00
Dan Brown
5050719ea3
PHP: Updated DOMPDF version
2025-02-17 13:37:58 +00:00
Dan Brown
5508c171db
PHP: Addressed 8.4 deprecations within app itself
2025-02-17 12:45:37 +00:00
Dan Brown
3b4d3430a5
Tests: Updated failing license test
2025-02-17 12:07:23 +00:00
Dan Brown
213a86e3c0
Merge pull request #5415 from BookStackApp/more_lexical_fixes
...
Further Lexical Fixes
2025-02-16 15:28:55 +00:00
Dan Brown
2b746425c9
Lexical: Fixed code in lists, removed extra old alignment code
...
Code in lists could throw error on parse due to inner <code> tag being
parsed but not actually used within a <pre>, so this updates the
importDOM to disregard childdren for code blocks.
This also improves the invariant implementation to not be so
dev/debugger based, and to include vars in the output.
2025-02-16 15:09:33 +00:00
Dan Brown
5c15f4add2
Translations: Fixed a couple of errors in sorting en words
2025-02-16 11:27:49 +00:00
Dan Brown
92ad81429f
Merge pull request #5488 from BookStackApp/search_index_updates
...
Search index improvements
2025-02-14 19:39:08 +00:00
Dan Brown
f1b8e857bf
Searching: Added test for guillemets
...
To cover #5475
2025-02-14 19:30:25 +00:00
Dan Brown
c291d27c19
Merge branch 'inv-hareesh/development' into search_index_updates
2025-02-14 19:25:59 +00:00
Dan Brown
f4449928f8
Searching: Added custom tokenizer that considers soft delimiters.
...
This changes indexing so that a.b now indexes as "a", "b" AND "a.b"
instead of just the first two, for periods and hypens, so terms
containing those characters can be searched within.
Adds hypens as a delimiter - #2095
2025-02-14 19:01:51 +00:00
Dan Brown
45a15b4792
Searching: Split out search tests into their own dir
2025-02-14 13:24:39 +00:00
Dan Brown
2291d78382
Merge pull request #5470 from Silverlan/patch-1
...
Fix incorrect condition for displaying new books section
2025-02-12 18:14:28 +00:00
Dan Brown
7901ca9e6b
Meta: Updated dev version and sponsor link
2025-02-11 15:52:35 +00:00
Dan Brown
a7de251876
Merge pull request #5457 from BookStackApp/sort_sets
...
Sort rules
2025-02-11 15:41:19 +00:00
Dan Brown
7bd89316bc
Sorting: Updated sort set command, Changed sort timestamp handling
...
- Renamed AssignSortSetCommand to AssignSortRuleCommand, updated
contents and testing.
- Updated sorting operations to not update timestamps if only priority
is changed.
2025-02-11 15:29:16 +00:00
Dan Brown
b9306a9029
Sorting: Renamed sort set to sort rule
...
Renamed based on feedback from Tim and Script on Discord.
Also fixed flaky test
2025-02-11 14:36:25 +00:00
Dan Brown
a208c46b62
Sorting: Covered sort set management with tests
2025-02-10 17:19:49 +00:00
Dan Brown
a65701294e
Sorting: Split out test class, added book autosort tests
...
Just for test view, actual functionality of autosort on change still
needs to be tested.
2025-02-10 13:33:10 +00:00
Dan Brown
69683d50ec
Sorting: Added tests to cover AssignSortSetCommand
2025-02-09 23:24:36 +00:00
Dan Brown
37d020c083
Sorting: Addded command to apply sort sets
2025-02-09 17:44:24 +00:00
Dan Brown
ec79517493
Sorting: Added auto sort option to book sort UI
...
Includes indicator on books added to sort operation.
2025-02-09 15:16:18 +00:00
inv-hareesh
d938565839
Fix search issue for words inside Guillemets (« ») without spaces
2025-02-07 08:59:36 +05:30
Dan Brown
ccd94684eb
Sorting: Improved sort set display, delete, added action on edit
...
- Changes to a sort set will now auto-apply to assinged books (basic
chunck through all on save).
- Added book count indicator to sort set list items.
- Deletion now has confirmation and auto-handling of assigned
books/settings.
2025-02-06 14:58:08 +00:00
Dan Brown
103a8a8e8e
Meta: Updated sponsor list, licence year and readme
2025-02-05 21:17:48 +00:00
Dan Brown
c13ce18837
Sorting: Added book autosort logic
2025-02-05 16:52:20 +00:00
Dan Brown
7093daa49d
Sorting: Connected up default sort setting for books
2025-02-05 14:33:46 +00:00
Dan Brown
b897af2ed0
Sorting: Finished main sort set CRUD work
2025-02-04 20:11:35 +00:00
Dan Brown
d28278bba6
Sorting: Added sort set form manager UI JS
...
Extracted much code to be shared with the shelf books management UI
2025-02-04 15:14:22 +00:00
Silverlan
12cc2f0689
Fix incorrect condition for displaying new books section
2025-02-03 19:01:08 +01:00
Dan Brown
bf8a84a8b1
Sorting: Started sort set routes and form
2025-02-03 16:48:57 +00:00
Dan Brown
4f5f7c10b1
Thumbnails: Fixed thumnail orientation
...
Prevents double rotation caused from both our own orientation handling
upon that invervention was auto-applying since v3.
Fixes #5462
2025-01-31 21:29:38 +00:00
Dan Brown
a34023f715
Sorting: Added content misses from last commit, started settings
2025-01-30 17:49:19 +00:00
Dan Brown
b2ac3e0834
Sorting: Added SortSet model & migration
2025-01-29 17:34:07 +00:00
Dan Brown
5b0cb3dd50
Sorting: Extracted URL sort helper to own class
...
Was only used in one place, so didn't make sense to have extra global
helper clutter.
2025-01-29 17:02:34 +00:00
Dan Brown
ac0cd9995d
Sorting: Reorganised book sort code to its own directory
2025-01-29 16:40:11 +00:00
Dan Brown
7e03a973d8
Lexical: Ran a deeper check on translation use
2025-01-27 16:40:41 +00:00
Dan Brown
d89a2fdb15
Lexical: Added media src conversions
...
Only actuall added YT in the end.
Google had changed URL scheme, and Vimeo seems to just be something else
now, can't really browse video pages like before.
2025-01-27 14:28:27 +00:00
Dan Brown
958b537a49
Lexical: Linked table form to have caption toggle option
2025-01-22 20:39:15 +00:00
Dan Brown
8a66365d48
Lexical: Added support for table caption nodes
...
Needs linking up to the table form still.
2025-01-22 12:54:13 +00:00
Talstra Ruben SRSNL
da82e70ca3
Add optional OIDC avatar fetching from the “picture” claim
2025-01-20 17:21:46 +01:00
Dan Brown
04cca77ae6
Lexical: Added color picker/indicator to form fields
2025-01-18 11:12:43 +00:00
Dan Brown
c091f67db3
Lexical: Added color format custom color select
...
Includes tracking of selected colors via localstorage for display.
2025-01-17 11:17:51 +00:00
Dan Brown
7f5fd16dc6
Lexical: Added some general test guidance
...
Just to help remember the general layout/methods that we've added to
make testing easier.
2025-01-15 14:31:09 +00:00
Dan Brown
0d1a237f81
Lexical: Fixed auto-link issue
...
Added extra test helper to check the editor state directly via string
notation access rather than juggling types/objects to access deep
properties.
2025-01-15 14:15:58 +00:00
Dan Brown
786a434c03
Merge pull request #5405 from BookStackApp/public_theme_files
...
Theme System: Public serving of files
2025-01-14 14:56:43 +00:00
Dan Brown
25c4f4b02b
Themes: Documented public file serving
2025-01-14 14:53:10 +00:00
Dan Brown
481580be17
Themes: Added testing and better mime sniffing for public serving
...
Existing mime sniffer wasn't great at distinguishing between plaintext
file types, so added a custom extension based mapping for common web
formats that may be expected to be used with this.
2025-01-13 16:51:07 +00:00
Dan Brown
593645acfe
Themes: Added route to serve public theme files
...
Allows files to be placed within a "public" folder within a theme
directory which the contents of will served by BookStack for access.
- Only "web safe" content-types are provided.
- A static 1 day cache time it set on served files.
For #3904
2025-01-13 14:34:44 +00:00
Dan Brown
b9751807e7
Merge pull request #5400 from BookStackApp/laravel11
...
Laravel 11 Upgrade
2025-01-13 13:27:32 +00:00
Dan Brown
ee88832f1a
Updated translations with latest Crowdin changes ( #5399 )
2025-01-13 13:26:04 +00:00
Dan Brown
dbda82ef92
Framework: Re-add updated patched symfony-mailer
...
https://github.com/ssddanbrown/symfony-mailer/commit/e9de8dccd76a63fc23475016e6574da6f5f12a2
2025-01-11 15:05:10 +00:00
Dan Brown
ad8bc5fe21
Framework: Updated phpunit to 11, updated migration test php versions
2025-01-11 13:50:01 +00:00
Dan Brown
5bf75786c6
Framework: Fixed Laravel 11 upgrade test issues, updated phpstan
...
- Fixed failing tests due to Laravel 11 changes
- Updated phpstan to 3.x branch
- Removed some seemingly redundant comment code, which was triggering
phpstan.
2025-01-11 13:22:49 +00:00
Dan Brown
cf9ccfcd5b
Framework: Performed Laravel 11 upgrade guide steps
...
Performed a little code cleanups when observed along the way.
Tested not yet ran.
2025-01-11 11:14:49 +00:00
Dan Brown
5116d83d38
PHP: Updated min version to 8.2
...
PHPStan config not yet compatible, but should work after moving to Laravel
11, which would allow using larastan 3.x.
2025-01-09 16:46:13 +00:00
Dan Brown
387c786768
Updated version and assets for release v24.12.1
2025-01-04 22:22:17 +00:00
Dan Brown
2641586a6f
Merge branch 'development' into release
2025-01-04 22:22:04 +00:00
Dan Brown
33b46882f3
Updated translations with latest Crowdin changes ( #5370 )
2025-01-04 21:46:35 +00:00
Dan Brown
9a5c287470
Deps: Updated composer packages
2025-01-04 21:45:36 +00:00
Dan Brown
6effc6d262
Merge pull request #5379 from BookStackApp/better_cleanup
...
Export limits and cleanup
2025-01-04 21:05:45 +00:00
Dan Brown
ff6c5aaecb
Markdown Editor: Fixed scroll jump on image upload
...
For #5384
2025-01-04 21:01:28 +00:00
Dan Brown
1ff2826678
Exports: Added rate limits for UI exports
...
Just as a measure to prevent potential abuse of these potentially
longer-running endpoints.
Adds test to cover for ZIP exports, but applied to all formats.
2025-01-01 15:42:59 +00:00
Dan Brown
7e31725d48
Exports: Improved PDF command temp file cleanup
2025-01-01 15:19:11 +00:00
Dan Brown
6d7ff59a89
ZIP Exports: Improved temp file tracking & clean-up
2024-12-31 15:13:50 +00:00
Dan Brown
6d2cd20e80
Updated version and assets for release v24.12
2024-12-23 11:55:23 +00:00
Dan Brown
b0c574356a
Merge branch 'development' into release
2024-12-23 11:55:02 +00:00
Dan Brown
980a684b14
Updated translator & dependency attribution before release v24.12
2024-12-23 11:53:35 +00:00
Dan Brown
d56eea9279
Locales: Updated locale list with new languages
2024-12-23 11:27:58 +00:00
Dan Brown
2be504e0d2
Updated translations with latest Crowdin changes ( #5345 )
2024-12-23 11:23:44 +00:00
Dan Brown
c84d999456
ZIP Exports: Prevent book child page drafts from being included
...
Added test to cover
2024-12-22 12:43:26 +00:00
Dan Brown
01825ddb93
Dependancies: Bumped up composer dep versions
2024-12-21 15:48:46 +00:00
Dan Brown
1f88bc2a59
Merge pull request #5365 from BookStackApp/lexical_fixes
...
Range of fixes/updates for the new Lexical based editor
2024-12-20 14:51:57 +00:00
Dan Brown
ebe2ca7faf
Lexical: Added about button/view
...
Re-used existing route and moved tinymce help to its own different
route. Added test to cover.
Added new external-content block to support in editor UI.
2024-12-17 22:40:28 +00:00
Dan Brown
f4005a139b
Lexical: Adjusted handling of child/sibling list items on nesting
...
Sibling/child items will now remain at the same visual level during
nesting/un-nested, so only the selected item level is visually altered.
Also added new model-based editor content matching system for tests.
2024-12-17 18:07:46 +00:00
Dan Brown
fca8f928a3
Lexical: Aligned new empty item behaviour for nested lists
...
- Makes enter on empty nested list item un-nest instead of just creating
new list items.
- Also updated existing lists tests to use newer helper setup.
2024-12-17 16:52:14 +00:00
Dan Brown
ace8af077d
Lexical: Improved list tab handling, Improved test utils
...
- Made tab work on empty list items
- Improved select preservation on single list item tab
- Altered test context creation for more standard testing
2024-12-17 14:44:10 +00:00
Dan Brown
e50cd33277
Lexical: Added testing for some added shortcuts
...
Also:
- Added svg loading support (dummy stub) for jest.
- Updated headless test case due to node changes.
- Split out editor change detected to where appropriate.
- Added functions to help with testing, like mocking our context.
2024-12-16 16:27:44 +00:00
Dan Brown
8486775edf
Lexical: Added mulitple methods to escape details block
...
Enter on empty last line, or down on last empty line, will focus on the
next node after details, or created a new paragraph to focus on if
needed.
2024-12-16 14:30:06 +00:00
Dan Brown
5887322178
Lexical: Added details toolbar
...
Includes unwrap and toggle open actions.
2024-12-15 18:13:49 +00:00
Dan Brown
3f86937f74
Lexical: Made summary part of details node
...
To provide more control of the summary as part of details.
To support, added a way to ignore elements during import DOM, allowing
up to read summaries when parsing details without duplicate nodes
involved.
2024-12-15 17:12:54 +00:00
Dan Brown
2f119d3033
Lexical: Adjusted modals and content area for mobile sizes
2024-12-15 15:29:00 +00:00
Dan Brown
5f07f31c9f
Lexical: Added mobile toolbar support
...
Adds dynamic and fixed (out of DOM order) positioning with location
adjustment depending on space.
Also adds smarter hiding to prevent disappearing when mouse leaves but
within the same space as the toggle.
2024-12-15 14:03:08 +00:00
Dan Brown
a71aa241ad
Lexical: Added dark mode styles, fixed autolink range
2024-12-14 15:17:33 +00:00
Dan Brown
97b201f61f
Lexical: Added auto links on enter/space
2024-12-14 12:35:13 +00:00
Dan Brown
a8ef820443
Users: Hid lanuage preference for guest user
...
Hiding since it's not really used, and may mislead on how to set default
app language (which should be done via env options).
Updated test to cover.
For #5356
2024-12-13 15:19:28 +00:00
Dan Brown
7e1a8e5ec6
API: Added cover to book/shelf list endpoints
...
Aligns with what we provide in the UI.
Added/updated tests to cover, and updated API examples.
For 5180.
2024-12-13 14:21:04 +00:00
Dan Brown
19ee1c9be7
Notifications: Logged errors and prevented them blocking user
...
Failed notification sends could block the user action, whereas it's
probably more important that the user action takes places uninteruupted
than showing an error screen for the user to debug.
Logs notification errors so issues can still be debugged by admins.
Closes #5315
2024-12-12 21:47:39 +00:00
Dan Brown
fcf0bf79a9
Attachments: Hid edit/delete controls where lacking permission
...
Added test to cover.
Also migrated related ajax-delete-row component to ts.
For #5323
2024-12-11 20:38:30 +00:00
Dan Brown
0ece664475
CI: Added php8.4 to CI suites, bumped action/os versions
2024-12-11 18:50:10 +00:00
Dan Brown
509af2463d
Search Index: Fixed SQL error when indexing large pages
...
Due to hitting statement placeholder limits (typically 65k)
when inserting index terms for single page.
Added test to cover.
Also added skipped tests for tests we don't always want to run.
For #5322
2024-12-11 15:55:19 +00:00
Dan Brown
5632fef621
Auth: Added specific guards against guest account login
...
Hardened things to enforce the intent that the guest account should not
be used for logins.
Currently this would not be allowed due to empty set password, and no
password fields on user edit forms, but an error could occur if the
login was attempted.
This adds:
- Handling to show normal invalid user warning on login instead of a
hash check error.
- Prevention of guest user via main login route, in the event that
inventive workarounds would be used by admins to set a password for
this account.
- Test for guest user login.
2024-12-11 14:22:48 +00:00
Dan Brown
8ec26e8083
SASS: Updated to use modules and address deprecations
...
Changes the name of our spacing variables due to the prefixing -/_
meaning private in the use of new "use" rather than include.
All now modular too, so all variables/mixins are accessed via their
package.
Also renamed variables file to vars for simpler/cleaner access/writing.
eg. '$-m' is now 'vars.$m'
2024-12-09 13:25:35 +00:00
Dan Brown
617b2edea0
JS: Updated packages, fixed lint issue
...
Left eslint as old due to eslint-config-airbnb-base not yet being
comptible.
Some SASS deprecations to solve.
2024-12-09 13:07:39 +00:00
Dan Brown
55d074f1a5
Attachment API: Fixed error when name not provided in update
...
Fixes #5353
2024-12-09 11:32:15 +00:00
Dan Brown
7e6f6af463
Merge pull request #5349 from BookStackApp/lexical_reorg
...
Lexical: Merge of custom nodes & re-organisation of codebase
2024-12-04 20:06:39 +00:00
Dan Brown
d00cf6e1ba
Lexical: Updated tests for node changes
2024-12-04 20:03:05 +00:00
Dan Brown
9fdd100f2d
Lexical: Reorganised custom node code into lexical codebase
...
Also cleaned up old unused imports.
2024-12-04 18:53:59 +00:00
Dan Brown
57d8449660
Lexical: Merged custom table node code
2024-12-03 20:08:33 +00:00
Dan Brown
ebd4604f21
Lexical: Merged list nodes
2024-12-03 19:03:52 +00:00
Dan Brown
36a4d79120
Lexical: Extracted & merged heading & quote nodes
2024-12-03 17:04:50 +00:00
Dan Brown
f3fa63a5ae
Lexical: Merged custom paragraph node, removed old format/indent refs
...
Start of work to merge custom nodes into lexical, removing old unused
format/indent core logic while extending common block elements where
possible.
2024-12-03 16:24:49 +00:00
Dan Brown
5164375b18
Merge branch 'rashadkhan359/development' into development
2024-12-03 13:52:38 +00:00
Dan Brown
fec44452cb
Search API: Updated handling of parent detail, added testing
...
Review of #5280 .
- Removed additional non-needed loads which could ignore permissions.
- Updated new formatter method name to be more specific on use.
- Added test case to cover changes.
- Updated API examples to align parent id/info in info to be
representative.
2024-12-03 13:51:46 +00:00
Dan Brown
18ab38a87b
Merge branch 'fix/markdown-export' into development
2024-12-02 11:50:15 +00:00
Dan Brown
0f9957bc03
MD Exports: Added HTML description conversion
...
Also updated tests to cover checking description use/conversion.
Made during review of #5313
2024-12-02 11:46:56 +00:00
Dan Brown
80f258c3c5
Merge branch 'fix-ldap-display-name' into development
2024-12-01 18:44:23 +00:00
Dan Brown
90341e0e00
LDAP: Review and testing of mulitple-display-name attr support
...
Review of #5295
Added test to cover functionality.
Moved splitting from config to service.
2024-12-01 18:42:54 +00:00
Dan Brown
3298374113
Merge branch 'docker-simplify' into development
2024-12-01 16:10:22 +00:00
Dan Brown
227c5e155b
Dev Docker: Fixed missing gd jpeg handling, forced migrations
...
Migrations run without force could fail startup in certain environment
conditions (when testing production env).
Also updated paths permission handling to update more needed locations.
2024-12-01 16:10:05 +00:00
Dan Brown
fdbbcf2b8a
Merge branch 'portazips' into development
2024-12-01 13:06:43 +00:00
Dan Brown
0a07b0d162
Merge pull request #5259 from BookStackApp/typescript-conversions
...
Conversion of Services to TypeScript
2024-12-01 13:04:59 +00:00
Dan Brown
07e45a20e5
Updated version and assets for release v24.10.3
2024-11-29 13:50:41 +00:00
Dan Brown
14056c69e6
Updated version and assets for release v24.10.2
2024-11-29 13:47:24 +00:00
Dan Brown
fb9c840c46
Merge branch 'development' into release
2024-11-29 13:47:08 +00:00
Dan Brown
94165cc18f
Updated translator & dependency attribution before release v24.10.2
2024-11-29 13:46:37 +00:00
Dan Brown
f5ecd51461
Updated translations with latest Crowdin changes ( #5331 )
2024-11-29 13:40:09 +00:00
Dan Brown
e9f906ce56
Attachments: Fixed full range request handling
...
We were not responsing with a range request, where the requested range
was for the full extent of content. This changes things to always
provide a range request, even for the full range.
Change made since our existing logic could cause problems in chromium
browsers.
Elseif statement removed as its was likley redundant based upon other
existing checks.
This also changes responses for requested ranges beyond content, but I
think that's technically correct looking at the spec (416 are for when
there are no overlapping request/response ranges at all).
Updated tests to cover.
For #5342
2024-11-29 13:19:55 +00:00
Dan Brown
4630f07282
Code: Set base codemirror line height
...
Prevents difference in line height between light/dark mode.
For #5146
2024-11-29 12:57:53 +00:00
Dan Brown
978acecdcf
Merge branch 'oidc-content-type-issue' into development
2024-11-28 16:58:55 +00:00
Dan Brown
bc1f1d92e5
OIDC: Added extra userinfo content-type normalisation and test
...
During review of #5337
2024-11-28 16:58:06 +00:00
Dan Brown
415cd6a360
Includes: Workaround for PHP 8.3.14 bug
...
Changed DOMText creation to be done via document so its document
reference is correct to avoid a bug in PHP 8.3.14.
Ref: https://github.com/php/php-src/issues/16967
Fixes #5341
2024-11-28 16:30:59 +00:00
Dan Brown
68ce340741
Depenencies: Updated PHP packages
2024-11-28 16:25:01 +00:00
Dan Brown
bdca9fc1ce
ZIP Exports: Changed the instance id mechanism
...
Adds an instance id via app settings.
2024-11-27 16:30:19 +00:00
Dan Brown
edb684c72c
ZIP Exports: Updated format doc with advisories regarding html/md
2024-11-26 17:53:20 +00:00
Wes Biggs
17f7afe12d
Updates the OIDC userinfo endpoint request to allow for a Content-Type response header with optional parameters, like application/json; charset=utf-8. This was causing an issue when integrating with [node-oidc-provider]( https://github.com/panva/node-oidc-provider ).
2024-11-26 11:21:20 -06:00
Dan Brown
0a182a45ba
ZIP Exports: Added detection/handling of images with external storage
...
Added test to cover.
2024-11-26 15:59:39 +00:00
Dan Brown
95d62e7f57
ZIP Imports/Exports: Fixed some lint and test issues
...
- Updated test handling to create imports folder when required.
- Updated some tests to delete created import zip files.
2024-11-25 16:30:56 +00:00
Dan Brown
9ecc91929a
ZIP Import & Exports: Addressed issues during testing
...
- Handled links to within-zip page images found in chapter/book
descriptions; Added test to cover.
- Fixed session showing unrelated success on failed import.
Tested import file-create undo on failure as part of this testing.
2024-11-25 15:54:15 +00:00
Dan Brown
f79c6aef8d
ZIP Imports: Updated import form to show loading indicator
...
And disable button after submit.
Added here because the import could take some time, so it's best to show
an indicator to the user to show that something is happening, and help
prevent duplicate submission or re-submit attempts.
2024-11-22 21:36:42 +00:00
Dan Brown
c0dff6d4a6
ZIP Imports: Added book content ordering to import preview
2024-11-22 21:03:04 +00:00
Dan Brown
59cfc087e1
ZIP Imports: Added image type validation/handling
...
Images were missing their extension after import since it was
(potentially) not part of the import data.
This adds validation via mime sniffing (to match normal image upload
checks) and also uses the same logic to sniff out a correct extension.
Added tests to cover.
Also fixed some existing tests around zip functionality.
2024-11-18 17:42:49 +00:00
Dan Brown
e2f6e50df4
ZIP Exports: Added ID checks and testing to validator
2024-11-18 15:53:21 +00:00
Dan Brown
c2c64e207f
ZIP Imports: Covered import runner with further testing
2024-11-16 19:52:20 +00:00
Dan Brown
8645aeaa4a
ZIP Imports: Started testing core import logic
...
Fixed image size handling, and lack of attachment reference replacements
during testing.
2024-11-16 16:12:45 +00:00
Dan Brown
7681e32dca
ZIP Imports: Added high level import run tests
2024-11-16 13:57:41 +00:00
Dan Brown
b7476a9e7f
ZIP Import: Finished base import process & error handling
...
Added file creation reverting and DB rollback on error.
Added error display on failed import.
Extracted likely shown import form/error text to translation files.
2024-11-14 15:59:15 +00:00
Dan Brown
5fba4a5399
Updated version and assets for release v24.10.2
2024-11-13 12:03:15 +00:00
Dan Brown
c0b377050e
Merge branch 'development' into release
2024-11-13 12:02:30 +00:00
Dan Brown
306b8774c2
Updated translations with latest Crowdin changes ( #5317 )
...
* New translations common.php (Ukrainian)
* New translations entities.php (Ukrainian)
* New translations errors.php (Ukrainian)
* New translations activities.php (Czech)
* New translations entities.php (Czech)
2024-11-13 11:59:03 +00:00
Dan Brown
c40ab4147e
Dependencies: Updated composer packages
2024-11-13 11:39:04 +00:00
Dan Brown
48c101aa7a
ZIP Imports: Finished off core import logic
2024-11-11 15:06:46 +00:00
Dan Brown
378f0d595f
ZIP Imports: Built out reference parsing/updating logic
2024-11-10 16:03:50 +00:00
czemu
f12946d581
ExportFormatter: Add book description and check for empty book and chapter descriptions in markdown export
2024-11-10 09:39:33 +01:00
Dan Brown
d13e4d2eef
ZIP imports: Started actual import logic
2024-11-09 14:01:24 +00:00
Dan Brown
f3efb6441d
Updated version and assets for release v24.10.1
2024-11-08 13:53:06 +00:00
Dan Brown
0cf313a21e
Merge branch 'development' into release
2024-11-08 13:52:37 +00:00
Dan Brown
ac27e18933
Languages: Added Turkmen to locale manager
2024-11-08 13:46:57 +00:00
Dan Brown
e5a6ccc4d4
Translators: Updated before patch release
2024-11-08 13:31:21 +00:00
Dan Brown
e42cdbe8e0
Updated translations with latest Crowdin changes ( #5250 )
2024-11-08 13:29:21 +00:00
Dan Brown
a6ba8dd68f
Testing: Improved reliability
...
- Added extra column/value check for page revision test for accuracy.
- Changed search sort test to use more reliable values.
- Change due to database seeding somtimes generating values that
proceeded the test value, expected to be first, in sort results.
2024-11-08 11:35:18 +00:00
Dan Brown
7017a1cae5
Update URL Command: Added revisions table support
...
For #5292
Added test to cover.
2024-11-08 11:22:30 +00:00
Dan Brown
8120278b8c
PHP Deps: Bumped up minor versions
2024-11-08 10:41:25 +00:00
Dan Brown
73babcbfe3
Merge pull request #5312 from BookStackApp/system_cli_update
...
System CLI update
2024-11-07 17:22:08 +00:00
Dan Brown
45189d9517
System CLI: Updated to 126de5599c state
2024-11-07 17:10:35 +00:00
Dan Brown
7b84558ca1
ZIP Imports: Added parent and permission check pre-import
2024-11-05 15:41:58 +00:00
Dan Brown
92cfde495e
ZIP Imports: Added full contents view to import display
...
Reduced import data will now be stored on the import itself, instead of
storing a set of totals.
2024-11-05 13:17:31 +00:00
Dan Brown
14578c2257
ZIP Imports: Added parent selector for page/chapter imports
2024-11-04 16:21:22 +00:00
Dan Brown
8f6f81948e
ZIP Imports: Fleshed out continue page, Added testing
2024-11-03 17:28:18 +00:00
Dan Brown
c6109c7087
ZIP Imports: Added listing, show view, delete, activity
2024-11-03 14:13:05 +00:00
Dan Brown
8ea3855e02
ZIP Import: Added upload handling
...
Split attachment service storage work out so it can be shared.
2024-11-02 20:48:21 +00:00
Dan Brown
74fce9640e
ZIP Import: Added model+migration, and reader class
2024-11-02 17:17:34 +00:00
Dan Brown
259aa829d4
ZIP Imports: Added validation message display, added testing
...
Testing covers main UI access, and main non-successfull import actions.
Started planning stored import model.
Extracted some text to language files.
2024-11-02 14:51:04 +00:00
Dan Brown
c4ec50d437
ZIP Exports: Got zip format validation functionally complete
2024-10-30 15:26:23 +00:00
Dan Brown
b50b7b667d
ZIP Exports: Started import validation
2024-10-30 13:13:41 +00:00
Zero
fbeb2e23d4
fix deprecated syntax
2024-10-29 23:07:15 +08:00
Zero
4b60c03caa
re-write Dockerfile
2024-10-29 23:06:50 +08:00
Dan Brown
a56a28fbb7
ZIP Exports: Built out initial import view
...
Added syles for non-custom, non-image file inputs.
Started planning out back-end handling.
2024-10-29 14:21:32 +00:00
Dan Brown
4051d5b803
ZIP Exports: Added new import permission
...
Also updated new route/view to new non-book-specific flow.
Also fixed down migration of old export permissions migration.
2024-10-29 12:11:51 +00:00
Matthieu Leboeuf
87242ce6cb
Adapt tests with displayName array
2024-10-28 22:27:15 +01:00
Matthieu Leboeuf
72d9ffd8b4
Added support for concatenating multiple LDAP attributes in displayName
2024-10-28 22:14:30 +01:00
Rashad
f606711463
respective book and chapter structure added.
2024-10-27 22:50:20 +05:30
Dan Brown
d1f69feb4a
ZIP Exports: Tested each type and model of export
2024-10-27 14:33:43 +00:00
Dan Brown
e4ca3bf132
Merge pull request #5291 from LordSimal/development
...
fix tests namespace definition
2024-10-27 09:54:11 +00:00
Kevin Pfeifer
7aaf866064
fix tests namespace definition
2024-10-26 13:24:49 +02:00
Dan Brown
484342f26a
ZIP Exports: Added entity cross refs, Started export tests
2024-10-23 15:59:58 +01:00
Dan Brown
42ada66fdd
ZIP Exports: Added core logic for books/chapters
2024-10-23 11:30:32 +01:00
Dan Brown
f732ef05d5
ZIP Exports: Reorganised files, added page md parsing
2024-10-23 10:48:26 +01:00
Dan Brown
4fb4fe0931
ZIP Exports: Added working image handling/inclusion
2024-10-21 13:59:15 +01:00
Dan Brown
06ffd8ee72
Zip Exports: Added attachment/image link resolving & JSON null handling
2024-10-21 12:13:41 +01:00
Rashad
90a8070518
Eager loading for titles
2024-10-21 03:01:33 +05:30
Rashad
3e656efb00
Added include func for search api
2024-10-21 02:42:49 +05:30
Dan Brown
7c39dd5cba
ZIP Export: Started building link/ref handling
2024-10-20 19:56:56 +01:00
Dan Brown
21ccfa97dd
ZIP Export: Expanded page & added base attachment handling
2024-10-19 15:41:07 +01:00
Dan Brown
bf0262d7d1
Testing: Split export tests into multiple files
2024-10-19 13:59:42 +01:00
Dan Brown
42b9700673
ZIP Exports: Finished up format doc, move files, started builder
...
Moved all existing export related app files into their new own dir.
2024-10-15 16:14:11 +01:00
Dan Brown
42bd07d733
ZIP Export: Continued expanding format doc types
2024-10-15 13:57:16 +01:00
Dan Brown
6f1c54d018
Users: Changed name validation to min:1 instead of 2
...
Would cause scenarios where users could be created with 1 char, but then
fail to update due to validation differences.
Added test to cover.
For #5263
2024-10-15 11:07:41 +01:00
Dan Brown
1930af91ce
ZIP Export: Started types in format doc
2024-10-13 22:56:22 +01:00
Dan Brown
e088d09e47
ZIP Export: Started defining format
2024-10-13 14:18:23 +01:00
Dan Brown
209fa04752
TS: Converted dom and keyboard nav services
2024-10-11 21:55:51 +01:00
Dan Brown
f41c02cbd7
TS: Converted app file and animations service
...
Extracted functions out of app file during changes to clean up.
Altered animation function to use normal css prop names instead of JS
CSS prop names.
2024-10-11 15:19:19 +01:00
Dan Brown
4dc75bad05
Settings: Added test to cover setting category by view
2024-10-11 13:33:07 +01:00
Lachlan Tripolone
a3d0f7478f
Move settings category layouts into their own view folder
2024-10-11 10:42:48 +11:00
Lachlan Tripolone
b9b5003239
Refactor SettingController to validate categies by existing view files
2024-10-11 10:40:38 +11:00
Dan Brown
2e8d6ce7d9
TS: Coverted util service
2024-10-10 12:03:24 +01:00
Dan Brown
26aadffb20
Updated version and assets for release v24.10
2024-10-09 10:48:34 +01:00
Dan Brown
a5f48e3202
Merge branch 'development' into release
2024-10-09 10:46:07 +01:00
Dan Brown
a58102d6ef
Attribution: Updated translator & license files before v24.10
2024-10-09 10:26:07 +01:00
Dan Brown
65453bd94e
Updated translations with latest Crowdin changes ( #5188 )
2024-10-09 10:21:55 +01:00
Dan Brown
d22413b931
JS: Converted/updated translation code to TS, fixed some comment counts
...
- Migrated translation service to TS, stripping a lot of now unused code
along the way.
- Added test to cover translation service.
- Fixed some comment count issues, where it was not showing correct
value. or updating, on comment create or delete.
2024-10-07 22:55:10 +01:00
Dan Brown
8b9bcc1768
Search: Fixed last commented filter when using table prefixes
2024-10-05 15:20:04 +01:00
Dan Brown
51287d545b
Searching: Fixed some form search issues
...
- Form was not retaining certain filters
- Form request handling of entity type set wrong filter name
Added test to cover.
2024-10-05 14:49:30 +01:00
Dan Brown
c314a60a16
WYSIWYG: Code & table fixes
...
- Fixed new code block insertion to remove selection area instead of
just adding after.
- Added default table column widths to not be collapsed
- Updated table dom export to not duplicate colgroups.
2024-10-05 12:42:47 +01:00
Dan Brown
9b2520aa0c
WYSIWYG: Fixed list indenting selection & display bugs
...
- Fixed selection breaking on multiple indent changes
- Fixed multi-indent showing numbers on empty child list until the nodes
are fully re-rendered.
2024-10-04 15:11:09 +01:00
Dan Brown
346b88ae43
JS: Converted a few extra services to TS
2024-10-04 14:36:20 +01:00
Dan Brown
2766c76491
TinyMCE: Updated version from 6.8.3 to 6.8.4
2024-10-04 12:46:22 +01:00
Dan Brown
be6529d0a1
New WYSIWYG: Added mac shortcut support
2024-10-04 12:41:13 +01:00
Dan Brown
b1a3ea1aa4
Languages: Enabled Welsh option
2024-10-04 11:02:17 +01:00
Dan Brown
6646dcc24d
Merge pull request #5239 from BookStackApp/search_negation
...
Search term negation
2024-10-03 19:52:06 +01:00
Dan Brown
966ff91386
Search: Prevented negated terms filling in UI inputs
...
Added test to cover.
2024-10-03 19:40:11 +01:00
Dan Brown
cd84d08157
Search: Added exact/filter/tag term negation support
2024-10-03 19:27:03 +01:00
Dan Brown
93c677a6a9
Searching: Added negation support to UI and term handling
...
Updated/added tests to cover.
Support for actual search queries still remains.
2024-10-03 15:59:50 +01:00
Dan Brown
177cfd72bf
Search: Added structure for search term inputs
...
Sets things up to allow more complex terms ready to handle negation.
2024-10-02 17:31:45 +01:00
Dan Brown
34ade50181
Base layout: Changed main app script to be module loaded
...
Prevents polluting global scope with variables since we're using the
module format bundler in esbuild.
Also cleaned up unused yields.
Fixed bad reference in our tinymce fixes.
For #5232
2024-10-01 10:37:31 +01:00
Dan Brown
e65655594f
Merge branch 'feature/opensearch' into development
2024-09-30 17:21:51 +01:00
Dan Brown
514db60617
Tests: Categorised up meta tests
...
Extracted robots.txt tests into its own file to fit into new folder.
Also tweaked open search tests a tad to specifically check long app
names.
2024-09-30 17:07:53 +01:00
Dan Brown
8bc6e75319
Code Blocks: Added SAS and R language options
...
For #5206
2024-09-30 16:47:55 +01:00
Maximilian Walter
2f74cfb42c
Add test for OpenSearch endpoint
2024-09-30 17:45:20 +02:00
Maximilian Walter
1302e3c959
Add missing XML declaration to OpenSearch endpoint
2024-09-30 17:45:20 +02:00
Maximilian Walter
a5b031f906
Translatable description for OpenSearch XML
2024-09-30 17:45:20 +02:00
Dan Brown
f583354748
Maintenance: Removed stray dd from last commit
2024-09-29 16:50:48 +01:00
Dan Brown
d12e8ec923
Users: Improved user response for failed invite sending
...
Added specific handling to show relevant error message when user
creation fails due to invite sending errors, while also returning user
to the form with previous input.
Includes test to cover.
For #5195
2024-09-29 16:41:18 +01:00
Dan Brown
89f84c9a95
Pages: Updated editor field to always be set
...
- Migration for setting on existing pages
- Added test to cover simple new page scenario
For #5117
2024-09-29 14:36:41 +01:00
Dan Brown
6103a22feb
Exports: Made pdf command timeout configurable
...
Added test to cover.
For #5119
2024-09-27 16:33:58 +01:00
Dan Brown
42264f402d
CSS: Fixed floating search icon on mobile
...
Also updated styles to use logical elements instead of conditional rules
for altered search boxes.
Related to #2504
2024-09-27 16:02:13 +01:00
Dan Brown
abda9bc00a
PHP Dependancies: Updated packages pending major version changes
...
Closes #5222
2024-09-27 14:21:12 +01:00
Dan Brown
eec639d84e
Maintenance: Fixed js lint and SCSS build warnings
2024-09-27 13:57:39 +01:00
Dan Brown
56b9107c6b
Dependancies: Updated php & JS deps, updated license lists
...
Fixed issue now picked up by newer TS version
2024-09-27 12:29:19 +01:00
Dan Brown
b35b62d59f
Merge branch 'lexical' into development
2024-09-27 12:04:01 +01:00
Dan Brown
1b9310e766
Meta: Added lexical licensing info and added TS/JS CI testing
2024-09-27 10:45:48 +01:00
Dan Brown
a62d8381be
Lexical: Updated toolbar & text node exporting
...
- Updated toolbar to match existing editor, including dynamic RTL/LTR
controls.
- Updated text node handling to not include spans and extra classes when
not needed. Added & update tests to cover.
2024-09-23 17:36:16 +01:00
Dan Brown
8b32e6c15a
Page Editors: Added switching/options for new lexical editor
2024-09-22 20:06:55 +01:00
Dan Brown
c8ccb2bac7
Lexical: Range of fixes
...
- Prevented ui shortcuts running in editor
- Added form modal closing on submit
- Fixed ability to escape lists via enter on empty last item
2024-09-22 16:15:02 +01:00
Dan Brown
ef3de1050f
Lexical: Added UI translation support
2024-09-22 12:29:06 +01:00
Dan Brown
2add15bd72
Lexical: Added direction support to extra blocks
...
Also removed duplicated dir functionality that remained in core.
2024-09-22 12:07:24 +01:00
Dan Brown
e6edd9340e
Lexical: Added alignment detoggle, fixed inital focus area
2024-09-21 17:02:54 +01:00
Dan Brown
654a7a5d03
Lexical: Removed reconciler level direction handling
...
- Updated tests to consider changes
2024-09-21 13:00:16 +01:00
Dan Brown
dba8ab947f
Lexical: Finished conversion/update of test files
2024-09-20 15:31:19 +01:00
Dan Brown
787e06e3d8
Lexical: Adapted a range of further existing tests
2024-09-20 13:05:29 +01:00
Dan Brown
ccd486f2a9
Lexical: Got a range of Editor tests working
2024-09-18 17:31:51 +01:00
Dan Brown
22d078b47f
Lexical: Imported core lexical libs
...
Imported at 0.17.1, Modified to work in-app.
Added & configured test dependancies.
Tests need to be altered to avoid using non-included deps including
react dependancies.
2024-09-18 13:43:39 +01:00
Dan Brown
03490d6597
Lexical: Added RTL/LTR actions
...
Kinda useless though due to Lexical reconciler :(
2024-09-16 12:29:46 +01:00
Dan Brown
5f46d71af0
Lexical: Fixed a range of issues in RTL mode
2024-09-15 16:10:46 +01:00
Maximilian Walter
4f890c431c
Limit short-name for OpenSearch XML to 16 characters
...
The specification does not allow more than 16 characters.
2024-09-14 15:31:56 +02:00
Maximilian Walter
c110a97d8a
Remove unofficial method-attribute from OpenSearch-XML
2024-09-14 15:24:42 +02:00
Dan Brown
6872eb802c
Lexical: Altered keyboard handling to indicant handled state
2024-09-13 16:05:55 +01:00
Dan Brown
662110c269
Lexical: Custom list nesting support
...
Added list nesting support to allow li > ul style nesting which lexical
didn't do by default.
Adds tab handling for inset/outset controls.
Will be a range of edge-case bugs to squash during testing.
2024-09-13 15:50:42 +01:00
Dan Brown
5083188ed8
Lexical: Added block indenting capability
...
Needed a custom implementation due to hardcoded defaults for Lexical
default indenting.
2024-09-10 15:55:46 +01:00
Dan Brown
2036438203
Lexical: Added single node enter handling
...
Also updated media to be an inline element to align with old editor
behaviour.
2024-09-10 12:14:26 +01:00
Maximilian Walter
476c2be5a6
Add XML for OpenSearch
2024-09-09 22:54:33 +02:00
Dan Brown
ced66f1671
Lexical: Added single node backspace/delete support
2024-09-09 18:33:54 +01:00
Dan Brown
fb49371c6b
Lexical: Refined editor UI
...
- Cleaned up dropdown lists to look integrated
- Added icons for color picker clear and menu list items
2024-09-09 14:06:41 +01:00
Dan Brown
fd07aa0f05
Lexical: Further fixes
...
- Improved node resizer positioning to be more accurate
- Fixed drop handling not running within editor margin space
- Made media dom update smarter to reduce reloads
- Fixed media alignment, broken due to added wrapper
2024-09-09 12:28:01 +01:00
Dan Brown
16518a4f89
Lexical: Range of bug fixes, Updated lexical version
...
- Updated selection change detection to be more accurate
- Added UI refresh for extra actions
- Fixed remove link deleting contents
2024-09-08 15:54:59 +01:00
Dan Brown
bed2c29a33
Lexical: Added media resize support via drag handles
2024-09-08 13:37:13 +01:00
Dan Brown
e5b6d28bca
Lexical: Revamped image node resize method
...
Changed from using a decorator to using a helper that watches for image
selections to then display a resize helper.
Also changes resizer to use a ghost and apply changes on end instead of
continuosly during resize.
2024-09-07 18:39:58 +01:00
Dan Brown
1c9afcb84e
Lexical: Added some level of img/media alignment
2024-09-06 14:07:10 +01:00
Dan Brown
b0dda6e6a7
Updated version and assets for release v24.05.4
2024-08-29 16:04:51 +01:00
Dan Brown
d4025d95e7
Merge branch 'development' into release
2024-08-29 16:04:37 +01:00
Dan Brown
3a058a6e34
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2024-08-29 15:28:52 +01:00
Dan Brown
aac7d564c8
Updated translations with latest Crowdin changes ( #5118 )
2024-08-29 15:08:27 +01:00
Dan Brown
9aa3442a17
API: Fixed lacking permission enforcement on book contents
2024-08-29 14:43:21 +01:00
Dan Brown
c68d154f0f
LDAP: Updated tests for recursive group changes
2024-08-28 21:16:18 +01:00
Dan Brown
1b4ed69f41
LDAP: Updated recursive group search to query by DN
...
Added test to cover, added pre-change.
Need to test post-changes and fix tests.
2024-08-28 15:39:05 +01:00
Dan Brown
8cef998f49
RTL: Fixed lacking task list RTL support
...
Added with fallback to old LTR styles.
For #5134
2024-08-27 14:13:33 +01:00
Dan Brown
90d1223acd
Styles: Added max-width for iframes in content
...
For #5130
2024-08-27 13:32:16 +01:00
Dan Brown
1f2506221a
API: Updated docs with consistent types, fixed users response example
...
For #5178 and #5183
2024-08-27 12:23:36 +01:00
Dan Brown
9f68ca5358
Dependancies: Updated PHP and JS packages
2024-08-26 11:49:02 +01:00
Dan Brown
1ebb0f8c93
Lexical: Added table column cut/copy/paste support
2024-08-22 13:28:30 +01:00
Dan Brown
8a13a9df80
Lexical: Improved table row copy/paste
...
Added safeguarding/matching of source/target sizes to prevent broken
tables.
2024-08-22 10:08:08 +01:00
Dan Brown
ddf5f2543c
Lexical: Added drop/paste image handling
2024-08-21 12:59:45 +01:00
Dan Brown
dbb2fe3e59
Lexical: Finished off baseline shortcut implementation
2024-08-20 14:54:53 +01:00
Dan Brown
aa1fac62d5
Lexical: Started adding editor shortcuts
2024-08-20 13:07:33 +01:00
Dan Brown
111a313d51
Lexical: Added custom alignment handling for blocks
...
To align with pre-existing use of alignment classes.
2024-08-18 16:51:08 +01:00
Dan Brown
0039f893cc
Lexical: Integrated diagram manager, added menu split button
2024-08-17 10:48:34 +01:00
Dan Brown
ad6b26ba97
Lexical: Added basic URL field header option list
...
May show bad option label names on chrome/safari.
This was an easy first pass without loads of extra custom UI since we're
using native datalists.
2024-08-16 12:29:40 +01:00
Dan Brown
1ef4044419
Lexical: Connected link selector to link form
2024-08-16 11:22:12 +01:00
Dan Brown
accf2565a0
Lexical: Integrated image manager to image button/form
2024-08-13 19:36:18 +01:00
Dan Brown
ec965f28c0
Lexical: Added id support for all main block types
2024-08-11 16:08:51 +01:00
Dan Brown
ebf95f637a
Lexical: Wired table properties, and other buttons
2024-08-10 13:14:55 +01:00
Dan Brown
abbfd42a6c
Lexical: Kinda made row copy/paste work
2024-08-09 21:58:45 +01:00
Dan Brown
db4208a7eb
Lexical: Linked row properties form up
2024-08-09 12:42:04 +01:00
Dan Brown
da54e1d87c
Lexical: Added cell width fetching, Created custom row node
2024-08-09 11:24:25 +01:00
Dan Brown
e8532ef4de
Lexical: Added merge cell logic
2024-08-07 20:32:54 +01:00
Dan Brown
fa6d66db49
Readme: Updated sponsor image links to use website
2024-08-07 10:53:20 +01:00
Alexander Wilms
6604e7365f
Update sponsor image URLs in readme
2024-08-06 23:30:05 +00:00
Dan Brown
fcc1c2968d
Lexical: Added table cell node import logic
2024-08-06 09:36:37 +01:00
Dan Brown
b3d3b14f79
Lexical: Finished off core cell properties functionality
2024-08-05 18:49:17 +01:00
Dan Brown
8939f310db
Lexical: Started linking up cell properties form
2024-08-05 15:08:52 +01:00
Dan Brown
efec752985
Lexical: Split helpers to utils, refactored files
2024-08-03 18:14:01 +01:00
Dan Brown
e94ad78ea7
Lexical: Completed out table menu elements, logic pending
2024-08-03 18:01:54 +01:00
Dan Brown
a27a325af7
Lexical: Started on table actions
...
Started building table cell form/actions
2024-08-02 15:28:54 +01:00
Dan Brown
6b06d490c5
Lexical: Started table menu options
...
Updated UI elements to handle new scenarios needed in more complex table
menu
2024-08-02 11:16:54 +01:00
Dan Brown
13f8f39dd5
Lexical: Updated task list to use/support old format
2024-07-30 14:42:19 +01:00
Dan Brown
fe05cff64f
Lexical: Linked up change/draft management
2024-07-29 21:43:20 +01:00
Dan Brown
d86837ac07
Lexical: Got working with attachment insert/drop
2024-07-29 21:14:42 +01:00
Dan Brown
9a7edc6e52
Lexical: Started drop handling, handled templates
2024-07-29 15:27:41 +01:00
Dan Brown
ce8c9dd079
Lexical: Added form complex/tab ui support
2024-07-28 12:48:58 +01:00
Dan Brown
c8f6b7e0d6
Lexical: Got media node core work & form done
2024-07-27 17:25:30 +01:00
Dan Brown
f284d31861
Lexical: Started media node support
2024-07-25 16:25:08 +01:00
Dan Brown
76b0d2d5d8
Lexical: Added common events support
2024-07-23 15:35:18 +01:00
Dan Brown
2cab778f19
Lexical: Improved table resize bars
...
Added scoll & page resize handling.
Added cropping/limiting to edit area.
2024-07-23 12:45:58 +01:00
Dan Brown
c31f8eb2e0
Readme: Added route4me sponsorship
2024-07-22 16:51:56 +01:00
Dan Brown
b618287585
Lexical: Added table toolbar, organised button code
2024-07-21 15:11:24 +01:00
Dan Brown
63f4b42453
Lexical: Added toolbar scroll/resize handling
...
Also added smarter above/below positioning to respond if toolbar would
be off the bottom of the editor, and added hide/show when they'd go
outside editor scroll bounds.
2024-07-19 18:12:51 +01:00
Dan Brown
c7c0df0964
Lexical: Finished up core drawing insert/editing
...
Added new options that sits on the context, for things needed but not
for the core editor, which are defined out of the editor (drawio URL,
error message text, pageId etc...)
2024-07-19 12:09:41 +01:00
Dan Brown
fb87fb5750
JS: Converted http service to ts
2024-07-18 15:13:14 +01:00
Dan Brown
634b0aaa07
Lexical: Started converting drawio to TS
...
Converted events service to TS as part of this.
2024-07-18 11:19:11 +01:00
Dan Brown
5002a89754
Lexical: Standardised helper function format
2024-07-17 16:45:57 +01:00
Dan Brown
b367490edc
Lexical: Added list support, started todo
2024-07-17 16:38:20 +01:00
Dan Brown
e145f21512
Dev compose: Set image versions, removed unsupported mysql flag
...
Quick local test performed, ran a working instance.
For #5124
2024-07-17 11:13:39 +01:00
Dan Brown
ea4c50c2c2
Lexical: Added code block selection & edit features
...
Also added extra lifecycle handling for decorators to things can be
properly cleaned up after node destruction.
2024-07-16 16:36:08 +01:00
Dan Brown
d6021f4d22
Updated version and assets for release v24.05.3
2024-07-14 17:14:21 +01:00
Dan Brown
b9a3290731
Merge branch 'development' into release
2024-07-14 17:13:10 +01:00
Dan Brown
47ac0d5c3e
Updated translator & dependency attribution before release v24.05.3
2024-07-14 17:09:41 +01:00
Dan Brown
75f225d6dc
Updated translations with latest Crowdin changes ( #5065 )
2024-07-14 16:39:50 +01:00
Dan Brown
adb7bf7016
Codemirror: Enabled non-standard self-closing tags
...
For #5078
2024-07-14 16:36:36 +01:00
Dan Brown
897bb338f9
CSP: Updated handling of drawio URL to consider port
...
Previously if a custom port was used in the DRAWIO option it would not
be considered in the CSP handling, which would block loading.
Added test to cover.
For #5107
2024-07-14 16:06:18 +01:00
Dan Brown
767699a066
OIDC: Fixed incorrect detection of group detail population
...
An empty (but valid formed) groups list provided via the OIDC ID token
would be considered as a lacking detail, and therefore trigger a lookup
to the userinfo endpoint in an attempt to get that information.
This fixes this to properly distinguish between not-provided and empty
state, to avoid userinfo where provided as valid but empty.
Includes test to cover.
For #5101
2024-07-14 14:21:16 +01:00
Dan Brown
7161f22706
Dependancies: Updated composer & npm deps
2024-07-14 13:55:46 +01:00
Dan Brown
ddec8097b7
Merge pull request #5096 from DanielGordonIT/normalize-file-extensions
...
Wraps file extension comparison components in strtolower()
2024-07-14 13:51:55 +01:00
Dan Brown
95c3cc5c00
Styles: Improved callout RTL support
...
Will now adapt using logical styles where supported, will fallbacks
to old fixed LTR positioning where not supported.
For #5104
2024-07-14 12:21:07 +01:00
Dan Brown
60c53705ca
Merge pull request #5069 from mueller-contria/5068-allowed_iframe_sources_in_phpunit_xml
...
Add ALLOWED_IFRAME_SOURCES to phpunit.xml
2024-07-14 12:06:17 +01:00
Dan Brown
51d8044a54
Lexical: Added initial form/modal styles
2024-07-09 20:49:47 +01:00
Dan Brown
ce697ab0f5
Readme: Added sponsor, removed road map section
...
Road map section was very much outdated and redundant so removing to
avoid confusion.
2024-07-09 14:37:29 +01:00
DanielGordonIT
ca310966b2
Actually add the test this time
2024-07-05 03:59:49 +00:00
DanielGordonIT
25f92ce584
Add test to verify different case on extensions works
2024-07-04 19:48:12 -04:00
Dan Brown
2c96af9aea
Lexical: Worked on toolbar styling, got format submenu working
2024-07-04 16:16:16 +01:00
Dan Brown
04c7e680fd
Lexical: Linked up saving logic of editor via interface
2024-07-04 13:09:53 +01:00
DanielGordonIT
9b0ef85f77
Wraps file extension comparison components in strtolower()
...
This avoids the issue where replacing file.PNG with newfile.png fails due to "PNG" not being equal to "png"
2024-07-03 15:50:25 -04:00
Dan Brown
a8f1160743
JS: Converted come common services to typescript
2024-07-03 11:00:57 +01:00
Dan Brown
feca1f0502
Lexical: Started diagram support
2024-07-03 10:28:04 +01:00
Dan Brown
d0a5a5ef37
Lexical: Linked code block to editor, added button
2024-07-02 17:34:03 +01:00
Dan Brown
97f570a4ee
Lexical: Started code block node implementation
2024-07-02 14:46:30 +01:00
Dan Brown
9ebbf7ce94
Lexical: Started loading real content, Improved html loading
...
Added more styling/layout for buttons and main content area
2024-07-01 15:10:22 +01:00
Dan Brown
c2ecbf071f
Lexical: Added tracked container, added fullscreen action
...
Changed how the editor is loaded in, so it now creates its own DOM, and
content is passed via creation function, to be better self-contained.
2024-07-01 10:44:23 +01:00
Dan Brown
b1c489090e
Lexical: Added context toolbar placement, added link toolbar
...
Also added some basic context toolbar styling
2024-06-30 19:52:09 +01:00
Dan Brown
c9a03c5b01
Lexical: Added base context toolbar logic
2024-06-30 12:13:13 +01:00
Dan Brown
517c578a5f
Lexical: Reorganised some logic into manager
2024-06-30 10:31:39 +01:00
Dan Brown
14837e34fb
Readme: Added sponsor practinet
2024-06-28 22:28:06 +01:00
Dan Brown
f10ec3271a
Lexical: Added overflow container
2024-06-27 16:28:06 +01:00
Dan Brown
4e2820d6e3
Lexical: Added horizontal rule node
2024-06-27 15:48:06 +01:00
Dan Brown
72a0e081ca
Lexical: Completed initial table cell resize handle logic
2024-06-26 17:22:00 +01:00
Dan Brown
b1130cb1c3
Lexical: Linked up table resize handler (unfinished)
2024-06-26 13:52:00 +01:00
Dan Brown
59936631ec
Lexical: Extracted mouse drag tracking to new helper
2024-06-25 18:33:29 +01:00
Dan Brown
3af22ce754
Lexical: Created custom table node with col width handling
2024-06-24 20:50:17 +01:00
Dan Brown
5546b8ff43
Lexical: Added more icons, made reflective text/bg color buttons
2024-06-23 15:50:41 +01:00
Dan Brown
a07092b7e6
Lexical: Updated lexical, added undo state tracking, format styles
2024-06-23 11:36:48 +01:00
Dan Brown
ac01c62e6e
Lexical: Added table creator UI
2024-06-21 16:18:44 +01:00
Dan Brown
f47f7dd9d2
Lexical: Added base table support and started resize handling
2024-06-21 13:47:47 +01:00
Dan Brown
13d970c7ce
Lexical: Added button icon system
...
With a bunch of default icons
2024-06-19 20:00:29 +01:00
Dan Brown
e2409a5fab
Lexical: Added basic list button/support
2024-06-19 16:14:20 +01:00
Dan Brown
e30aae3399
Sponsors: Added Schroeck IT Consulting
2024-06-13 16:46:39 +01:00
Stefan Mueller
b81f2b52d0
Add ALLOWED_IFRAME_SOURCES to phpunit.xml
...
Fix for bug #5068
test_frame_src_csp_header_set fails, when .env-file has
customized ALLOWED_IFRAME_SOURCES
2024-06-13 12:41:05 +02:00
Dan Brown
9e43e03db4
Lexical: Added color picker controls
2024-06-12 19:51:42 +01:00
Dan Brown
a475cf68bf
Lexical: Added clear formatting button
2024-06-12 14:24:50 +01:00
Dan Brown
e889bc680b
Lexical: Added view/edit source code button/form/action
2024-06-12 14:01:36 +01:00
Dan Brown
48f235ea5a
Updated version and assets for release v24.05.2
2024-06-10 11:44:06 +01:00
Dan Brown
047771b9f4
Merge branch 'development' into release
2024-06-10 11:43:05 +01:00
Dan Brown
c096b20d9c
Updated translator & dependency attribution before release v24.05.2
2024-06-10 11:42:37 +01:00
Dan Brown
11a7ccc37e
SAML: Set static type to pass static checks
...
Not totally clear if underlying code can actually return null, but
playing it safe to remain as-is for now for patch release.
2024-06-10 10:31:35 +01:00
Dan Brown
d9b9e6c0b1
Updated translations with latest Crowdin changes ( #5022 )
2024-06-10 10:16:34 +01:00
Dan Brown
f18d42f08e
Merge pull request #5036 from bradenterpstra01/development
...
Fixed incorrect code shortcut reference
2024-06-09 23:23:28 +01:00
Dan Brown
4986f008b9
Merge pull request #5052 from michaelortnerit/development
...
Update docker-compose.yml
2024-06-09 23:20:01 +01:00
Dan Brown
a8ce199e0d
Pages: Fixed unused changelog on first page publish
...
Included test to cover.
For #5056
2024-06-09 17:18:23 +01:00
Dan Brown
c77e8730d6
Deps: Updated php packages via composer
2024-06-09 17:03:29 +01:00
Dan Brown
3406846c82
Images: Updated GIF handling to use native methods
...
Changes GIF image thumbnail handling to direcly load via gd instead of
going through interventions own handling (which supports frames) since
we don't need animation for our thumbnails, and since performance issues
could arise with GIFs that have large frame counts.
For #5029
2024-06-09 17:00:58 +01:00
Dan Brown
bddc6ae66b
Roles: Added max validation for role external auth id field
...
For #5037
2024-06-08 20:33:34 +01:00
Dan Brown
5c343638b6
Added base node/button for details/summary
2024-06-06 14:43:50 +01:00
Dan Brown
0722960260
Lexical: Added selection to state for aligned reading
...
Connected up to work with image form
2024-06-05 18:43:42 +01:00
Dan Brown
e959c468f6
Lexical: Made image resize handles functional
2024-06-05 17:18:58 +01:00
Dan Brown
ba871ec46a
Lexical: Started image resize controls, Defined thorough decorator model
2024-06-05 13:04:49 +01:00
Michael Ortner
bd6e3c022f
Update docker-compose.yml
...
Remove the version: because it is obsolete. See: https://docs.docker.com/compose/compose-file/04-version-and-name/#version-top-level-element-optional
2024-06-04 15:07:09 +02:00
Dan Brown
a74e04141c
Lexical: Started build of image node and decoration UI
2024-06-03 16:56:31 +01:00
Dan Brown
7c504a10a8
Lexical: Created core modal functionality
2024-06-01 16:49:47 +01:00
Dan Brown
ae98745439
Lexical: Started on form UI
2024-05-30 16:50:55 +01:00
Dan Brown
57259aee00
Lexical: Added format previews to format buttons
2024-05-30 12:25:25 +01:00
bradenterpstra01
8759fff116
Update wysiwyg.blade.php
...
Remove the Shift for the numeric shortcut for incline code.
Ctrl+8 instead of Ctrl+Shift+8
I assume Mac is the same but I do not have a Mac to test with.
2024-05-29 18:01:48 -04:00
Dan Brown
dc1a40ea74
Lexical: Added ui container type
...
Structured UI logical to be fairly standard and mostly covered via
a base class that handles context and core dom work.
2024-05-29 20:38:31 +01:00
Dan Brown
483d9bf26c
Lexical: Added a range of format buttons
2024-05-28 22:56:58 +01:00
Dan Brown
b24d60e98d
Lexical: Started UI fundementals with basic button
2024-05-28 18:04:48 +01:00
Dan Brown
0f8bd869d8
Lexical: Added custom id-supporting paragraph blocks
2024-05-28 15:09:50 +01:00
Dan Brown
49546cd627
Lexical: Switched to ts for new editor build
2024-05-27 23:50:28 +01:00
Dan Brown
6e852d2e65
Lexical: Played with commands, extracted & improved callout node
2024-05-27 20:23:45 +01:00
Dan Brown
5a4f595341
Editors: Added lexical editor for testing
...
Started basic playground for testing lexical as a new WYSIWYG editor.
Moved out tinymce to be under wysiwyg-tinymce instead so lexical is the
default, but TinyMce code remains.
2024-05-27 15:39:41 +01:00
Dan Brown
6019d2ee14
MFA: Tweaked backup code wording
...
It was not clear before as it could be taken that the system would
securely store the codes.
Closes #5017
2024-05-23 11:30:53 +01:00
Dan Brown
b5375114d3
Updated version and assets for release v24.05.1
2024-05-21 11:07:36 +01:00
Dan Brown
fc13e56cea
Merge branch 'development' into release
2024-05-21 11:07:10 +01:00
Dan Brown
f937bf3abb
Updated translator & dependency attribution before release v24.05.1
2024-05-21 11:06:08 +01:00
Dan Brown
586e8963a8
Updated translations with latest Crowdin changes ( #4994 )
2024-05-21 11:04:27 +01:00
Dan Brown
bdfa76ed9a
Deps: Updated php/composer packages
2024-05-20 17:28:53 +01:00
Dan Brown
d133f904d3
Auth: Changed email confirmations to use login attempt user
...
Negates the need for a public confirmation resend form
since we can instead just send direct to the last session login attempter.
2024-05-20 17:23:15 +01:00
Dan Brown
69af9e0dbd
Routes: Added throttling to a range of auth-related endpoints
...
Some already throttled in some means, but this adds a simple ip-based
non-request-specific layer to many endpoints.
Related to #4993
2024-05-20 14:00:58 +01:00
Dan Brown
72c5141dec
File Uploads: Added basic validation response formatting
...
Tested via app-level validation file limit, and then also with nginx
file post limit.
For #4996
2024-05-18 21:18:15 +01:00
Dan Brown
5651d2c43d
Config: Reverted change to cache directory
...
Change made during Laravel 10 updates to align (Laravel made this change
much earlier in 5.x series) but it caused issues due to folder not
pre-existing and due to potentiall permission issues.
(CLI could create this during update, with non-compatible permissions
for webserver).
For #4999
2024-05-18 20:40:26 +01:00
Dan Brown
fc236f930b
Dark Mode: Fixed setting labels missing dark mode handling
...
Fixes #5018
2024-05-18 20:37:49 +01:00
Dan Brown
570af500f4
WYSIWYG: Added justify cell range cleanup
...
To help override & gain control of setting text alignment in tables.
- Adds support of clearing "align" attributes in certain operations.
- Updates cell range action handling to dedupe execcommand handling.
- Adds clearing of additional alignment classes on direction control.
Closes #5011
2024-05-16 14:59:30 +01:00
Dan Brown
38913288d8
Devdocs: Fixed visual theme system lang folder reference
...
Made some other minor updates while there.
Fixes #4998
2024-05-16 14:15:26 +01:00
Dan Brown
c14d7d9509
Merge pull request #5008 from KiDxS/fix-notification-preferences-url-in-email
...
Fixed notification preferences URL in email
2024-05-16 14:11:15 +01:00
Angelo Geant Gaviola
79f5be4170
Fixed notification preferences URL in email
2024-05-14 17:04:23 +08:00
Dan Brown
77fc37ac25
Updated version and assets for release v24.05
2024-05-11 15:49:29 +01:00
Dan Brown
3424351e84
Merge branch 'development' into release
2024-05-11 15:48:49 +01:00
Dan Brown
a3a776d4a6
Updated translator & dependency attribution before release v24.05
2024-05-11 15:47:38 +01:00
Dan Brown
2b9b0f91cb
Updated translations with latest Crowdin changes ( #4890 )
2024-05-11 15:15:10 +01:00
Dan Brown
424e8f503e
Readme: Updated sponsor list
2024-05-10 11:02:20 +01:00
Dan Brown
d206129f3d
Deps: Updated composer dependencies
2024-05-05 16:30:04 +01:00
Dan Brown
baad7fa9cb
Merge pull request #4987 from BookStackApp/audit_api
...
Addition of Audit Log API Endpoint
2024-05-05 16:14:09 +01:00
Dan Brown
d54c7b4783
Audit Log: Fixed bad reference to linked entity item
2024-05-05 16:05:21 +01:00
Dan Brown
67df127c26
API: Added to, and updated, testing to cover audit log additions
2024-05-05 15:44:58 +01:00
Dan Brown
3946158e88
API: Added audit log list endpoint
...
Not yested covered with testing.
Changes database columns for more presentable names and for future use
to connect additional model types.
For #4316
2024-05-04 16:28:18 +01:00
Dan Brown
dd251d9e62
Merge branch 'nesges/development' into development
2024-05-04 14:00:40 +01:00
Dan Brown
5c28bcf865
Registration: Reviewed added simple honeypot, added testing
...
Also cleaned up old RegistrationController syntax.
Review of #4970
2024-05-04 13:59:41 +01:00
Dan Brown
7b3b28d3f8
Merge pull request #4972 from johnroyer/fix-typo-in-language-file
...
remove space at the beginning of description
2024-05-03 19:16:23 +01:00
Dan Brown
20e86bf376
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2024-05-03 13:40:18 +01:00
Dan Brown
f9e087330b
WYSIWYG: Added text direction support for code editor popup
...
Editor popup will now reflect the direction of the opened code block.
This also updates in-editor codemirror instances to correcly reflect/use
the direction if set on the inner code elem.
This also defaults new code blocks, when in RTL languages, to be started
in LTR, which can then be changed via in-editor direction controls if
needed. This is on the assumption that most code will be LTR (could not
find much examples of RTL code use).
Fixes #4943
2024-05-03 13:40:00 +01:00
Dan Brown
b0720777be
Merge pull request #4985 from BookStackApp/ldap_ca_cert_control
...
LDAP CA TLS Cert Option, PR Review and continuation
2024-05-02 23:16:16 +01:00
Dan Brown
8087123f2e
LDAP: Review, testing and update of LDAP TLS CA cert control
...
Review of #4913
Added testing to cover option.
Updated option so it can be used for a CA directory, or a CA file.
Updated option name to be somewhat abstracted from original underling
PHP option.
Tested against Jumpcloud.
Testing took hours due to instability which was due to these settings
sticking and being unstable on change until php process restart.
Also due to little documentation for these options.
X_TLS_CACERTDIR option needs cert files to be named via specific hashes
which can be achieved via c_rehash utility.
This also adds detail on STARTTLS failure, which took a long time to
discover due to little detail out there for deeper PHP LDAP debugging.
2024-05-02 23:11:31 +01:00
Dan Brown
4c1c315594
WYSWIYG: Fixed misaligned table cell p line height
...
Removes an editor-specific line-height which was overriding cell
paragraph line height, causing mis-aligned style compared to viewing.
Checked a range of styles and looked at history, could not see original
purpose of the line-height removed here.
Closes #4960
2024-05-02 15:20:51 +01:00
Dan Brown
f95fb640af
WYSWIYG: Improved use of object tags to embed content
...
- Prevented image toolbars showing for objects embeds due to tinymce
image placeholder, and added media toolbar.
- Fixed height of object embed placeholder being forced to auto
when in the editor, allowing height attributed to be properly
reflected as it would on normal page view.
Closes #4974
2024-05-01 17:22:53 +01:00
Dan Brown
493d8027cd
Attachments: Fixed drag into editor in Chrome
...
Seemed to be chrome specific from testing.
Required editors to have preventDefault called on dragover.
Tested in Chrome, FF, & Safari.
Tested in both editors, and re-tested text/image drop to ensure still
works.
Fixed #4975
2024-04-29 19:21:13 +01:00
Dan Brown
06bb55184c
WYSIWYG: Fixed unexpected clearing of table cell styles
...
Fixes custom table cell clear-format handling since it was being called
on many format removals, not just the clear-formatting action.
This updates the code to specifically run on the RemoveFormat action
which is triggered by the clear formatting button.
Fixes #4964
2024-04-29 17:47:06 +01:00
Dan Brown
6b681961e5
LDAP: Updated default user filter placeholder format
...
To not conflict with env variables, and to align with placeholders used
for PDF gen command.
Added test to cover, including old format supported for
back-compatibility.
For #4967
2024-04-28 12:29:57 +01:00
Dan Brown
e1149a27e9
Merge pull request #4969 from BookStackApp/pdf_command_option
...
PDF Exports: New command option and library/option cleanup
2024-04-26 17:06:38 +01:00
Dan Brown
f0dd33c1b4
PDF: Added tests for pdf command, fixed old tests for changes
2024-04-26 15:39:40 +01:00
Zero
5860e1e2ce
remove space at the beginning of description
2024-04-25 13:35:36 +08:00
Dan Brown
1c7128c2cb
PDF: Added implmentation of command PDF option
...
Tested quickly manually but not yet covered by PHPUnit tests.
2024-04-24 16:09:53 +01:00
Dan Brown
40200856af
PDF: Removed barryvdh snappy to use snappy direct
...
Also simplifies config format, and updates snappy implmentation to use
the new config file.
Not yet tested.
2024-04-24 15:13:44 +01:00
Dan Brown
bb6670d395
PDF: Started new command option, merged options, simplified dompdf
...
- Updated DOMPDF to direcly use library instead of depending on barry
wrapper.
- Merged existing export options file into single exports file.
- Defined option for new command option.
Related to #4732
2024-04-22 16:40:42 +01:00
nesges
0d2a268be0
whitespace only
2024-04-21 17:44:01 +02:00
nesges
16399b63be
better accessibility for honepot formfield
2024-04-21 16:08:28 +02:00
Dan Brown
d949b97cc1
Merge pull request #4955 from BookStackApp/oidc_userinfo
...
OIDC userinfo endpoint support
2024-04-19 16:55:29 +01:00
Dan Brown
8b14a701a4
OIDC Userinfo: Fixed issues with validation logic from changes
...
Also updated test to suit validation changes
2024-04-19 16:43:51 +01:00
Dan Brown
0958909cd9
OIDC Userinfo: Added additional tests to cover jwks usage
2024-04-19 15:05:00 +01:00
Dan Brown
b18cee3dc4
OIDC Userinfo: Added JWT signed response support
...
Not yet tested, nor checked all response validations.
2024-04-19 14:12:27 +01:00
nesges
31272e60b6
add ambrosia-container to registration form as honeypot for bots: new form field "username" must not be filled
2024-04-19 09:35:09 +02:00
nesges
1b1cb18839
fixed mislabeling of name input
2024-04-19 09:18:34 +02:00
Dan Brown
fa543bbd4d
OIDC Userinfo: Started writing tests to cover userinfo calling
2024-04-17 23:26:56 +01:00
Dan Brown
7d7cd32ca7
OIDC Userinfo: Added userinfo data validation, seperated from id token
...
Wrapped userinfo response in its own class for additional handling and
validation.
Updated userdetails to take abstract claim data, to be populated by
either userinfo data or id token data.
2024-04-17 18:23:58 +01:00
Dan Brown
a71c8c60b7
OIDC: Extracted user detail handling to own OidcUserDetails class
...
Allows a proper defined object instead of an array an extracts related
logic out of OidcService.
Updated userinfo to only be called if we're missing details.
2024-04-16 18:14:22 +01:00
Dan Brown
9183e7f2fe
OIDC Userinfo: Labelled changes to be made during review
2024-04-16 15:52:55 +01:00
Dan Brown
d640411adb
OIDC: Cleaned up provider settings, added extra validation
...
- Added endpoint validation to ensure HTTPS as per spec
- Added some missing types
- Removed redirectUri from OidcProviderSettings since it's not a
provider-based setting, but a setting for the oauth client, so
extracted that back to service.
2024-04-16 15:19:51 +01:00
Dan Brown
dc6013fd7e
Merge branch 'development' into lukeshu/oidc-development
2024-04-16 14:57:36 +01:00
Dan Brown
80ac66e0a6
Code Editor: Added scala to language list
...
For #4953
2024-04-16 14:44:17 +01:00
Dan Brown
f05ec4cc26
Tags: Stopped recycle bin tags being counted on index
...
For #4892
Added test to cover.
2024-04-15 18:44:59 +01:00
Dan Brown
d9ff001ffe
Merge pull request #4904 from C0rn3j/optimize-images
...
15KB lossless optimization via oxipng(PNG) and svgo(SVG)
2024-04-15 18:07:29 +01:00
Dan Brown
0f6cb9ed84
Content styles: Made links underlined for visibility
...
Inline with A11y recommendations where color may not be reliable on its
own.
Tested various content link scenarios across chrome, safari & FF.
For #4939
2024-04-13 15:48:39 +01:00
Dan Brown
dde1f27882
Merge pull request #4930 from BookStackApp/split_md_js
...
JS Build: Split markdown to own file, updated packages
2024-04-08 14:46:06 +01:00
Dan Brown
f5e6f9574d
JS Build: Split markdown to own file, updated packages
...
Markdown-related code was growing, representing half of app.js main
bundle code while only being needed in one view/scenario.
This extracts markdown related code to its own built file.
Related to #4858
2024-04-08 14:41:51 +01:00
Dan Brown
ee40adf11a
Merge pull request #4921 from BookStackApp/v24-02
...
v23.02.3 changes
2024-04-05 15:21:05 +01:00
Dan Brown
606f9d92d0
Updated version and assets for release v24.02.3
2024-04-05 15:20:08 +01:00
Dan Brown
a5e25abb9c
Merge branch 'v24-02' into release
2024-04-05 15:19:34 +01:00
Dan Brown
3e23f456fe
CSS: Removed redundant calc
2024-04-05 15:18:58 +01:00
Dan Brown
b9e2d33ed4
Page Content: Aligned max-width across viewer and editors
...
For #4916
2024-04-05 15:06:08 +01:00
Dan Brown
19f78dbe6c
WYSIWYG descriptions: Allowed anchor target attrs
...
Allowed since this is a control in the editor UI, but would previously
be stripped by editor config & server-side filtering.
For #4925
2024-04-03 16:46:53 +01:00
Dan Brown
a33dbcb04a
References: Fixed references count/list recycle bin interaction
...
Count and reference list would get references then attempt to load
entities, which could fail to load if in the recycle bin.
This updates the queries to effectively ignore references for items we
can't see (in recycle bin).
Added test to cover.
For #4918
2024-04-01 17:08:53 +01:00
Dan Brown
58f6219cb3
Code: Fixed highlighting issues when no code language set
...
For #4917
2024-03-31 14:33:08 +01:00
Matt Moore
18269f2c60
Add LDAP_TLS_CACERTFILE to example env file
2024-03-27 13:17:25 +00:00
Matt Moore
06ef95dc5f
Change to allow override of CA CERT for LDAPS
...
Using the env LDAP_TLS_CACERTFILE to set a file to use to override
the CA CERT used to verify LDAPS connections. This is to make this
process easier for docker use.
2024-03-26 16:30:04 +00:00
Martin Rys
76c7166268
Use zopfli for oxipng for extra 3KB~
2024-03-26 12:31:54 +01:00
Dan Brown
6c063f424c
Merge pull request #4907 from BookStackApp/licensing_update
...
Dependency Licensing Improvements
2024-03-24 12:01:01 +00:00
Dan Brown
3345680f7d
Licensing: Added license gen as composer command
2024-03-24 11:58:31 +00:00
Dan Brown
a2fd80954b
Licensing: Added links and tests for new licenses endpoint
...
For #4907
2024-03-23 22:04:18 +00:00
Dan Brown
0c524c7c8f
Licensing: Added licenses app view
...
Extracted many methods to a new "MetaController" in the process.
2024-03-23 16:31:13 +00:00
Martin Rys
5f306a11e7
15KB lossless optimization via oxipng(PNG) and svgo(SVG)
2024-03-23 16:33:11 +01:00
Dan Brown
ed956a4cf0
Licensing: Updated license gen scripts to share logic
2024-03-23 15:33:05 +00:00
Dan Brown
55a2a6db88
Licensing: Added script to gen info for JS packages
2024-03-23 15:19:58 +00:00
Dan Brown
f789359886
Licensing: Added script to build PHP library licensing information
2024-03-22 14:44:23 +00:00
Dan Brown
c221a00e1e
Migrations: Added prefix support to schema inspection
2024-03-19 10:30:26 +00:00
Dan Brown
83913af68b
Merge branch 'development' into C0rn3j/development
2024-03-18 14:35:16 +00:00
Dan Brown
fa5395a02b
Meta: Updated workflows, licence and readme
...
- Updated license year
- Updated some readme wording, removed lapsed sponsor, Removed twitter
link, added link to alt github source
- Update cache action for GH workflows since GH was complaining
2024-03-18 14:26:31 +00:00
Dan Brown
85dd71507e
Merge pull request #4903 from BookStackApp/laravel10
...
Framework: Upgrade from Laravel 9 to 10
2024-03-17 17:00:03 +00:00
Dan Brown
28d6292278
Framework: Addressed deprecations
2024-03-17 16:52:19 +00:00
Dan Brown
b4b84f81a0
Deps: Updated custom symfony/mailer package
...
Done during #4903 work
2024-03-17 16:32:59 +00:00
Dan Brown
2345fd4677
Deps: Updated intervention library from 2 to 3
...
Major version change, required some changes to API
For #4903
2024-03-17 16:03:12 +00:00
Dan Brown
3250fc732c
Testing: Updated PHPUnit from 9 to 10
...
For #4903
2024-03-17 15:41:11 +00:00
Dan Brown
45d52f27ae
Migrations: Updated with type hints instead of php doc
...
Also updated code to properly import used facades.
For #4903
2024-03-17 15:29:09 +00:00
Dan Brown
d6b7717985
Framework: Fixed issues breaking tests
...
For #4903
2024-03-16 15:26:34 +00:00
Dan Brown
794671ef32
Framework: Upgrade from Laravel 9 to 10
...
Following Laravel guidance and GitHub diff.
Not yet in tested state with app-specific changes made.
2024-03-16 15:12:14 +00:00
Martin Rys
70479df5dc
Dockerfile: Don't cache 50MB of lists and use a single layer, make it pretty
2024-03-12 14:04:33 +01:00
Dan Brown
07761524af
Dev: Fixed flaky OIDC test, updated dev version
2024-03-12 12:08:26 +00:00
Dan Brown
2ed931aeed
Updated minimum PHP version from 8.0 to 8.1
...
For #4893
2024-03-12 11:29:51 +00:00
Dan Brown
b310e87e4c
Updated version and assets for release v24.02.2
2024-03-11 14:30:48 +00:00
Dan Brown
425baf9d6e
Merge branch 'development' into release
2024-03-10 18:46:05 +00:00
Dan Brown
0d3de40459
Updated translator attribution before release v24.02.1
2024-03-10 18:45:32 +00:00
Dan Brown
3619f79ca6
Updated translations with latest Crowdin changes ( #4877 )
2024-03-10 18:36:12 +00:00
Dan Brown
c9d9ad10f2
Merge branch 'totp-patch' into development
2024-03-10 18:32:02 +00:00
Dan Brown
d5a689366c
MFA: Copied autocomplete changes from totp to backup codes
...
Also added tests to cover.
Related to #4849
2024-03-10 18:31:01 +00:00
Dan Brown
bc24a1360f
TOTP: Added one-time-code autofill
...
During review of #4849
Tested on Firefox & Chromium desktop.
2024-03-10 18:24:42 +00:00
Dan Brown
77f125208e
Page nav: Fixed nbsp being represented as nothing
...
Now represented in page nav using a normal space to avoid complete
removal of space.
Added test to cover.
For #4836
2024-03-09 15:52:09 +00:00
Dan Brown
b7d4bd5bce
Breadcrumbs: Set book/shelf lists to use name ordering
...
Previously in database order (id) which is not predictable
nor parsable for users.
For #4876
2024-03-09 15:24:44 +00:00
Dan Brown
5a5f0b8de9
Page Display: Fixed highlighting for elements in nested details
...
For #4878
2024-03-09 15:07:51 +00:00
Dan Brown
825c369ad9
Updated version and assets for release v24.02
2024-02-28 13:35:36 +00:00
Dan Brown
10bab70438
Merge branch 'development' into release
2024-02-28 13:35:23 +00:00
Dan Brown
8e01345f14
Entity popular queriy: Loaded parents for selector breadcrumbs
2024-02-28 13:20:24 +00:00
Dan Brown
f5f96f84e7
404: Fixed entity list issue with entity with non-visible parent
...
Adds our mixed entity list loader to popular queries for more efficient
loading.
2024-02-28 13:08:06 +00:00
Dan Brown
2009d4d6a8
Translations: Updated translator attribution, added serbian to locales
2024-02-28 12:29:09 +00:00
Dan Brown
4ccfde6d02
Updated translations with latest Crowdin changes ( #4803 )
2024-02-28 12:19:36 +00:00
Dan Brown
c4279c9697
Merge branch 'v23-12' into development
...
Updated composer deps again to take lock file to current
2024-02-28 12:11:39 +00:00
Dan Brown
350e0b281b
Updated version and assets for release v23.12.3
2024-02-26 12:05:02 +00:00
Dan Brown
08805ea3c8
Merge branch 'v23-12' into release
2024-02-26 12:04:25 +00:00
Dan Brown
48ea0bc291
Deps: Updated composer packages
2024-02-26 11:17:36 +00:00
Dan Brown
a75d5b8bc1
Sessions: Prevent image urls being part of session URL history
...
To prevent them being considered for redirects.
Includes test to cover.
For #4863
2024-02-22 11:23:59 +00:00
Dan Brown
055bbf17de
Theme System: Added AUTH_PRE_REGISTER logical event
...
Included tests to cover.
Manually tested on standard and social (GitHub) auth.
For #4833
2024-02-21 15:30:29 +00:00
Dan Brown
be3423a16e
Deps: Updated npm & composer deps
...
Avoided updating markdown-it package to 14 for now since it would cause
bundle size to inflate. Don't think ESBuild is properly tree shaking
"entities" sub package which inflates size.
(Copied this message from december deps update).
2024-02-20 18:21:59 +00:00
Dan Brown
bbb41e8b5c
Breadcrumbs: Fixed bad dropdown menu placement at small sizes
...
For #4824
2024-02-20 18:03:32 +00:00
Dan Brown
c290d01adb
WYSIWYG: Improved a range of text direction/alignment scenarios
...
- Removes 'span' from being a valid part of alignment formats so it's
not used to align contents, since it's going to mostly be an inline
format, wheras you'd really want alignment on the parent block.
- Adds direction cleaning to all direction change events, to remove
direction styles and child direction controls which may complicate
matters and cause direction changes not to show.
- Makes text direction controls work with table cell range selections,
which TinyMCE does not consider by default, via manual handling.
For #4843
2024-02-20 14:15:22 +00:00
Dan Brown
16327cf40c
Cover images: Updated description wording to better detail size
...
To make it clearer that the advised size may not be fixed.
For #4748
2024-02-19 20:26:04 +00:00
Dan Brown
999d41a7f5
WYSIWYG: Updated code handling to respect direction
...
Specifically supports "dir" attribute being on top level "pre" element,
and handles application/switching of this within the editor.
For #4809
2024-02-18 17:55:56 +00:00
Dan Brown
9ff9b9c805
Merge pull request #4850 from BookStackApp/table_improvements
...
Range of WYSIWYG Editor Table Handling Improvements
2024-02-17 16:40:27 +00:00
Dan Brown
8f1d8cef9e
Tables: Added dynamic table header toggle
...
Shows in table context toolbar when in the first row.
2024-02-17 16:28:13 +00:00
Dan Brown
8688ad99b6
Tables: Added menu items to clear formatting and sizes
2024-02-16 14:38:30 +00:00
Dan Brown
ed0718d3f7
Tables: Added fix to ensure proper clear formatting on cell selections
2024-02-15 16:29:37 +00:00
Mattic
c53c9f6866
Turned off autocomplete for TOTP codes
...
Small QOL change to turn off autocomplete when entering TOTP codes since they're one time use only.
2024-02-15 09:22:35 -06:00
Dan Brown
3fdee6a93b
Tables: Updated selection style to avoid scroll overflow
...
Fixes #4844
2024-02-15 14:40:27 +00:00
Dan Brown
cafea1c02d
Updated tinymce from 6.7.2 to 6.8.3
2024-02-15 14:13:08 +00:00
Dan Brown
32e20e5059
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2024-02-14 10:36:36 +00:00
Dan Brown
c66b8ad842
RTL: Fixed pagination not responding to RTL layout
...
For #4808
2024-02-14 10:36:00 +00:00
Dan Brown
c9a5c29abf
Merge pull request #4794 from BookStackApp/en_tweaks
...
Text: Tweaks to EN text for consistency/readability
2024-02-13 14:13:29 +00:00
Dan Brown
12daa1c2b9
Header: Fixed mobile menu falling out of header
...
Changed button to be within-DOM rather than absolute positioned.
Also improves RTL handling by showing menu on the right side.
Fixes #4841
2024-02-13 14:00:34 +00:00
Dan Brown
ff8daad22b
Merge pull request #4827 from BookStackApp/query_revamp
...
Update of entity loading to be more efficient and avoid global addSelects
2024-02-11 15:56:32 +00:00
Dan Brown
1ea2ac864a
Queries: Update API to align data with previous versions
...
Ensures fields returned match API docs and previous versions of
BookStack where we were accidentally returning more fields than
expected.
Updates tests to cover many of these.
Also updated clockwork to ignore image requests for less noisy
debugging.
Also updated chapter page query to not be loading all page data, via new
query in PageQueries.
2024-02-11 15:42:37 +00:00
Dan Brown
ed9c013f6e
Queries: Addressed failing test cases from recent changes
2024-02-08 17:18:03 +00:00
Dan Brown
ed21a6d798
Queries: Updated old use-specific entity query classes
...
- Updated name to align, and differentate from new 'XQueries' clases.
- Removed old sketchy base class with app resolving workarounds, to a
proper injection-based approach.
- Also fixed wrong translation text used in PageQueries.
2024-02-08 16:39:59 +00:00
Dan Brown
b77ab6f3af
Queries: Moved out or removed some class-level items
...
Also ran auto-removal of unused imports across app folder.
2024-02-07 22:41:45 +00:00
Dan Brown
546cfb0dcc
Queries: Extracted static page,chapter,shelf queries to classes
2024-02-07 21:58:27 +00:00
Dan Brown
483410749b
Queries: Updated all app book static query uses
2024-02-07 16:37:36 +00:00
Dan Brown
c95f4ca40f
Queries: Migrated revision repo queries to new class
2024-02-07 15:09:16 +00:00
Dan Brown
222c665018
Queries: Extracted PageRepo queries to own class
...
Started new class for PageRevisions too as part of these changes
2024-02-05 17:35:49 +00:00
Dan Brown
8e78b4c43e
Queries: Extracted chapter repo queries to class
...
Updated query classes to align to interface for common aligned
operations.
Extracted repeated string-identifier-based finding from page/chapter
repos to shared higher-level entity queries.
2024-02-05 15:59:20 +00:00
Dan Brown
05ac0fcd1d
Merge pull request #4828 from shashinma/development
...
Update PWA manifest orientation from 'portrait' to 'any'
2024-02-05 11:54:32 +00:00
Mikhail Shashin
9fa68fd8ab
Update PWA manifest orientation to any
...
Changed the orientation settings in PwaManifestBuilder.php from 'portrait' to 'any'. This allows the PWA to adjust to any screen orientation, enhancing user flexibility.
2024-02-05 04:28:22 +03:00
Dan Brown
3886aedf54
Queries: Migrated bookshelf repo queries to new class
2024-02-04 19:32:19 +00:00
Dan Brown
1559b0acd1
Queries: Migrated BookRepo queries to new query class
...
Also moved to a non-static approach, and added a high-level class to
allow easy access to all other entity queries, for use in mixed-entity
scenarios and easier/simpler injection.
2024-02-04 17:35:16 +00:00
Dan Brown
a70ed81908
DB: Started update of entity loading to avoid global selects
...
Removes page/chpater addSelect global query, to load book slug, and
instead extracts base queries to be managed in new static class, while
updating specific entitiy relation loading to use our more efficient
MixedEntityListLoader where appropriate.
Related to #4823
2024-02-04 14:39:36 +00:00
Dan Brown
2460e7c56e
Plonker Remediation: Removed dd line left in from debugging
2024-02-01 12:57:26 +00:00
Dan Brown
779f09bff6
Merge branch 'chapter-templates' into development
2024-02-01 12:55:38 +00:00
Dan Brown
43a72fb9a5
Default chapter templates: Added tests, extracted repo logic
...
- Updated existing book tests to be generic to all default templates,
and updated with chapter testing.
- Extracted repeated logic in the Book/Chapter repos to be shared in the
BaseRepo.
Review of #4750
2024-02-01 12:51:47 +00:00
Dan Brown
4137cf9c8f
Default chapter templates: Updated api docs and tests
...
Also applied minor tweaks to some wording and logic.
During review of #4750
2024-02-01 12:22:16 +00:00
Dan Brown
16af833124
Merge pull request #4815 from BookStackApp/comment_wysiwyg
...
Comment WYSIWYG Inputs
2024-01-31 16:57:36 +00:00
Dan Brown
47f082c085
Comments: Added HTML filter test, fixed placeholder in dark mode
2024-01-31 16:47:58 +00:00
Dan Brown
fee9045dac
Comments: Removed remaining uses of redundant 'text' field
...
Opened #4821 to remove the DB field in a few releases time.
2024-01-31 16:35:58 +00:00
Dan Brown
06901b878f
Comments: Added HTML filter on load, tinymce elem filtering
...
- Added filter on load to help prevent potentially dangerous comment
HTML in DB at load time (if it gets passed input filtering, or is
existing).
- Added TinyMCE valid_elements for input wysiwygs, to gracefully degrade
content at point of user-view, rather than surprising the user by
stripping content, which TinyMCE would show, post-save.
2024-01-31 16:20:22 +00:00
Dan Brown
e9a19d5878
Comments: Added wysiwyg link selector, updated tests, removed command
...
- Updated existing tests with recent back-end changes, mainly to use
HTML data.
- Removed old comment regen command that's no longer required.
2024-01-31 14:22:04 +00:00
Dan Brown
adf0baebb9
Comments: Added back-end HTML support, fixed editor focus
...
Also fixed handling of editors when moved in DOM, to properly remove
then re-init before & after move to avoid issues.
2024-01-30 15:16:58 +00:00
Dan Brown
5c92b72fdd
Comments: Added input wysiwyg for creating/updating comments
...
Not supporting old content, existing HTML or updating yet.
2024-01-30 14:27:09 +00:00
Dan Brown
24e6dc4b37
WYSIWYG: Altered how custom head added to editors
...
Updated to parse and add as DOM nodes instead of innerHTML to avoid
triggering an update of all head content, which would throw warnings in
chromium in regard to setting the base URI.
For #4814
2024-01-30 11:38:47 +00:00
Sascha
4a8f70240f
added template to chapter API controller
2024-01-29 19:59:03 +01:00
Sascha
64c783c6f8
extraded template form to own file and changed translations
2024-01-29 19:55:39 +01:00
Sascha
2a849894be
Update entities.php
...
changed text of `pages_delete_warning_template` to include chapters
2024-01-29 19:37:59 +01:00
Dan Brown
415663a9bc
Merge pull request #4804 from BookStackApp/oidc_pkce
...
Add OIDC PKCE functionality
2024-01-27 18:11:19 +00:00
Dan Brown
1dc094ffaf
OIDC: Added testing of PKCE flow
...
Also compared full flow to RFC spec during this process
2024-01-27 16:41:15 +00:00
Dan Brown
3e9e196cda
OIDC: Added PKCE functionality
...
Related to #4734 .
Uses core logic from League AbstractProvider.
2024-01-25 14:24:46 +00:00
Dan Brown
5903823eed
Merge pull request #4796 from BookStackApp/v23-12
...
Merge in v23.12.2 changes
2024-01-24 10:38:14 +00:00
Dan Brown
9441e32c69
Updated version and assets for release v23.12.2
2024-01-24 10:37:20 +00:00
Dan Brown
530fc37067
Merge branch 'v23-12' into release
2024-01-24 10:36:52 +00:00
Dan Brown
8fb9d9d4c2
Dependancies: Updated PHP deps via composer
2024-01-24 10:27:09 +00:00
Dan Brown
eff7aa0f73
Updated translator attribution before v23.12.2 release
2024-01-24 10:25:24 +00:00
Dan Brown
14ecb19b05
Merged l10n_development into v23-12
...
Squash merge
Closes #4779
2024-01-24 10:23:09 +00:00
Sascha
0fc02a2532
fixed error from phpcs
2024-01-23 22:37:15 +01:00
Sascha
8c6b116472
Update TrashCan.php
...
remove duplicate call of $page->forceDelete();
2024-01-23 21:37:00 +01:00
Dan Brown
69c8ff5c2d
Entity selector: Fixed initial load overwriting initial search
...
This changes how initial searches can be handled via config rather than
specific action so they can be considered in how the initial data load
is done, to prevent the default empty state loading and overwriting the
search data if it lands later (which was commonly likely).
For #4778
2024-01-23 15:42:13 +00:00
Dan Brown
788327fffb
Attachment List: Fixed broken ctrl-click functionality
...
Fixes #4782
2024-01-23 15:01:07 +00:00
Dan Brown
655ae5ecae
Text: Tweaks to EN text for consistency/readability
...
As suggested by Tim in discord chat.
2024-01-23 12:31:44 +00:00
Dan Brown
d5a91d0d35
Merge pull request #4758 from BookStackApp/range_request_support
...
Range request support
2024-01-17 11:10:38 +00:00
Dan Brown
369e499dce
Updated version and assets for release v23.12.1
2024-01-16 12:16:06 +00:00
Dan Brown
655815de6d
Merge branch 'development' into release
2024-01-16 12:15:50 +00:00
Dan Brown
a4fd825fe2
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2024-01-16 12:14:44 +00:00
Dan Brown
496b4264d9
Updated translator attribution
2024-01-16 12:14:25 +00:00
Dan Brown
57284bb869
Updated translations with latest Crowdin changes ( #4747 )
2024-01-16 12:10:22 +00:00
Dan Brown
adf1806fea
Chapters API: Added missing book_slug field
...
Was removed during previous changes, but reflected in response examples.
This adds into all standard single chapter responses.
For #4765
2024-01-16 12:06:13 +00:00
Dan Brown
2dc454d206
Uploads: Explicitly disabled s3 streaming in config
...
This was the default option anyway, just adding here for
better visibility of this being set.
Can't enable without issues as the app will attempt to seek which does
not work for these streams. Also have not tested on non-s3, s3-like
systems.
2024-01-15 13:36:04 +00:00
Dan Brown
c1552fb799
Attachments: Drag and drop video support
...
Supports dragging and dropping video attahchments to embed them in the
editor as HTML video tags.
2024-01-15 11:57:20 +00:00
Dan Brown
91d8d6eaaa
Range requests: Added test cases to cover functionality
...
Fixed some found issues in the process.
2024-01-14 15:50:00 +00:00
Dan Brown
afbbcafd44
Readme: Updates sponsor list
2024-01-10 14:33:49 +00:00
Dan Brown
d94762549a
Range requests: Added basic HTTP range support
2024-01-07 20:34:03 +00:00
Dan Brown
b4d9029dc3
Range requests: Extracted stream output handling to new class
2024-01-07 14:03:13 +00:00
Sascha
70bfebcd7c
Added Default Templates for Chapters
2024-01-01 21:58:49 +01:00
Dan Brown
457adc1fee
Updated version and assets for release v23.12
2023-12-29 12:16:07 +00:00
Dan Brown
e86a90967e
Merge branch 'development' into release
2023-12-29 12:15:34 +00:00
Dan Brown
b191d8f99f
Updated translator attribution before release v23.12
2023-12-29 12:08:39 +00:00
Dan Brown
c017f5bed1
Updated translations with latest Crowdin changes ( #4658 )
2023-12-28 17:49:38 +00:00
Dan Brown
5b1929a39a
Languages: Added Finnish to language list
2023-12-28 15:24:51 +00:00
Dan Brown
02d94c8798
Permissions: Updated generation querying to be more efficient
...
Query of existing entity permissions during view permission generation
could cause timeouts or SQL placeholder limits due to massive whereOr
query generation, where an "or where" clause would be created for each
entity type/id combo involved, which could be all within 20 books.
This updates the query handling to use a query per type involved, with
no "or where"s, and to be chunked at large entity counts.
Also tweaked role-specific permission regen to chunk books at
half-previous rate to prevent such a large scope being involved on each
chunk.
For #4695
2023-12-23 13:35:57 +00:00
Dan Brown
88ee33ee49
Deps: Updated php depenencies via composer
2023-12-22 15:48:46 +00:00
Dan Brown
529f7bd1bc
Merge pull request #4729 from BookStackApp/description_wysiwyg
...
Simple WYSIWYG for description fields and comments
2023-12-22 15:28:13 +00:00
Dan Brown
3668949705
Input WYSIWYG: Fixed up some dark mode elements
2023-12-22 15:16:06 +00:00
Dan Brown
7cd0629a75
Input WYSIWYG: Updated exports to handle HTML descriptions
2023-12-22 14:57:20 +00:00
Dan Brown
fb3cfaf7c7
Input WYSIWYG: Updated API examples to align with changes
2023-12-22 14:37:48 +00:00
Dan Brown
2a7a81e749
Input WYSIWYG: Updated API testing, fixed description set issue
...
Fixed issue where an existing description_html field would not be
updated via 'description' input.
2023-12-22 13:17:23 +00:00
Dan Brown
00ae04e0bd
Input WYSIWYG: Updated API to show/accept html descriptions
...
Also aligned books, shelves and chapters to return description content
and some relations (where not breaking API) in create/update responses
also so that information can be seen direct from that input in a
request.
API docs and tests not yet updated to match.
2023-12-21 13:23:52 +00:00
Dan Brown
ed5d67e609
Input WYSIWYG: Aligned newline handling with old descriptions
...
To ensure consistenent behaviour before/after changes.
Added tests to cover.
2023-12-20 17:40:58 +00:00
Dan Brown
a21ca44633
Input WYSIWYG: Fixed existing tests, fixed empty description handling
2023-12-20 17:21:09 +00:00
Dan Brown
7fd6d5b2cc
Input WYSIWYG: Updated tests, Added simple html limiting
2023-12-19 15:10:29 +00:00
Dan Brown
077b9709d4
Input WYSIWYG: Added testing for description references
2023-12-19 12:55:51 +00:00
Dan Brown
2fbed3919b
Input WYSIWYG: Added dynamic options for entity selector popups
...
So that multiple elements on the page can share the same popup, with
different search options.
2023-12-19 12:09:57 +00:00
Dan Brown
c07aa056c2
Input WYSIWYG: Updated UpdateUrlCommand, Added chapter HTML display
2023-12-18 18:31:16 +00:00
Dan Brown
bc354e8b12
Input WYSIWYG: Updated reference link updating for descriptions
2023-12-18 18:12:36 +00:00
Dan Brown
307fae39c4
Input WYSIWYG: Added reference store & fetch handling
...
For book, shelves and chapters.
Made much of the existing handling generic to entity types.
Added new MixedEntityListLoader to help load lists somewhat efficiently.
Only manually tested so far.
2023-12-18 16:23:40 +00:00
Dan Brown
c622b785a9
Input WYSIWYG: Added description_html field, added store logic
...
Rolled out HTML editor field and store logic across all target entity
types. Cleaned up WYSIWYG input logic and design.
Cleaned up some injected classes while there.
2023-12-17 15:02:15 +00:00
Dan Brown
569542f0bb
Input WYSIWYG: Added compontent and rough logic to book form
...
Just as a draft for prototyping and playing around to get things
started.
2023-12-16 14:48:35 +00:00
Dan Brown
fc2e8ed315
Merge pull request #4728 from BookStackApp/friendlier_buttons
...
Design: Updated buttons to be a bit friendlier
2023-12-16 14:04:57 +00:00
Dan Brown
0c4dd7874c
Design: Updated buttons to be a bit friendlier
...
Old all-caps button design made them a bit angry, and kinda odd and
outdated. This updates them to use their original source text casing
(which may help for translation variations) while being a bit rounder
with a better defined shadow for outline buttons.
2023-12-16 14:03:12 +00:00
Dan Brown
7250671889
Merge pull request #4727 from BookStackApp/editor_video_alignment
...
WYSWIYG: Allowed video/embed alignment controls
2023-12-16 12:32:52 +00:00
Dan Brown
5395ca2f00
WYSWIYG: Allowed video/embed alignment controls
...
Required a lot of working around TinyMCE since it added a
preview/wrapper element in the editor which complicates things.
Added view new "fixes.js" file so large hacks to default TinyMCe
functionality are kept in one place.
2023-12-16 12:22:40 +00:00
Luke T. Shumaker
c76d12d1de
Oidc: Properly query the UserInfo Endpoint
...
BooksStack's OIDC Client requests the 'profile' and 'email' scope values
in order to have access to the 'name', 'email', and other claims. It
looks for these claims in the ID Token that is returned along with the
Access Token.
However, the OIDC-core specification section 5.4 [1] only requires that
the Provider include those claims in the ID Token *if* an Access Token is
not also issued. If an Access Token is issued, the Provider can leave out
those claims from the ID Token, and the Client is supposed to obtain them
by submitting the Access Token to the UserInfo Endpoint.
So I suppose it's just good luck that the OIDC Providers that BookStack
has been tested with just so happen to also stick those claims in the ID
Token even though they don't have to. But others (in particular:
https://login.infomaniak.com ) don't do so, and require fetching the
UserInfo Endpoint.)
A workaround is currently possible by having the user write a theme with a
ThemeEvents::OIDC_ID_TOKEN_PRE_VALIDATE hook that fetches the UserInfo
Endpoint. This workaround isn't great, for a few reasons:
1. Asking the user to implement core parts of the OIDC protocol is silly.
2. The user either needs to re-fetch the .well-known/openid-configuration
file to discover the endpoint (adding yet another round-trip to each
login) or hard-code the endpoint, which is fragile.
3. The hook doesn't receive the HTTP client configuration.
So, have BookStack's OidcService fetch the UserInfo Endpoint and inject
those claims into the ID Token, if a UserInfo Endpoint is defined.
Two points about this:
- Injecting them into the ID Token's claims is the most obvious approach
given the current code structure; though I'm not sure it is the best
approach, perhaps it should instead fetch the user info in
processAuthorizationResponse() and pass that as an argument to
processAccessTokenCallback() which would then need a bit of
restructuring. But this made sense because it's also how the
ThemeEvents::OIDC_ID_TOKEN_PRE_VALIDATE hook works.
- OIDC *requires* that a UserInfo Endpoint exists, so why bother with
that "if a UserInfo Endpoint is defined" bit? Simply out of an
abundance of caution that there's an existing BookStack user that is
relying on it not fetching the UserInfo Endpoint in order to work with
a non-compliant OIDC Provider.
[1]: https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims
2023-12-15 14:11:48 -07:00
Dan Brown
56d07f1909
Users API: Fixed sending invite when using form requests
...
- Cast send_invite value in cases where it might not have been a boolean,
which occurs on non-JSON requests.
- Added test to cover.
- Updated API docs to mention and shown boolean usage.
2023-12-13 15:13:54 +00:00
Dan Brown
4896c4047f
Merge pull request #4721 from BookStackApp/default-templates
...
Continued: Default book templates
2023-12-12 16:06:35 +00:00
Dan Brown
3af07addf6
Default templates: Fixed syntax for php8.0, added test
...
Null accessor is akward in php8.0 and throws warnings, so removed.
Added test to check template assingment handling on page delete.
2023-12-12 15:59:12 +00:00
Dan Brown
2f3806244c
Default templates: Added permission checks to selector test
2023-12-12 15:41:56 +00:00
Dan Brown
2081a783f3
Default templates: Cleaned up ux, added case for added endpoint
...
Cleaned up and updated page picker a bit, allowing longer names to show,
clicking through to item without triggering popup, and updated to use
hidden attributes instead of styles.
Added phpunit tests to cover supporting entity-selector-templates
endpoint.
2023-12-12 15:38:09 +00:00
Dan Brown
d75eb06777
Default templates: Added tests to cover functionality
...
Included new helper in Test PermissionProvider to set app to public,
since that's a common test scenario.
2023-12-12 15:04:40 +00:00
Dan Brown
4017048555
Page Templates: Changed template field name, added API support
2023-12-12 12:14:00 +00:00
Dan Brown
7ebe7d4e58
Default templates: Added page picker and working forms
...
- Adapted existing page picker to be usable elsewhere.
- Added endpoint for getting templates for entity picker.
- Added search template filter to support above.
- Updated book save handling to check/validate submitted template.
- Allows non-visible pages to flow through the save process, if not
being changed.
- Updated page deletes to handle removal of default usage on books.
- Tweaked wording and form styles to suit.
- Updated migration to explicity reflect default value.
2023-12-11 15:58:27 +00:00
Dan Brown
d61f42a377
Default Templates: Started review and updates from PR code
2023-12-11 12:33:20 +00:00
Dan Brown
968bc8cdf3
Merge branch 'development' into default-templates
2023-12-11 11:41:43 +00:00
Dan Brown
c13fd2a9e6
PHPStan: Fixed larastan loading and address some level2 issues
2023-12-10 14:58:05 +00:00
Dan Brown
45ce7a7126
URL Handling: Removed referrer-based redirect handling
...
Swapped back handling to instead be pre-determined instead of being
based upon session/referrer which would cause inconsistent results when
referrer data was not available (redirect to app-loaded images/files).
To support, this adds a mechansism to provide a URL through request
data.
Also cleaned up some imports in code while making changes.
Closes #4656 .
2023-12-10 12:37:21 +00:00
Dan Brown
11955e270c
Depenencies: Updated NPM packages
...
Avoided updating markdown-it package to 14 for now since it would cause
bundle size to inflate. Don't think ESBuild is properly tree shaking
"entities" sub package which inflates size.
2023-12-09 10:49:28 +00:00
Dan Brown
33374524bf
Dependencies: Updated composer PHP deps
2023-12-09 10:05:23 +00:00
Dan Brown
8cbaa3e27c
SAML2: Fixed non-spec point of logout, Improved redirect location
...
This changes the point-of-logout to be within the initial part of the
SAML logout flow, as per 5.3.2 of the SAML spec, processing step 2.
This also improves the logout redirect handling to use the global
redirect suggestion so that auto-login handling is properly taken into
account.
Added tests to cover.
Manual testing performed against keycloak.
For #4713
2023-12-08 18:42:13 +00:00
Dan Brown
4c0b7f3123
Merge pull request #4714 from BookStackApp/oidc_logout
...
OIDC RP-Initiated logout
2023-12-07 18:00:32 +00:00
Dan Brown
7312300d53
OIDC: Update example env option to reflect correct default
2023-12-07 17:59:48 +00:00
Dan Brown
81d256aebd
OIDC RP Logout: Fixed issues during testing
...
- Disabled by default due to strict rejection by auth systems.
- Fixed issue when autoloading logout URL, but not provided in
autodiscovery response.
- Added proper handling for if the logout URL contains a query string
already.
- Added extra tests to cover.
- Forced config endpoint to be used, if set as a string, instead of
autodiscovery endpoint.
2023-12-07 17:45:17 +00:00
Dan Brown
a72e0fee70
Tests: Fixed debug test to work with social class changes
2023-12-06 16:57:15 +00:00
Dan Brown
f32cfb4292
OIDC RP Logout: Added autodiscovery support and test cases
2023-12-06 16:41:50 +00:00
Dan Brown
bba7dcce49
Auth: Refactored OIDC RP-logout PR code, Extracted logout
...
Extracted logout to the login service so the logic can be shared instead
of re-implemented at each stage. For this, the SocialAuthService was
split so the driver management is in its own class, so it can be used
elsewhere without use (or circular dependencies) of the
SocialAuthService.
During review of #4467
2023-12-06 13:49:53 +00:00
Dan Brown
cc10d1ddfc
Merge branch 'fix/oidc-logout' into development
2023-12-06 12:14:43 +00:00
Dan Brown
0254527bd9
RTL: Made a range of fixes & improvments for RTL text
...
- Updated HTML exports to have auto direction to properly react to RTL
text when in the content.
- Fixed RTL spacing issues in new editor design changes.
- Fixed pointer arrow being angled wrong on RTL languages.
Related to #4645
2023-12-05 18:53:48 +00:00
Dan Brown
11853361b0
SAML2: Included parsed groups in dump data
...
Updated code style of class while there.
Removed redundant check and string translation used.
For #4706
2023-12-03 19:36:03 +00:00
Dan Brown
596f7314cd
Merge branch 'v23-10' into development
2023-12-03 18:57:07 +00:00
Dan Brown
1011d61713
Merge pull request #4688 from BookStackApp/include-parser
...
New include tag parser
2023-11-27 21:54:18 +00:00
Dan Brown
652d5417bf
Includes: Added back support for parse theme event
...
Managed to do this in an API-compatible way although resuling output may
differ due to new dom handling in general, although user content is used
inline to remain as comptable as possible.
2023-11-27 21:39:43 +00:00
Dan Brown
b569827114
Includes: Added ID de-duplicating and more thorough clean-up
2023-11-27 20:16:27 +00:00
Dan Brown
71c93c8878
Includes: Switched page to new system
...
- Added mulit-level depth parsing.
- Updating usage of HTML doc in page content to be efficient.
- Removed now redundant PageContentTest cases.
- Made some include system fixes based upon testing.
2023-11-27 19:54:47 +00:00
Dan Brown
4874dc1304
Includes: Updated logic regarding parent block els, added tests
...
Expanded tests with many more cases, and added fixes for failed
scenarios.
Updated logic to specifically handling parent <p> tags, and now assume
compatibility with parent block types elswhere to allow use in a
variety of scenarios (td, details, blockquote etc...).
2023-11-25 17:32:00 +00:00
Dan Brown
c88eb729a4
Includes: Added block-level handling to new include system
...
Implements block promoting to body (including position choosing based
upon likely tag position within parent) and block splitting where we're
only a single depth down from the body child.
2023-11-24 23:39:16 +00:00
Dan Brown
75936454cc
Includes: Developed to get new system working with inline includes
...
Adds logic for locating and splitting text nodes.
Adds specific classes to offload tag/content specific logic.
2023-11-23 14:29:07 +00:00
Dan Brown
04d21c8a97
Includes: Started foundations for new include tag parser
2023-11-22 22:14:28 +00:00
Dan Brown
5d08f7cf14
Updated version and assets for release v23.10.4
2023-11-20 14:19:46 +00:00
Dan Brown
8744eb2d62
Merge branch 'v23-10' into release
2023-11-20 14:02:23 +00:00
Dan Brown
15d7161428
Images: Prevented base64 extraction without permission
...
Also added content sniffing as an extra check.
Added tests to cover.
2023-11-20 13:32:31 +00:00
Dan Brown
9b1f820596
Images: Forced intervention loading via specific method
...
Updated image loading for intervention library to be via a specific
'initFromBinary' method to avoid being overly accepting of input types
and mechansisms.
For CVE-2023-6199
2023-11-19 16:34:29 +00:00
Dan Brown
2fb873f7ef
Favicon: Moved resizing to specific resizer class
2023-11-19 15:57:19 +00:00
Dan Brown
22a9cf1e48
LogicalTheme: Added events for registering web routes
...
Added to allow easier registration of routes.
Added for normal web and authed routes.
Included testing to cover.
2023-11-17 13:45:57 +00:00
Dan Brown
37a17e858a
HTML: Tweaked output from full HtmlDocument
...
Saves specifically the document element on output to HTML, since this
results in just the outer HTML being saved while not including the extra
XML tags which would show up before with the changes to force utf8
usage.
2023-11-14 17:23:05 +00:00
Dan Brown
eab9c1081e
Merge pull request #4673 from BookStackApp/html_doc_alignment
...
HTML: Aligned and standardised DOMDocument usage
2023-11-14 17:22:30 +00:00
Dan Brown
db7b11fe93
HTML: Aligned and standardised DOMDocument usage
...
Adds a thin wrapper for DOMDocument to simplify and align usage within
all areas of BookStack.
Also means we move away from old depreacted mb_convert_encoding usage.
Closes #4638
2023-11-14 15:46:32 +00:00
Dan Brown
3a6f50e668
Merge pull request #4661 from BookStackApp/tinymce_update
...
WYSIWYG: Updated TinyMCE from 6.5.1 to 6.7.2
2023-11-14 13:15:32 +00:00
Dan Brown
76417efd6f
Merge branch 'Man-in-Black-patch-1' into development
2023-11-14 10:40:30 +00:00
Dan Brown
d41fd7a8dd
Notifications: Review of PR to include path path #4629
...
- Merged book and chapter name items to a single page path list item
which has links to parent page/chapter.
- Added permission filtering to page path elements.
- Added page path to also be on comment notifications.
- Updated testing to cover.
- Added new Message Line objects to support.
Done during review of #4629
2023-11-14 10:38:34 +00:00
Sascha
65ac197be4
Added book name to the mail template
...
added book name
synced with actual file from dev branch
added book name
add book name
added book name
extended with chaptername
extended with chapter name
Update PageUpdateNotification.php
Update notifications.php
Update notifications.php
Update notifications.php
correction of chapter syntax
correction of chapter syntax
2023-11-14 10:38:34 +00:00
Dan Brown
bff1f502bb
JS: Removed random extra import
2023-11-09 13:36:00 +00:00
Dan Brown
f8ebbb7553
WYSIWYG: Updated TinyMCE from 6.5.1 to 6.7.2
2023-11-09 13:34:00 +00:00
Dan Brown
d8383cfa80
Updated version and assets for release v23.10.2
2023-11-07 15:22:34 +00:00
Dan Brown
4626278447
Merge branch 'development' into release
2023-11-07 15:22:11 +00:00
Dan Brown
48f115291a
Updated translator attribution before release v23.10.2
2023-11-07 15:12:15 +00:00
Dan Brown
6cd38a8ace
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2023-11-07 15:09:54 +00:00
Dan Brown
fa6ac211b6
Dropdowns: Fixed bad direction logic, added dynmaic height
...
Changes since adding notifications would cause direction to be assessed
upon max height of 80vh, which caused large dropdowns like the audit log
dropdown to drop up and/or go offscreen.
This restores the default assessment of 500px, and adds dynamic
max-height adjustment to provide more room for large dropdowns.
For #4652
2023-11-07 15:07:11 +00:00
Dan Brown
1310db19ca
Updated translations with latest Crowdin changes ( #4643 )
2023-11-07 14:40:53 +00:00
Dan Brown
ea0469e61a
PWA: Prevent passing credentials to avoid redirection issues
...
For #4649
More of a patch around the issue for now.
Have opened #4656 to properly address.
2023-11-07 14:33:37 +00:00
Dan Brown
c61af9c22b
Updated version and assets for release v23.10.1
2023-11-02 14:44:53 +00:00
Dan Brown
72521d0906
Merge branch 'development' into release
2023-11-02 14:35:49 +00:00
Dan Brown
889b0dae3b
Updated translations with latest Crowdin changes ( #4631 )
2023-11-02 14:30:34 +00:00
Dan Brown
48bda115aa
Langs: Enabled Nynorsk option, updated translator attribution
2023-11-02 14:17:56 +00:00
Dan Brown
9dd05b8751
MD Editor: Fixed lack of toolbar BG when in fullscreen
...
For #4641
2023-11-02 12:41:07 +00:00
Dan Brown
02d140120a
Editor toolbox: Updated tabs to use link color
...
Change due to link color being more suitable in this case since it's not
specifically a block with light text which is what app color is suited
for.
Specifically better for dark mode when a dark app color is used.
For #4630
2023-11-02 12:34:57 +00:00
Dan Brown
38ac3c959b
Page JS: Improved block jumping and highlighting
...
- Updated anchor scroll change to open up details blocks if the target
exists within.
- Updated highlighting and animation implementation to fix hardly visible highlighting.
- Removed old, now unused, handing of CM instances in details blocks.
Related to #4637 .
2023-11-01 18:49:47 +00:00
Dan Brown
324e403ae5
JS Events: Added CM pre/post init events
...
To allow hacking of all CodeMirror instances.
Closes #4639 .
2023-11-01 17:56:52 +00:00
Dan Brown
fce7190257
Testing: Added PHP8.3 support
...
Also fixed text which could through deprecation notice due to not having
a properly formed comment in use.
For #4633
2023-10-31 15:52:01 +00:00
Dan Brown
c640db8434
Readme: Updated sponsorship links and language contribution info
...
- Updated sponsor text since it only mentioned GitHub, nothing else.
- Updated translation contribution info to dissuade code-based
contributions due to issues with conflicts/sync.
2023-10-30 17:13:39 +00:00
Dan Brown
7e44b195c5
Updated version and assets for release v23.10
2023-10-30 12:15:59 +00:00
Dan Brown
5b45eac5e1
Merge branch 'development' into release
2023-10-30 12:14:23 +00:00
Dan Brown
49b286cd34
Demo mode: Updated my account access to be more selective
2023-10-30 12:07:18 +00:00
Dan Brown
e006f9674f
Langs: Updated translators and locale list pre v23.10
2023-10-30 11:41:36 +00:00
Dan Brown
8bffcebd64
Updated translations with latest Crowdin changes ( #4523 )
2023-10-30 11:16:19 +00:00
Dan Brown
7c4dc981cd
Middlware: Prevented caching of all app requests
...
Previously we'd prevent caching of authed responses for security
(prevent back cache or proxy caching) but caching could still be an
issue in non-auth scenarios due to CSRF (eg. returning to login screen after
session expiry).
For #4600
2023-10-23 13:32:15 +01:00
Dan Brown
9b4f1fb981
Styles: Aligned empty state alignment & consistency
...
- Fixed inital empty state margins/paddings to be aligned and not differ
when lists are empty.
- Aligned button/action display when viewing empty entities.
- Fixed use of non-existing permission in books for book empty state
button.
Fixes #4563
2023-10-23 11:53:19 +01:00
Dan Brown
d42af4affc
Shortcuts: Prevented help shown when in inputs
...
For #4606
2023-10-23 11:04:09 +01:00
Dan Brown
8375d341ea
Deps: Updated npm and composer packages
2023-10-20 16:39:40 +01:00
Dan Brown
f5756ff28a
Security: Swapped twitter for mastodon link
2023-10-19 16:53:02 +01:00
Dan Brown
c513cdaebe
Merge pull request #4618 from radiantwave/patch-1
...
Remove huntr from SECURITY.md
2023-10-19 16:50:30 +01:00
Dan Brown
995b7d61e9
Merge pull request #4615 from BookStackApp/user_account
...
User preferences/options cleanup
2023-10-19 16:49:06 +01:00
Dan Brown
02bfaffeb4
My Acount: Updated old preference url reference for watches
2023-10-19 16:37:55 +01:00
Daniel
38fe40809b
Update SECURITY.md
...
Remove huntr
2023-10-19 17:12:18 +02:00
Dan Brown
ce53f641ad
My Account: Covered profile and auth pages with tests
2023-10-19 16:06:59 +01:00
Dan Brown
f55e7ca3c9
User Account: Ensured page titles for pages and api tokens
2023-10-19 15:24:48 +01:00
Dan Brown
fabc854390
My Account: Updated and started adding to tests
...
- Updated existing tests now affected by my-account changes.
- Updated some existing tests to more accuractly check the scenario.
- Updated some code styling in SocialController.
- Fixed redirects for social account flows to fit my-account.
- Added test for social account attaching.
- Added test for api token redirect handling.
2023-10-19 14:18:42 +01:00
Dan Brown
12946414b0
API Tokens: Updated interfaces to return to correct location
...
Since management of API tokens can be accessed via two routes, this adds
tracking and handling to reutrn the user to the correct place.
2023-10-19 11:31:45 +01:00
Dan Brown
f9422dff18
My Account: Added self-delete flow
2023-10-19 10:48:27 +01:00
Dan Brown
cf72e48d2a
User form: Always show external auth field, update access control
...
Updated old user management routes to only be accessible with permission
to manage users, so also removed old content controls checking for that
permission.
2023-10-19 10:20:04 +01:00
Dan Brown
e4ea73ee25
My Account: Cleaned-up/reorganised user header dropdown
2023-10-18 17:57:14 +01:00
Dan Brown
03c44b3992
My Account: Extracted/tweaked profile text, removed old index
2023-10-18 17:53:58 +01:00
Dan Brown
c1b01639c1
My Account: Built out profile page & endpoints
...
Text currently hard-coded, needs finalising and extracting.
2023-10-18 12:39:57 +01:00
Dan Brown
a868012048
Users: Built out auth page for my-account section
2023-10-17 17:38:07 +01:00
Dan Brown
a9d0f36766
User: Started cleanup of user self-management
...
- Moved preference views to more general "my-account" area.
- Started new layout for my-account with sidebar.
- Added MFA to prefeences view (to be moved).
2023-10-17 13:11:10 +01:00
Dan Brown
3274181e14
Merge pull request #4604 from BookStackApp/editor_trim_enhancement
...
Editor design update
2023-10-14 17:30:04 +01:00
Dan Brown
8166e27f2b
Editors: Properly aligned edit area border radius
2023-10-14 17:18:09 +01:00
Dan Brown
8ffa436f3d
Editors: Adjusted new design for mobile and dark mode
...
Tested new design across FF, Chrome, and Gnome web (webkit)
2023-10-14 17:10:29 +01:00
Dan Brown
8c10959339
Editors: Tightened up new design, adjusted for MD editor
2023-10-14 16:33:48 +01:00
Dan Brown
45c7409092
Editor: Started toying with more singificant design update
2023-10-13 17:33:11 +01:00
Dan Brown
a12b60e1ad
Editor: Started attempts to improve design elements
2023-10-08 15:04:07 +01:00
Dan Brown
ccb3c2516a
Homepage: Made much nicer at ipad-like widths
...
Updated default homepage layout to be much nicer at ipad-like widths by
switching to css-column approach at those breakpoints.
Also neated top actions by switching to simpler flexbox layout.
Fixes #4596
2023-10-07 12:38:54 +01:00
Dan Brown
2e2272343b
Merge branch 'LawssssCat/development' into development
2023-10-06 12:03:38 +01:00
Dan Brown
031067745b
Layout: Restructured tri-layout for sidebar control
...
Restructured tri-layout grid system, so the sidebars are contained in
their own child grid system, mimicking the parent grid, so we can treat
them as part of the same parent scroll container at smaller screen
sizes for consistent scroll/sticky behavior.
Tested on Firefox, Chromium, Gnome Web and Safari (MacOS).
For #4394
Changes made during review of #4562
2023-10-06 12:03:38 +01:00
Dan Brown
1267068d9c
CI: Added path filtering to actions
...
In the hope we can make the CI runs a bit more efficient and energy
conscious, by only running when relevant files have changed.
2023-10-04 09:18:24 +01:00
Dan Brown
0241032f06
Tags: Fixed enter press clearing field
...
For #4570
2023-10-04 09:08:10 +01:00
Dan Brown
bd7c7eb8d6
Print Styles: Removed use of seperate style sheet
...
Seemed a bit redundant and complicated, since we're only adding a few
extra styles. Just merged into main styles instead.
2023-10-03 15:14:21 +01:00
Dan Brown
c5d5b6e3c1
Print Styles: Fixed header/footer content showing
...
Extra bits were showing due to recent changes.
Done a quick pass through major display views.
Fixes #4594
2023-10-03 14:59:35 +01:00
Dan Brown
1005f4bd7a
Testing: Added favicon cleanup
...
Was leaving a changed favicon leaving other test to fail.
2023-10-03 14:50:54 +01:00
Dan Brown
b24296e0c9
Added NETWAYS to readme sponsor list
...
Related to:
edceda5342
2023-10-03 12:10:45 +01:00
Dan Brown
d1f28ed245
Merge branch 'basic-pwa-support' into development
2023-10-02 15:58:07 +01:00
Dan Brown
1d91b4d8a6
PWA Manifest: Tweaks during review of PR #4430
...
- Updated to go through HomeController with the builder as a helper
class.
- Extracted some reapeated items into variables in manifest.
- Updated background color to match those used by BookStack.
- Removed reference of icon.ico since its not intended to be used.
- Added tests to cover functionality.
Review of #4430
2023-10-02 15:54:39 +01:00
Dan Brown
8bba5dd5a0
Merge pull request #4578 from BookStackApp/upload_handling
...
Improvements to file/image upload handling UX
2023-10-01 17:20:10 +00:00
Dan Brown
ffb04a8be6
JS: Fixed ESLint issues
2023-10-01 18:13:54 +01:00
Dan Brown
b2d48d9a7f
Images: Rolled out image memory handling to image actions
...
- Moved thumnbail loading out of repo into ImageResizer.
- Updated gallery and editor image handling to show errors where
possible to indicate memory issues for resizing/thumbs.
- Updated gallery to load image data in a per-image basis via edit form
for more resiliant thumb/data fetching. Data was previously provided
via gallery listing, which could be affected by failing generation
of other images.
- Updated image manager double click handling to be more pleasant and
not flash away the edit form.
- Updated editor handlers to use main URL when thumbs fail to load.
2023-10-01 13:05:18 +01:00
Dan Brown
20bcbd76ef
Images: Extracted out image resizing to its own class
2023-09-30 20:00:48 +01:00
Dan Brown
e703009d7f
Images: Added thin wrapper around image filesystem instances
...
Extracts duplicated required handling (Like path adjustment) out to
simpler storage disk instance which can be passed around.
2023-09-30 19:12:22 +01:00
Dan Brown
7247e31936
Images: Started refactor of image service
...
To break it up.
Also added better memory handling to other parts of the app.
2023-09-30 18:28:42 +01:00
Dan Brown
40721433f7
Image manager: Tweaked grid sizing to prevent massive items
2023-09-30 12:43:51 +01:00
Dan Brown
97274a8140
Images: Added test to cover thubmnail regen endpoint
2023-09-30 12:29:49 +01:00
Dan Brown
5c318a45b8
Images: Reverted some thumbnails to be on-demand generated
...
Added since we can't always be sure of future image usage, and in many
cases we don't generate ahead-of-time.
Also:
- Simplified image handling on certain models.
- Updated various string handling operations to use newer functions.
2023-09-30 12:09:29 +01:00
Dan Brown
5af3041b9b
Thumbnails: Added OOM handling and regen endpoint
...
- Added some level of app out-of-memory handling so we can show a proper
error message upon OOM events.
- Added endpoint and image-manager button/action for regenerating
thumbnails for an image so they can be re-created upon failure.
2023-09-29 13:54:08 +01:00
Dan Brown
cc0827ff28
Images: Updated to create thumbnails at specific events
2023-09-29 11:46:32 +01:00
Dan Brown
59da7666b5
Uploads: Added user-facing message for Laravel post limit handling
...
Uploads over the post max size Would previously error without a
clean user facing message. This catches that error to provide a
user friendly message, compatible with our common error handling.
Tested on image manager handling.
Added test to cover.
2023-09-25 13:48:23 +01:00
JonatanRek
287ed4ff3b
Remove Dumps
2023-09-24 20:19:53 +02:00
Dan Brown
21badde4ef
Editors: Updated entity link select to pre-fill with selection
...
Updated all uses across both editors, so the entity link selector popup
now initates a search with the selection text if existing.
For #4571
2023-09-24 18:33:33 +01:00
Dan Brown
e9664dc678
Exports: Fixed issues with book text export format
...
- Fixed missing page content for direct page children
- Fixed lack of book description.
- Fixed inconsistent spacing between items.
- Fixed lack of spacing between HTML items when HTML on same line.
For #4557
2023-09-24 18:03:37 +01:00
Dan Brown
d5a3bdb7aa
Header: Simplified, split and re-orgranised view file(s)
...
- Moved "common" template partials, that are only used in layouts, to
layouts/parts folder.
- Simplified HTML structure of header template.
- Extracted logo and links from header template to simplify.
- Added header-links-start template for easier extension/customization
without needing to override full list of links.
- Added test to cover usage of this.
For #4564
2023-09-24 10:29:51 +01:00
Dan Brown
c3b4128a38
Homepage: Added tags button to non-default home views
...
For #4558
2023-09-24 09:31:44 +01:00
Dan Brown
f77bb01b51
Search: Added further backslash handling
...
Added due to now not being able to perform an exact search where
contains a trailing backslash.
Now all backslashes in exact terms are consided escape chars
and require escaping themselves.
Potential breaking change due to search syntax handling change.
Related to #4535 .
2023-09-23 13:41:10 +01:00
Dan Brown
fb417828a4
Readme: Updated badges, sponsors and top links
2023-09-23 12:47:24 +01:00
JonatanRek
57791c1466
Fix Reloading changes on dark mode switch
2023-09-22 11:31:24 +02:00
JonatanRek
46e3b2ceb3
Merge branch 'basic-pwa-support' of https://github.com/GamerClassN7/BookStack into basic-pwa-support
2023-09-22 11:19:38 +02:00
JonatanRek
10e8e1a88d
New line fix
2023-09-22 11:19:34 +02:00
JonatanRek
7e09c9a147
Update HomeController.php
2023-09-22 11:19:17 +02:00
JonatanRek
2a2f893fcc
Formating Fixes
2023-09-22 11:18:10 +02:00
JonatanRek
9b99664bff
Additional Tweaks and FIxes
2023-09-22 11:15:13 +02:00
JonatanRek
f910424fa3
Implementation of required changes
2023-09-22 11:00:41 +02:00
JonatanRek
6e19a8a4bb
Merge branch 'basic-pwa-support' of https://github.com/GamerClassN7/BookStack into basic-pwa-support
2023-09-22 10:49:53 +02:00
JonatanRek
cb9c3fc9f5
Fix Dark theme
2023-09-22 10:49:37 +02:00
JonatanRek
effc03e99e
Merge branch 'BookStackApp:development' into basic-pwa-support
2023-09-22 10:48:48 +02:00
Dan Brown
8964575973
Search: Added support for escaped exact terms
...
Also prevented use of empty exact matches.
Prevents issues when attempting to use exact search terms in inputs for
just search terms, and use of single " chars within search terms since
these would get auto-promoted to exacts.
For #4535
2023-09-19 20:09:33 +01:00
Dan Brown
4b4d8ba2a1
Avatar Commend: Simplified and updated during review
...
During review of #4560 .
- Simplified command to share as much log as possible across different
run options.
- Extracted out user handling to share with MFA command.
- Added specific handling for disabled avatar fetching.
- Added mention of avatar endpoint, to make it clear where these avatars
are coming from (Protect against user expectation of LDAP avatar sync).
- Simplified a range of the testing.
- Tweaked wording and code formatting.
2023-09-19 15:53:01 +01:00
lawsssscat
588ed785d2
fix Sidebar scrolling at mid-range sceen
2023-09-19 22:12:33 +08:00
Marc Hagen
ca98155373
fix: Actually check if we have correct data
2023-09-18 20:04:59 +02:00
Marc Hagen
ea7592509f
feat: Artisan command for updating avatars for existing users
2023-09-18 20:04:28 +02:00
Dan Brown
95b9ea1a21
Dev: Reviewed and expanded on PHP testing docs
2023-09-17 23:41:02 +01:00
Dan Brown
684a9dee8e
Merge branch 'tusharnain4578/development' into development
2023-09-17 22:29:06 +01:00
Dan Brown
c42cd29ed3
Notifications: Updated comment notif. prefs. test
...
Combined testcases, updated to use actual text strings, and set comments
setting via correct method.
Made during review of #4552
2023-09-17 22:26:51 +01:00
Dan Brown
35813e818d
Merge pull request #4555 from BookStackApp/language_cleanup
...
Language cleanup
2023-09-17 22:15:38 +01:00
Dan Brown
78bf11cf65
Locales: Removed a lot of existing locale handling
...
There was a lot of locale handling to get correct/expected date
formatting within the app.
Carbon now has built-in locale content rather than us needing to target
specific system locales.
This also removes setting locale via Carbon directly.
Carbon registers its own Laravel service provider which seems to
accurately pull the correct locale from the app.
For #4555
2023-09-17 22:02:12 +01:00
Tushar Nain
baa957d980
Update UserPreferencesTest.php
...
Added Testcases for preferences menu of Comment Notifications visibility when comments are enabled/disabled.
2023-09-17 23:31:01 +05:30
Dan Brown
b42e8cdb63
Locales: Fixed errors occuring for PHP < 8.2
2023-09-17 17:35:00 +01:00
Dan Brown
8994c1b9d9
Locales: More use of locale objects, Addressed failing tests
2023-09-17 16:20:21 +01:00
Dan Brown
ac9a65945f
Locales: Performed cleanup and alignment of locale handling
...
- Reduced app settings down to what's required.
- Used new view-shared $locale object instead of using globals via
config.
- Aligned language used to default on "locale" instead of mixing
locale/language.
For #4501
2023-09-17 13:31:38 +01:00
Dan Brown
b292cf7090
Extracted icon helper, aligned container resolution
...
Also updated breadcrumb view composer to current standards.
Closes #4553
2023-09-16 18:26:28 +01:00
Dan Brown
54791c8627
Merge pull request #4554 from BookStackApp/guest_user_cleanup
...
Guest control: Cleaned methods involved in fetching/handling
2023-09-16 13:59:16 +01:00
Dan Brown
e16bdf443c
Removed redundant null check
2023-09-16 13:49:03 +01:00
Dan Brown
b90033a730
Guest control: Cleaned methods involved in fetching/handling
...
- Moves guest user caching from User class to app container for
simplicity.
- Updates test to use simpler $this->users->guest() method for
consistency.
- Streamlined helpers to avoid function overlap for simplicity.
- Extracted user profile dropdown while doing changes.
2023-09-16 13:18:35 +01:00
Dan Brown
9ac932fc28
Merge branch 'v23-08' into development
2023-09-16 11:55:57 +01:00
Tushar Nain
6a5361d853
Fixed : Comment notification settings are visible even if comments are disabled
...
Added a UX condition to display comment notification settings, only if the user has enabled the comment notifications.
2023-09-16 14:00:08 +05:30
Dan Brown
c1d30341e7
Updated version and assets for release v23.08.3
2023-09-15 13:49:40 +01:00
Dan Brown
80d2b4913b
Merge branch 'v23-08' into release
2023-09-15 13:49:12 +01:00
Dan Brown
45b8d6cd0c
Comments: Fixed wrong identification of parent comment
...
Would cause comment reply notifications to not be sent to expected user.
Updated test to cover problem case.
For #4548
2023-09-15 13:38:02 +01:00
Dan Brown
dfaf6f7c13
Cleanup Command: Allowed running non-interactively
...
For #4541
2023-09-14 14:17:20 +01:00
Dan Brown
417705651c
Dark Mode: Fixed not toggle action when dark by default
...
Added test to cover.
For #4543 .
2023-09-14 13:53:24 +01:00
Dan Brown
4ec600adfa
Langs: Added Uzbek, Updated translator attribution
...
For #4527
2023-09-13 10:52:12 +01:00
Dan Brown
709c182bda
Merge branch 'Bajszi97/development' into development
2023-09-13 10:12:49 +01:00
Dan Brown
a452092e40
Reviewed #4533 , formatting and tweaks
...
- Updating formatting.
- Tweaked truncation to roughly match elipsis char to width used.
- Updated testing to use existing helpers, and ran check as admin user
to avoid name conflicts.
2023-09-13 10:09:33 +01:00
Bajszi
83028f3fbe
Test comment creator name truncation
2023-09-12 21:10:25 +02:00
Bajszi
f4deb13301
Truncate with three dots
2023-09-12 21:10:25 +02:00
Dan Brown
6e098905d4
Theme: Added handling for functions.php file load error
...
This adds specific handling for functions.php error loading to re-throw
errors wrapped in a more descriptive message, to make it clear the error
is due to an issue in their functions.php file.
Decided to throw and stop, rather than ignore & continue, to be on the
safe side in the event auth-level (or other security level) customizations
have been made via functions.php.
Adds test to cover.
Closes #4504
2023-09-12 12:34:02 +01:00
Bajszi
f997d3e0bb
Trimmed name last resort
2023-09-11 21:27:15 +02:00
Dan Brown
8e3f8de627
Notifications: Reorgranised classes into domain specific folders
...
Closes #4500
2023-09-11 19:27:36 +01:00
Dan Brown
18f396c21b
Views: Rolled out ID to similar recent activity lists
...
To allow for easier customization.
Related to #4530
2023-09-11 18:50:39 +01:00
Dan Brown
ec86576e1e
Merge branch 'v23-08' into development
2023-09-11 18:43:23 +01:00
Dan Brown
99eb3e5f71
Comments: Fixed JS error when lacking commenting permissions
...
The page comments component would throw an error due to references to
form elements/content, when form elements may not exist due to
permisisons.
For #4531
2023-09-11 18:40:40 +01:00
Dan Brown
4985e39db4
Slack auth: Switched from community to laravel library
...
Tested locally before & after change, and looked at code to compare.
Nothing seen or experienced that should affect things, from testing all
is working as expected with no difference from before.
- Update composer requirement of socialite to that which included slack.
- Updated PHP depds while there.
- Updated format of socialite events to align with current documentation
and to use class references instead of strings.
2023-09-11 15:26:04 +01:00
Dan Brown
05f2ec40cc
OIDC: Moved name claim option handling from config to service
...
Closes #4494
2023-09-11 11:50:58 +01:00
Dan Brown
564dc70ac4
Fixed php8 compat issue, updated readme & templates
...
- Changed use of array spread since it was not supported in PHP8.0.
- Updated issue templates based to reduce less valueable fields, update
some details, and try to help bug reports be more focused on bugs.
- Updated readme with peertube link and attribution advistory for
translations PRs.
2023-09-11 11:37:07 +01:00
Dan Brown
2fbf5527c7
Simplified and aligned handling of mixed entity endpoints
...
Fixes #4444
2023-09-10 15:19:23 +01:00
Dan Brown
3928cbac18
Mail: changed default "MAIL_FROM" address
...
Used an "example.com" address so we're using a propoer reserved domain,
and to avoid these trying to be delivered to the main bookstackapp
domain.
Closes #4518
2023-09-09 12:41:37 +01:00
Dan Brown
8659ee0936
Merge pull request #4525 from BookStackApp/http_alignment
...
HTTP calling logic alignment
2023-09-08 17:30:44 +01:00
Dan Brown
06490f624c
Removed use of HttpFetcher
...
- Fixed some existing issues in new aligned process.
- Manually tested each external call scenario.
2023-09-08 17:16:57 +01:00
Dan Brown
a8b5652210
Started aligning app-wide outbound http calling behaviour
2023-09-08 14:16:09 +01:00
Dan Brown
15da4b98ef
Updated translations with latest Crowdin changes ( #4512 )
...
Last translation merge for possible continued v23.08 branch
2023-09-07 15:57:59 +01:00
Dan Brown
21cd2d17f6
Updated sponsors and dev version
2023-09-07 14:43:29 +01:00
Dan Brown
3f473528b1
Updated version and assets for release v23.08.2
2023-09-04 12:06:50 +01:00
Dan Brown
d0dcd4f61b
Merge branch 'development' into release
2023-09-04 12:06:15 +01:00
Dan Brown
ad60517536
Updated translations with latest Crowdin changes ( #4506 )
2023-09-04 11:48:25 +01:00
Dan Brown
2c20abc872
WYSIWYG: Fixed filtering issue causing broken page edits
...
Could error upon div elements without classes, including drawings.
Related to #4510 and #4509
2023-09-04 11:25:05 +01:00
Dan Brown
bde66a1396
Updated version and assets for release v23.08.1
2023-09-03 17:40:19 +01:00
Dan Brown
4de5a2d9bf
Merge branch 'development' into release
2023-09-03 17:39:56 +01:00
Dan Brown
2abbcf5c0f
Updated translator attribution before release v23.08.1
2023-09-03 17:35:57 +01:00
Dan Brown
7a48516bf4
Updated translations with latest Crowdin changes ( #4481 )
2023-09-03 17:23:40 +01:00
Dan Brown
e31b50dabd
Preferences: Fixed section screen flexibility
...
Improved wrapping and flex control to prevent button text force wrapping
to newlines.
For #4502
2023-09-03 16:58:29 +01:00
Dan Brown
817581aa0c
Watching: Prevent issues when watchable or user is deleted
...
- Adds filtering to the watched items list in notification preferences
so that deleted (recycle bin) items are removed via query.
- Adds relations and logic to properly remove watches upon user and
entity delete events, to old watches in database do not linger.
- Adds testing to cover the above.
Did not add migration for existing data, since patch will be close to
introduction, and lingering DB entries don't open a security concern,
just some potential confusion in specific potential scenarios.
Probably not work extra migration risk, although could add in future if
concerns/issues are found.
Related to #4499
2023-09-03 14:19:43 +01:00
Dan Brown
1cd19c76ba
Merge pull request #4497 from BookStackApp/notification_language
...
Notifications: User language for notification text
2023-09-02 15:47:26 +01:00
Dan Brown
5d38ae3c97
Merge pull request #4484 from omahs/patch-1
...
Fix typos
2023-09-02 15:44:01 +01:00
Dan Brown
a720b3725d
Testing: Added entity decode flag and phpunit env option
...
- Passed decode flags to provide consistent behaviour across PHP
versions during testing.
- Added env option to prevent local option taking action in PHPunit
tests.
2023-09-02 15:39:45 +01:00
Dan Brown
3847a76134
Notifications: Aligned how user language is used
...
- This ensures content notifications are not translated to receiver
language.
- This adds actual plaintext support for content notifications (Was
previously just HTML as text view).
- Shares same base class across all mail notifications.
- Also cleaned up existing notification classes.
Future cleanup requested via #4501
2023-09-02 15:11:42 +01:00
Dan Brown
f91049a3f2
Notifications: Add test to check notification language
2023-09-01 16:30:37 +01:00
Dan Brown
4e6b74f2a1
WYSIWYG: Added filtering of page pointer elements
...
For #4474
2023-09-01 13:50:55 +01:00
omahs
976f241ae0
fix typo
2023-08-31 10:01:56 +02:00
omahs
415dab9936
fix typos
2023-08-31 10:00:45 +02:00
omahs
54715d40ef
fix typo
2023-08-31 09:58:59 +02:00
Dan Brown
27bf4299cf
Updated version and assets for release v23.08
2023-08-30 12:38:48 +01:00
Dan Brown
164f01bb25
Merge branch 'development' into release
2023-08-30 12:38:22 +01:00
Dan Brown
c6d0e690f9
Updated translations with latest Crowdin changes ( #4462 )
2023-08-30 12:35:10 +01:00
Dan Brown
77d65d1ca1
Updated translator attribution before v23.08
2023-08-30 11:49:45 +01:00
Dan Brown
dc77233ec3
MD Editor: Fixed scroll on mobile widths
...
Added min-height to flex elements to ensure they properly flex within
the container rathen than adjust to content.
For #4466
2023-08-30 02:41:51 +01:00
Dan Brown
3622c440d7
SSR: Added new option to complete env example file
2023-08-30 02:31:36 +01:00
joancyho
a0942ef441
Fixed OIDC Logout
2023-08-29 14:58:57 +08:00
joancyho
6b55104ecb
Fixed OIDC Logout
2023-08-29 13:07:21 +08:00
Dan Brown
642210ab4c
Merge branch 'srr_host_allowlist' into development
2023-08-27 12:45:00 +01:00
Dan Brown
e176aae940
Updated translations with latest Crowdin changes ( #4380 )
2023-08-27 12:43:59 +01:00
Dan Brown
903895814a
SSR: Updated allow list handling & covered webhook usage
...
- Covered webhook SSR allow list useage via test.
- Updated allow list handling to use trailing slash, or hash, or end of
line as late anchor for better handling for hosts (prevent .co.uk
passing for .co domain host)
2023-08-26 20:13:37 +01:00
Dan Brown
c324ad928d
Security: Added new SSR allow list and validator
...
Included unit tests to cover validator functionality.
Added to webhooks.
Still need to do testing specifically for webhooks.
2023-08-26 15:28:29 +01:00
Dan Brown
9100a82b47
Guests: Prevented access to profile routes
...
Prevention of action on certain routes for guest user when public access
is enabled. Could not see a way this could be a security issue, beyond a
mild nuisance that'd only be visible if public users can edit, which
would present larger potential nuisance anyway.
2023-08-26 14:07:48 +01:00
Dan Brown
32516f7b68
Merge pull request #4457 from BookStackApp/drawing_backup_store
...
Browser-based drawing backup storage system
2023-08-23 19:12:29 +01:00
Dan Brown
69ac425903
Updated readme attribution and fixed eslint issues
2023-08-23 19:02:23 +01:00
Dan Brown
3917e50c90
Drawio: Tweaked fail backup handling during testing
...
- Tweaked wording of popup title.
- Updated WYSIWYG create handling to properly remove drawing container
on failure.
Tested across FF and chrome, in both editors for create & editing.
2023-08-23 18:50:37 +01:00
Dan Brown
dd71658d70
Drawio: Added unsaved restore prompt and logic
2023-08-23 14:16:20 +01:00
Dan Brown
a4fbde9185
Drawio: Started browser drawing backup store system
...
Adds just the part to store image data, and remove on successfull save.
Alters save events to properly throw upon error.
Adds IDB-Keyval library for local large-size store.
For #4421
2023-08-22 19:30:39 +01:00
Dan Brown
cbcec189fd
RTL: Fixed screen-reader-only elements pushout out view
...
For #4429
2023-08-22 18:25:14 +01:00
Dan Brown
0628c28f66
Cache: Increases database cache value size
...
Upped from text to medium text.
Aligns with modern Laravel default.
Fixes #4453 where were reaching the limit of TEXT.
2023-08-21 23:01:42 +01:00
Dan Brown
391478465a
Merge branch 'add-priority' into development
2023-08-21 15:43:16 +01:00
Dan Brown
9ca1139ab0
API: Reviewed changes for API priority control
...
Review of #4313
- Made constructor changes while reviewing some classes.
- Updated API examples for consistency.
- Tweaked formatting for some array changes.
- Simplified added tests.
- Tweaked chapter/page repo priority handling to be simpler.
Performed manual API endpoint testing of page/chapter create/update.
2023-08-21 15:42:47 +01:00
Dan Brown
7bf5425c6b
Updated PHP and npm deps, Upped node version
2023-08-19 20:22:19 +01:00
Dan Brown
e44ef57219
Status: Updated cache check to use unique key
...
Updated status endpoint cache check to include a random component in the
key to avoid conflict during simultaneous checks.
For #4396
2023-08-17 21:24:35 +01:00
Dan Brown
fef433a9cb
Merge pull request #4390 from BookStackApp/content_notifications
...
Content user notifications
2023-08-17 21:09:52 +01:00
Dan Brown
e709caa005
Notifications: Switched testing from string to reference levels
2023-08-17 18:10:34 +01:00
Dan Brown
38829f8a38
Notifications: Fixed send content permission checking
...
Added test and changed logic to properly check the view permissions for
the notification receiver before sending.
Required change to permissions applicator to allow the user to be
manually determined, and a service provider update to provide the class
as a singleton without a specific user, so it checks the current logged
in user on demand.
2023-08-17 17:57:31 +01:00
Dan Brown
ee9e342b58
Notifications: Fixed issues causing failing tests
...
- Ensured watch options passed in all meta template usage to fix failing
scenarios where watch options did not exist.
- Fixed testing issue caused by guest user permission caching.
2023-08-17 14:59:28 +01:00
Dan Brown
79470ea4b7
Notifications: Made improvements from manual testing
...
- Added titles for preference pages.
- Added extra check for non-guest for notifications on preferences page.
2023-08-16 20:15:49 +01:00
Dan Brown
565908ef52
Notifications: Add phpunit test for notification sending
...
Covers core case scenarios, and check of notification content.
2023-08-16 16:02:00 +01:00
Dan Brown
bc6e19b2a1
Notifications: Added testing to cover controls
2023-08-15 20:08:27 +01:00
Dan Brown
615741af9d
Notifications: Cleaned up mails, added debounce for updates
...
- Updated mail notification design to be a bit prettier, and extracted
text to new lang file for translation.
- Added debounce logic for page update notifications.
- Fixed watch options not being filtered to current user.
2023-08-15 14:39:39 +01:00
Dan Brown
371779205a
Notifications: Added new preferences view and access control
...
- Added general user preferences view and updated link in profile menu
to suit.
- Made notification permission required for notification preferences
view, added test to cover.
2023-08-14 17:29:12 +01:00
Dan Brown
d9fdecd902
Notifications: User watch list and differnt page watch options
...
- Adds option filtering and alternative text for page watch options.
- Adds "Watched & Ignored Items" list to user notification preferences
page to show existing watched items.
2023-08-14 13:11:18 +01:00
JonatanRek
2b604b5af9
Move Manifest Definition to Separate Config File
2023-08-10 17:02:31 +02:00
JonatanRek
08ea97fd83
Manifest Tweaks
2023-08-10 16:43:14 +02:00
JonatanRek
601491b275
Add Color
2023-08-10 15:51:09 +02:00
JonatanRek
88e148ba00
Initial Draft
2023-08-10 15:44:27 +02:00
Dan Brown
c47b3f805a
Notifications: Updated watch control to show parent status
2023-08-09 14:53:31 +01:00
Dan Brown
ecab2c8e42
Notifications: Added logic and classes for remaining notification types
2023-08-05 14:19:23 +01:00
Dan Brown
18ae67a138
Notifications: Got core notification logic working for new pages
...
Also rolled out watch UI to chapter and page views
2023-08-04 16:51:29 +01:00
Dan Brown
9779c1a357
Notifications: Started core user notification logic
...
Put together an initial notification.
Started logic to query and identify watchers.
2023-08-04 12:27:29 +01:00
Dan Brown
9d149e4d36
Notifications: Linked watch functionality to UI
...
Got watch system working to an initial base state.
Moved some existing logic where it makes sense.
2023-08-02 13:14:00 +01:00
Dan Brown
8cdf3203ef
Notifications: Started back-end for watch system
...
Added DB and started controller method.
2023-07-31 16:08:29 +01:00
Dan Brown
6100b99828
Notifications: Extracted watch options, updated UI further
2023-07-31 15:23:28 +01:00
Dan Brown
730f539029
Notifications: Started entity watch UI
2023-07-27 14:27:45 +01:00
Dan Brown
ff2674c464
Notifications: Added role receive-notifications permission
2023-07-25 17:59:04 +01:00
Dan Brown
100b28707c
Notifications: added user preference UI & logic
...
Includes testing to cover.
Also added file missing from previous commit.
2023-07-25 17:08:40 +01:00
Dan Brown
45e75edf05
Notifications: Started activity->notification core framework
2023-07-19 11:03:05 +01:00
Dan Brown
1c922be4c7
Comments: Added text for new activity types
2023-07-19 10:11:53 +01:00
Dan Brown
0359e2490a
Comments: Updated testing to check for new activities
2023-07-19 10:09:08 +01:00
Dan Brown
422e50302a
Comments: Added extra comment-specific activities
...
Kept existing "COMMENTED_ON" activity for upgrade compatibility,
specifically for existing webhook usage and for showing comment
activities in activity lists.
Precursor to content notifications.
Currently untested.
Also applied some type updates.
2023-07-18 15:07:31 +01:00
Dan Brown
f563a005f5
Updated version and assets for release v23.06.2
2023-07-12 22:34:25 +01:00
Dan Brown
a14d8e30cc
Merge branch 'development' into release
2023-07-12 22:34:15 +01:00
Dan Brown
7504ad32a7
Updated translator attribution before release v23.06.2
2023-07-12 22:34:04 +01:00
Dan Brown
fca18862d2
Updated translations with latest Crowdin changes ( #4367 )
2023-07-12 22:22:43 +01:00
Dan Brown
ae834050f5
Shelf permissions: reverted create removal
...
Reverted work in 847a57a49a .
Left test in but updated to new expectation.
Left migration in but removed content to prevent new pre-v23.06
upgraders loosing shelf create permission status.
Added note to permission to describe use-case.
For #4375
2023-07-12 22:04:05 +01:00
Dan Brown
a83150131a
Webhooks: Fixed failing delete-based events
...
Due to queue serialization.
Added a test to check a couple of delete events.
Added ApiTokenFactory to support.
Also made a couple of typing/doc updates while there.
Related to #4373
2023-07-12 16:16:12 +01:00
Jean-René ROUET
3a36d3c847
add tests for priority
2023-07-11 14:11:13 +02:00
Jean-René ROUET
4d399f6ba7
add priority on page and chapter create
2023-07-11 13:28:20 +02:00
Jean-René Rouet
b1b8067cbe
Merge branch 'BookStackApp:development' into add-priority
2023-07-11 08:57:14 +02:00
Dan Brown
a9194ffb63
Updated version and assets for release v23.06.1
2023-07-05 13:04:51 +01:00
Dan Brown
2f9c1b7127
Merge branch 'development' into release
2023-07-05 13:04:30 +01:00
Dan Brown
18979e84d6
Updated tranlsator attribution and sponsors
2023-07-05 12:40:49 +01:00
Dan Brown
bf5e886d76
Updated translations with latest Crowdin changes ( #4352 )
2023-07-05 12:28:19 +01:00
Dan Brown
e04a1af444
Merge pull request #4344 from devdot/update-api-docs
...
Update API Docs
2023-07-05 12:08:51 +01:00
Dan Brown
eb2c5d00cb
Audit log: Added IP address wrapping
...
Primarily to support long ipv6 addresses which would overflow over the
activity date.
For #4349
2023-07-05 11:37:49 +01:00
Dan Brown
96819b7bd9
Images: Updated image timestamp upon file change
...
For #4354
2023-07-05 11:28:03 +01:00
Dan Brown
18ee80a743
Roles: fixed error upon created_at sorting
...
Added test to cover core role sorting functionality.
For #4350
2023-07-04 21:52:46 +01:00
Dan Brown
1a56de6cb4
Testing: Split out role tests to management and permissions
2023-07-04 21:40:05 +01:00
Dan Brown
465989efa9
Mail: Updated to forked symfony/mailer to allow assurance of tls
...
Related to #4358
2023-07-04 15:21:31 +01:00
Dan Brown
bbea76668b
Updated version and assets for release v23.06
2023-06-30 11:06:19 +01:00
Dan Brown
becc630acf
Merge branch 'development' into release
2023-06-30 11:05:57 +01:00
Dan Brown
80635144b1
Meta: Updated dev version and translation attribution
2023-06-30 10:55:54 +01:00
Thomas Kuschan
d293171da2
API Docs: Add Missing Fields in Example Responses
2023-06-30 09:36:46 +02:00
Thomas Kuschan
174cd5a893
API Docs: Add Missing editor fields in Example Responses
2023-06-30 09:35:47 +02:00
Thomas Kuschan
ccfe38e963
API Docs: Add book_slug to Example Responses
...
Remove the book attribute in responses because it is never returned by the API. Currently, Chapters Create does not return book_slug! (The example response is consistent with the inconsistent API behavior)
2023-06-30 09:33:53 +02:00
Thomas Kuschan
23ae332c1b
API Docs: Sort a few example responses
2023-06-30 09:27:18 +02:00
Thomas Kuschan
3a39f13420
API Docs: Remove Dates from Tags in Example Responses
2023-06-30 09:24:46 +02:00
Thomas Kuschan
ca2d2c97d4
API Docs: Add User Slugs to Example Responses
2023-06-30 09:23:02 +02:00
Dan Brown
d23cfc3d32
Updated test to match German translation
2023-06-28 23:46:59 +01:00
Dan Brown
5ea2d0c57b
WYSIWYG: Fixed growing rows on Firefox
...
Occured when the cell contained any block content with a differnt line
height to the table cell itself.
In firefox, cells with a height would end up with an actual greater
real cell height, which messed up TinyMCE resize calculations, causing
tables to grow.
Adding default vertical-align: top, changes this behaviour to get proper
cell heights.
Related to Firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=569645
Have tested that editor cell text align options can still be used with
this.
For #4337
2023-06-28 23:28:31 +01:00
Dan Brown
b425d0f65c
Updated tinymce to v6.5.1
2023-06-28 22:45:21 +01:00
Dan Brown
63f03046b3
Updated translations with latest Crowdin changes ( #4256 )
2023-06-28 17:54:32 +01:00
Dan Brown
7f98906b0f
Comments: Tweaked design to be more consistent and compact
2023-06-28 13:41:14 +01:00
Dan Brown
b24246085f
CSS: Tweaked css heading font to fall back to body font
2023-06-28 09:35:30 +01:00
Thomas Kuschan
e47870794d
API Docs: Add Missing Type in Response
...
Type is always returned when pages/chapters are in a contents array.
2023-06-26 10:14:10 +02:00
Thomas Kuschan
e43d85b801
API Docs: Remove id from Tag in Response
2023-06-26 10:13:02 +02:00
Dan Brown
bae0e80cee
Merge pull request #4320 from devdot/improve-api-auth-exception
...
Improve ApiAuthException control flow
2023-06-25 23:35:19 +01:00
Dan Brown
847a57a49a
Shelf permissions: Removed unused 'create' permission from view
...
Was causing confusion.
Added test to cover.
Also added migration to remove existing create entries to pre-emptively
avoid issues in future if 'create' is used again.
2023-06-25 23:22:49 +01:00
Dan Brown
c74a2608c4
Updated php dependencies
2023-06-24 11:32:54 +01:00
Dan Brown
dbb6c87580
Mail Config: Updated how TLS is configured
...
After full review of current MAIL_ENCRYPTION usage in laravel and
smyfony mailer, this updates the options in BookStack to be simplified
and specific in usage:
- Removed mail.mailers.smtp.encryption option since it did not actually
affect anything in the current state of dependancies.
- Updated MAIL_ENCRYPTION so values of tls OR ssl will force-enable tls
via 'scheme' option with laravel passes to the SMTP transfport, which
Smyfony uses as an indicator to force TLS.
When MAIL_ENCRYPTION is not used, STARTTLS will still be attempted by
symfony mailer.
Updated .env files to refer to BookStack docs (which was updated for
this) and to reflect correct default port.
Related to #4342
2023-06-24 11:32:07 +01:00
Dan Brown
9ae17efce9
Shelf view: Updated books to be database sorted
...
Fixes issue where sorting would not match other database-sorted parts of
app due to case sensitivity differences.
Added test to cover.
For #4341
2023-06-23 16:42:40 +01:00
Dan Brown
0a485baf8b
Merge pull request #4332 from BookStackApp/api_docs_tweaks
...
API Docs: Allowed multi-paragraph descriptions
2023-06-20 23:47:58 +01:00
Dan Brown
38883e8d46
API Docs: Allowed multi-paragraph descriptions
...
Added support for mulit-line endpoint descriptions via blank
intermediate lines in php controller method docblocks.
Also tweaks endpoint header design for better flexing and alignment.
2023-06-20 23:44:39 +01:00
Dan Brown
4bb2cf5c5f
Pages API: Added extra helper text to read endpoint
2023-06-20 17:15:32 +01:00
Dan Brown
8b935e71d1
Pages API: Made raw_html available on page responses
...
To provide a way to see the original un-pre-processed database HTML
content.
For #4310
2023-06-20 17:07:46 +01:00
Dan Brown
41c3ed154b
Content Permissions API: Fixed param combination bug
...
Fixes issue where providing owner_id alongside certain
fallback_permissions would cause the owner change not to take affect,
due to bad variable shadowing.
For #4323
2023-06-20 14:13:26 +01:00
Dan Brown
f5396ecaf0
Merge pull request #4317 from devdot/http-fetch-improve-exception-logging
...
Modify HttpFetchException flow to log the exception
2023-06-20 13:49:23 +01:00
Thomas Kuschan
97d46f43a7
Revert some changes to HttpFetchException
2023-06-19 08:47:47 +02:00
Dan Brown
22fc720c22
Merge pull request #4318 from devdot/improve-json-debug-exception
...
Change JsonDebugException to Responsable interface
2023-06-18 17:52:57 +01:00
Dan Brown
eb44748084
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2023-06-17 18:22:01 +01:00
Dan Brown
00b5dd7852
Users API: Fixed incorrect created_at date on index endpoint
...
For #4325
2023-06-17 18:18:17 +01:00
Dan Brown
9f4450fea9
Merge pull request #4322 from BookStackApp/comments_in_editor
...
Added read-only comments listing into page editor
2023-06-16 13:23:40 +01:00
Dan Brown
88aae5b004
Comments: Fixed failing tests due to unset template variable
2023-06-16 13:17:11 +01:00
Dan Brown
9a2ef7ef44
Comments: Added read-only listing into page editor
2023-06-16 13:08:04 +01:00
Thomas Kuschan
74097bd47c
Simplify ApiAuthException control flow
...
Remove unnecessary UnauthorizedException
and make ApiAuthException compatible with HttpExceptionInterface.
Move the creation of a rsponse for the exception
from ApiAuthenticate middleware into the application exception handler.
2023-06-16 10:00:02 +02:00
Thomas Kuschan
7249d947ec
Change JsonDebugException to Responsable interface
...
In all other exceptions, when a Response is supposed to be returned,
the Responsable interface is used instead of render.
2023-06-16 09:53:12 +02:00
Thomas Kuschan
c35080d6ce
Modify HttpFetchException handle to log exception
...
Within the flow of HttpFetchException, the actual exception from curl is preserved and logged. Make HttpFetchException a pretty exception for when it is shown to users.
2023-06-16 09:21:25 +02:00
Dan Brown
ec775aec02
Merge branch 'fix-api-404' into development
2023-06-15 17:08:51 +01:00
Dan Brown
e72cf61f7e
Exceptions: Added some types, simplified some classes
...
During review of #4291
2023-06-15 17:07:40 +01:00
Jean-René Rouet
bb3ce845b4
Merge branch 'BookStackApp:development' into add-priority
2023-06-15 16:55:14 +02:00
Dan Brown
70be2e8c9e
CSS: Reduced styles used in export formats
...
Extracted many main page content styles to own scss partial.
Styles could do with a more general clean-up.
Closes #4303
2023-06-14 13:19:29 +01:00
Dan Brown
610ad0d613
Updated fonts to be defined via CSS variables
...
Exports system remains separate due to lacking css variable support.
2023-06-14 12:53:48 +01:00
Thomas Kuschan
34d8268b2b
Refactor notify exception to clean up api exception handling
2023-06-14 11:08:20 +02:00
Thomas Kuschan
321a459421
Refactor exception handling by using interface
2023-06-13 18:52:02 +02:00
Dan Brown
56a40f1b23
Merge pull request #4301 from BookStackApp/css_color_variables
...
CSS: Updated status colors to be CSS variables, Added dark variants
2023-06-13 15:54:27 +01:00
Dan Brown
f7ad387a10
CSS: Updated status colors to be CSS variables, Added dark variants
...
Needed some level of harcoding though due to callouts using colors,
which can't be css colors as DOMPDF won't understand these.
Use css variables elsewhere and added new dark variants to fit a bit
better.
2023-06-13 15:52:33 +01:00
Dan Brown
b01bbf9c89
Page Drafts: Added new "Delete Draft" action to draft menu
...
Provides a way for users to actually delte their user drafts where
required.
For #3927
Added test to cover new endpoint.
Makes update to MD editor #setText so that new selection is within new
range, otherwise it errors and fails operation.
2023-06-13 15:13:07 +01:00
Dan Brown
f39938c4e3
Added activity text for each activity type
...
Ensures some sensible text is always in webhook text data.
Also aligned some notification reporting to use centralised activity
system instead of custom success events.
For #4216
2023-06-12 16:47:36 +01:00
Jean-René ROUET
458cea3644
[API] add priority in book read
...
[API] add priority in chapter create and update
[API] add priority in page create and update
2023-06-12 15:12:46 +02:00
Dan Brown
af0b4fa851
Search: Updated popular items query, load parent book for chapters/pages
...
Primarily intended to show parent book for chapters when moving/copying
pages, since the default parent selector interfaces, which used the
entity-selector search endpoint, would run this popular query when no
term was present as a default backup.
For #4264
2023-06-10 15:08:07 +01:00
Dan Brown
777027bc48
Permissions: Updated guest user handling so additional roles apply
...
Previously additional roles would only partially apply (system or "all"
permissions). This aligns the query-handling of permissions so that
additional roles will be used for permission queries.
Adds migration to detach existing roles as a safety precaution since
this is likely to widen permissions in scenarios that the public user
has other roles assigned already.
For #1229
2023-06-10 11:37:01 +01:00
Dan Brown
1e220c473f
API: Fixed misaligned image datetime format
...
For #4294
2023-06-10 10:54:56 +01:00
Dan Brown
59c7077fd9
Fixed error on pages without comments
2023-06-09 19:21:49 +01:00
Dan Brown
07de6ecdc5
Merge pull request #4286 from BookStackApp/comment_threads
...
Comment threads
2023-06-09 17:39:02 +01:00
Dan Brown
19e39ddd1f
Comments: Updated reply-to and general styling
...
Updated reply inidicator to fit with new nesting system, only showing on
view when nest within nesting structure.
Updated the general design to be a bit cleaner and better adapt on
mobile.
Tested on FF+Chrome, inc. dark mode.
2023-06-09 17:36:30 +01:00
Dan Brown
3bede42121
Comments: Added visual nesting limit, added nesting test
2023-06-09 11:12:39 +01:00
Dan Brown
3b46b92bb9
Comments: Updated to show form in expected location
...
Includes a change of create response to use a branch as a template.
2023-06-08 15:09:54 +01:00
Thomas Kuschan
9ba7d1e6c5
Fix "HTTP 500 on not found" bug #4290
2023-06-08 10:50:12 +02:00
Thomas Kuschan
ecf99fa0ed
Add test showing the "HTTP 500 on not found" bug
2023-06-08 09:53:53 +02:00
Dan Brown
154924cc0c
Comments: updated component and split out code
...
Split out comment component code so single-comment actions (delete, edit) are handled within their own compontent.
Modernised existing component code.
2023-06-07 17:47:37 +01:00
Dan Brown
4b9f6beb37
Comments: Updated to show as nested threads
...
Initial functional implementation, a lot of tweaking and adapting to be
done.
2023-06-07 13:24:49 +01:00
Dan Brown
88785aa71b
Page display pointer: Considerably improved accessibility
...
- Updated pointer to move within content DOM so that you can back-focus
into the pointer if desired.
- Added new "Section select mode" which toggles focusabiltiy for main
content sections, with ability to show pointer via enter press on
these.
- Updated pointer with proper input/button labelling.
Tested via orca screen reader on Firefox/Fedora/Gnome.
For #3975
2023-05-31 16:44:20 +01:00
Dan Brown
0323ebccd3
Chapters API: Allowed move via book_id property
...
Aligns it with pages and with the book_id property already being part of
the API.
For #4272 .
2023-05-30 20:55:24 +01:00
Dan Brown
3f5dc10cd4
Altered ldap_connect usage, cleaned up LDAP classes
...
Primarily updated ldap_connect to avoid usage of deprecated syntax.
Updated tests and service to handle as expected.
Cleaned up syntax and types in classes while there.
Closes #4274
2023-05-30 13:12:00 +01:00
Dan Brown
242d23788d
Merge pull request #4265 from BookStackApp/image_manager_responsive
...
Enhanced Responsive Image Manager
2023-05-29 16:52:55 +01:00
Dan Brown
08c73f02c9
Removed forced initial image manager display
2023-05-29 16:23:37 +01:00
Dan Brown
a139c2a8a2
Image manager: Improved screen reader usage
...
Added extra labels, or removed duplicate info, to improve screen reader
ux after testing via gnome/fedora/firefox screen reader usage testing.
2023-05-29 16:21:44 +01:00
Dan Brown
f5ef52ca59
Image manager: cleaned up style changes, dark mode support
...
- Updated tab handling to be smarter on initial tab selection, to first
target non-hidden tab panels where they may be handled server-side.
- Extracted contained search box handling styles to _forms.scss, after
merging with image-manager-specific styles since this is only usage of
contained variant.
- Aligned focus handling on image manager UI elements.
2023-05-29 15:50:36 +01:00
Dan Brown
948e95e1ad
Updated test to align with image manager HTML changes
2023-05-29 15:16:16 +01:00
Dan Brown
cd4b612019
Image update API: added update image file ability
2023-05-29 15:06:17 +01:00
Dan Brown
f78c0635ee
Fixed bad /api docs redirection on sub path
...
Direct route redirect does not seem to go via standard URL generator so
misses off generation via base URL.
2023-05-29 14:41:59 +01:00
Dan Brown
e3c4a9d167
Added the ability to replace existing image files
...
- Updated UI with image form dropdown containing delete and replace
image actions.
- Adds new endpoint and service/repo handling for replacing existing
image.
- Includes tests to cover.
2023-05-28 17:32:22 +01:00
Dan Brown
9ff7c97911
Image manager: Added extra detail below image edit form
2023-05-28 12:07:19 +01:00
Dan Brown
89d6d862fa
Image manager: extracted lang text, updated anims and search cancel
...
- Updated search cancel to only show when a search is active.
- Updated gallery image load animation to be much faster.
2023-05-28 11:37:49 +01:00
Dan Brown
946c9ae804
Image manager: supported a tabbed interface on mobile
...
Makes interface relatively usable now on mobile sizes.
Required updating of tab handling to support tabs being active at only
mobile screen sizes, include change on resize, upon support for
potentially nested tab usage.
Tab component will now search within sensible depths for finding its own
tabs and panels to control.
2023-05-27 16:58:10 +01:00
Dan Brown
dc6133c4c4
Image manager: added ability to trigger load more via scroll
2023-05-26 18:05:29 +01:00
Dan Brown
6c91e09c73
Image manager: Redesigned header bar(s)
2023-05-26 14:30:59 +01:00
Dan Brown
e467324658
Updated image manager to use grid-based css
2023-05-24 17:07:32 +01:00
Dan Brown
4c726201f9
Merge pull request #4262 from BookStackApp/command_cleanup
...
Command cleanup & alignment
2023-05-24 13:22:25 +01:00
Dan Brown
431aeefdda
Updated command classes to include "Command" in name
2023-05-24 13:21:46 +01:00
Dan Brown
c0620da9f8
Aligned command class code
...
- Aligned usage of injecting through handler.
- Aligned handler return type.
- Aligned argument and arg desc format.
- Aligned lack of constructor.
2023-05-24 12:59:50 +01:00
Dan Brown
0704f1bd0d
Covered untested commands with testing
2023-05-24 10:34:43 +01:00
Dan Brown
3b31ac75ec
Merge pull request #4247 from BookStackApp/controller_cleanup
...
Revised `app/` folder layout/structure
2023-05-24 09:12:49 +01:00
Dan Brown
df6326e5ab
Fixed failing references after controller/file reshuffle
2023-05-24 09:06:15 +01:00
Dan Brown
4ac8ecad6b
Updated version and assets for release v23.05.2
2023-05-23 12:36:46 +01:00
Dan Brown
903e88c700
Merge branch 'development' into release
2023-05-23 12:36:29 +01:00
Dan Brown
c0d5e158d7
Updated translation attribution before v23.05.2
2023-05-23 12:32:39 +01:00
Dan Brown
99377d43c1
Updated php deps
2023-05-22 20:52:50 +01:00
Dan Brown
ebb1942fb8
Updated translations with latest Crowdin changes ( #4239 )
2023-05-22 20:51:22 +01:00
Dan Brown
152f7f3ad0
Merge pull request #4252 from BookStackApp/cli_update_2
...
Updated System CLI
2023-05-22 20:45:32 +01:00
Dan Brown
8a03442b5b
Merge pull request #4254 from BookStackApp/code_active_line
...
Updated code view block line highlighting to only show on focus
2023-05-22 20:44:05 +01:00
Dan Brown
e591f4896e
Allowed attachment drag via main text link
...
Enables easier sorting and dragging of box into content.
Related to #591
2023-05-22 20:23:19 +01:00
Dan Brown
6a7bc68b61
Allowed button-based multi-file uploads
...
Likely something that worked via dropzone before.
This adds support for our custom dropzone file handling.
Related to #4241
2023-05-22 14:20:20 +01:00
Dan Brown
924f517217
Updated code view block line highlighting to only show on focus
...
The default 1st line highlighting confused users when existing on
read-only blocks as it was not clear this represented the active line.
This changes the highlight to only show when the block is focused upon.
2023-05-22 14:05:07 +01:00
Dan Brown
150b40edc1
Updated System CLI
...
- Fixed a range of additional issues involving symlinks.
- Fixed incorrect app locating relative to system cli.
2023-05-22 10:28:12 +01:00
Dan Brown
141eecb858
Cleaned up namespacing in routes
...
Also moved home controller and moved controllers up a level in http.
2023-05-18 20:57:05 +01:00
Dan Brown
295cd01605
Played around with a new app structure
2023-05-17 17:56:55 +01:00
Dan Brown
ed96aa820e
Updated version and assets for release v23.05.1
2023-05-08 16:05:50 +01:00
Dan Brown
63ec079b7b
Merge branch 'development' into release
2023-05-08 16:04:51 +01:00
Dan Brown
c17906c758
Updated translator attribution before release v23.05.1
2023-05-08 16:04:02 +01:00
Dan Brown
62d5701578
Merge pull request #4229 from BookStackApp/cli-update
...
Updated system CLI
2023-05-08 15:21:04 +01:00
Dan Brown
9f1a6947ab
Updated system CLI
...
- Fixed wrong env details being used on restore.
- Updated update-url on restore actually work.
- Added better support for symlinked locations.
- Added warning against updating in docker-like (non git controlled)
environments.
2023-05-08 15:16:30 +01:00
Dan Brown
ae90776927
Updated translations with latest Crowdin changes ( #4211 )
2023-05-08 14:49:01 +01:00
Dan Brown
4489f65371
Fixed code block line-number bar showing in exports
...
Also fixed in print view.
Likely crept in during CM6 changes.
For #4215
2023-05-08 14:45:45 +01:00
Dan Brown
ee1e047964
Updated php deps, formatted command changes
2023-05-08 14:37:01 +01:00
Dan Brown
8846f7d255
Prevented shorcuts activating when in codemirror areas
...
For #4227
2023-05-08 14:28:03 +01:00
Dan Brown
2523cee0e2
WYSWIYG code blocks: copied head styles into shadow root
...
Currently only link-based styles are made available in the shadow root
code editor environment, this adds normal styles to apply any user-added
via custom head content.
Fixes #4228
2023-05-08 12:21:53 +01:00
Dan Brown
b5cc0a8e38
Fixed added padding around hr tags in details blocks
...
Due to manual handling & wrapping of non-block content in details block
not taking hr elements into account.
For #3963
2023-05-08 12:01:52 +01:00
Dan Brown
3bcbf6b9c5
Added WYSWIYG editor code editor cancel focus return
...
Focus now returns to the editor properly when you quit out the code
editor without saving.
This also sets the return location to be correct on normal saving (Would
sometimes jump to the end of the document).
For #4109 .
2023-05-07 19:36:10 +01:00
Dan Brown
573bc3ec45
Added force option for update-url command
...
Includes test to cover.
Closes #4223
2023-05-06 23:05:25 +01:00
Dan Brown
d485fcb3db
Updated version and assets for release v23.05
2023-05-03 11:05:33 +01:00
Dan Brown
0f895668a4
Merge branch 'development' into release
2023-05-03 11:03:29 +01:00
Dan Brown
57bdd83d8c
Added mostodon badge in readme, updated CLI
2023-05-03 10:57:09 +01:00
Dan Brown
ce0b75294f
Set page include limit to be 3 as expected instead of 4
2023-05-02 12:44:55 +01:00
Dan Brown
4bb2b31bc9
Updated translator attribution pre v23.05 release
2023-05-01 19:39:20 +01:00
Dan Brown
9d74508ae3
Updated translations with latest Crowdin changes ( #4163 )
2023-05-01 19:37:49 +01:00
Dan Brown
c41baa1b76
Updated CLI & PHP deps, added gitignore for local composer
2023-05-01 18:44:46 +01:00
Dan Brown
cd32597d4d
Fixed broken favourites in code editor
2023-05-01 18:43:03 +01:00
Dan Brown
8594656f6e
Merge pull request #4206 from BookStackApp/system_cli
...
Added System CLI
2023-04-28 19:17:38 +01:00
Dan Brown
0aca1c2332
Added system cli, and created backups directory
2023-04-28 19:08:45 +01:00
Dan Brown
8c738aedee
Added sessionindex to SAML2 single logout request to idp
...
related to #3936
2023-04-28 13:55:25 +01:00
Dan Brown
f64ce71afc
Added oidc_id_token_pre_validate logical theme event
...
For #4200
2023-04-27 23:40:14 +01:00
Dan Brown
277d5392fb
Merge branch 'esakkiraja100116/development' into development
2023-04-27 16:34:14 +01:00
Dan Brown
23c35af9ef
Review of #4202 , Rolled out to other searches, added testing
2023-04-27 16:33:24 +01:00
esakkiraja100116
78fecdfcb0
suggesstion issue fix ( #4175 )
2023-04-27 16:32:39 +01:00
SnowCode
a9d952560d
Adding a video { width: 100%; } ( #4204 )
...
* Adding a video { width: 100%; }
This is to prevent that videos included in pages don't exceed the page border
* Reverting precedent commit
* Adding a video { max-width: 100% } instead
2023-04-27 15:58:35 +01:00
Dan Brown
56f234d1ee
Review of #4192 , Fixed formatting and added test
2023-04-27 15:52:16 +01:00
jasonF1000
011800d425
changed PageContent.php to accept nested includes ( #4192 )
...
* changed app/Entities/Tools/PageContent.php to accept nested include levels. Tested it and it works.
* changed recommendations
This loop is now only around parsePageIncludes and bugfixes the space indentation.
* Update PageContent.php
fix spaces
2023-04-27 15:51:46 +01:00
Dan Brown
647ce6c237
Fixed sort urls with no params not building full path
...
The provided partial path would be return which may not resolve to the
full URL when used on systems like those hosting BookStack on a
sub-path.
Fixes #4201
2023-04-27 13:49:22 +01:00
Dan Brown
607da73109
Merge pull request #4193 from BookStackApp/custom_dropzone
...
Custom dropzone implementation
2023-04-27 13:43:38 +01:00
Dan Brown
1135d477ba
Fixed linting and failing test issues from dropzone work
2023-04-27 13:31:03 +01:00
Dan Brown
a4a96a3df7
Dropzone: Adjusted styles for dark mode
2023-04-27 12:55:05 +01:00
Dan Brown
38e8a96dcd
Removed dropzone from package and attribution list
2023-04-26 23:35:25 +01:00
Dan Brown
9a17656f88
dropzone: Addressed existing todos, cleaned attachment ux
...
Updated dom layout of attahcments to prevent nested dropzones (No issue
but potential to be one) and updated edit form dropzone handling so the
dropzone item card was not as distracting.
2023-04-26 23:31:38 +01:00
Dan Brown
e36cdaad0d
Updated attachments to work with new dropzone
...
- Fixes existing broken attachment edit tabs.
- Redesigns area to move away from old tabbed interface.
- Integrates new dropzone system, for both addition and edit.
2023-04-26 16:41:34 +01:00
Dan Brown
722c38d576
Image manager: fix upload control for drawing, updated styles
...
- Tightened image manager styles to address things that looked akward.
- Prevented visiblity/use of upload controls for drawings.
- Updated dropzone to use error handling from validation messages.
2023-04-26 14:25:56 +01:00
Dan Brown
8cd6c797e8
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2023-04-26 01:43:16 +01:00
Dan Brown
dff45e2c5d
Fixed broken shortcut hint overlay
...
Also updated event handler usage to use abort controller while there.
2023-04-26 01:42:12 +01:00
Dan Brown
61d2ea6ac7
Dropzone: Polished image manager elements
...
- Added file placeholder for non-image uploads.
- Added use of upload limits.
- Removed upload timeout variable.
- Added pass-through and usage of filetypes.
- Extracted some view text to language files and made use of existing
text.
2023-04-25 16:41:39 +01:00
Esakkiraja
752562d23d
.vscode folder is added in .gitignore file ( #4197 )
...
Squash of 7 commits.
---------
Co-authored-by: esakkiraja100116 <esakkiraja100116@gmai.com >
2023-04-25 15:25:31 +01:00
Dan Brown
b21a9007c5
Dropzone: Developed ux further
...
- Added image manager button for uploads.
- Added image manager placeholder sidebar text for guidance.
- Improved dropzone layer styling.
- Removed old dropzone styles.
- Got success events and auto-hide working.
- Updated upload items to animate out.
2023-04-25 13:10:25 +01:00
Dan Brown
a8fc29a31e
Dropzone: started on design/ui of uploading
...
- Added new wider target handling.
- Updated upload item dom with design and seperate "landing" zone.
- Added new helper for simple dom element creation.
2023-04-24 23:24:58 +01:00
Dan Brown
36116a45d4
Dropzone: Swapped fetch for XHR for progress tracking
2023-04-24 18:18:08 +01:00
Dan Brown
23915c3b1a
Started custom dropzone implementation
2023-04-24 16:19:20 +01:00
Dan Brown
55af22b487
Merge pull request #4191 from tigsikram/fix-api-docs-timestamp
...
Fix timestamp in API docs example response
2023-04-24 14:46:40 +01:00
Mark Weiler
01f3f4d315
Fix timestamp in API docs example response
2023-04-24 11:19:00 +02:00
Dan Brown
58cadce052
Merge branch 'feature/mail-verify-peer' into development
2023-04-23 15:05:13 +01:00
Dan Brown
1de72d09ca
Mail: updated peer verify option name and added test
2023-04-23 15:04:35 +01:00
Dan Brown
fa6fcc1c1c
Added clojure code language option
...
For #4112
2023-04-23 14:16:31 +01:00
Dan Brown
a46b438a4c
Merge branch 'wkhtmltopdf-env-example' into development
2023-04-21 11:56:31 +01:00
Dan Brown
7505443a0c
Updated complete env wkhtml text and added advisory
...
Added advisory to start to refer to docs for full details.
Updated added WKHTMLTOPDF option text.
2023-04-21 11:54:23 +01:00
Dan Brown
f837083c12
Updated php deps
2023-04-21 11:37:41 +01:00
Dan Brown
e1bd13f481
Edits from reviewing public events page
2023-04-20 16:54:11 +01:00
Dan Brown
c74f7cc628
Documented public JS events used
...
Related to #4179
2023-04-20 16:25:48 +01:00
Dan Brown
9f467f4052
Merge pull request #4181 from BookStackApp/js_formatting
...
Added standard JS formatting via ESLint
2023-04-19 23:01:10 +01:00
Dan Brown
974390688d
ESLINT: Added GH action and details to dev docs
2023-04-19 22:56:55 +01:00
Dan Brown
da3ae3ba8b
ESLINT: Addressed remaining detected issues
2023-04-19 15:20:04 +01:00
Dan Brown
0519e58fbf
ESLINT: Started inital pass at addressing issues
2023-04-19 10:46:13 +01:00
Dan Brown
e711290d8b
Ran eslint fix on existing codebase
...
Had to do some manual fixing of the app.js file due to misplaced
comments
2023-04-18 22:20:02 +01:00
Dan Brown
752ee664c2
Added code formatting standard via eslint
2023-04-18 22:19:27 +01:00
Dan Brown
69d03042c6
Merge pull request #3617 from BookStackApp/codemirror6
...
Upgrade to codemirror 6
2023-04-18 15:35:39 +01:00
Dan Brown
baf5edd73a
CM6: Further fixes/improvements after testing
...
- Updated event naming to be "cm6" when codemirror-specific.
- Removed cm block border in md editor to prevent double bordering.
- Updated copy handling to fallback to execCommand.
2023-04-18 15:08:17 +01:00
Dan Brown
3e738b1471
CM6: Fixed a range of issues during browser testing
...
- Fixed some keybindings not running as expected, due to some editor
defaults overriding or further actions taking place since the action
would not indicate it's been dealt with (by returning boolean).
- Fixed spacing/border-radius being used on codeblocks on non-intended
areas like the MD editor.
- Fixed lack of BG on default light theme, visible on full screen md
editor.
- Fixed error thrown when the user does not have access to change the
current editor (Likely non-cm related existing issue)
2023-04-18 14:21:22 +01:00
Dan Brown
94f464cd14
CM6: Added tabbing, fixed dark mode border in WYSIWYG
2023-04-18 13:43:59 +01:00
Dan Brown
900571ac9c
CM6: Updated for popup editor, added new interface
...
New simple interface added for abstraction of CM editor in simple
use-cases, just to provide common actions like get/set content, focus
and set mode.
2023-04-17 13:24:29 +01:00
Dan Brown
09fd0bc5b7
CM6: Got WYSIWYG code blocks working
...
Required monkey-patch to work around potential codemirror issue with
shadowdom+iframe usage.
Also updated JS packages to latest versions.
2023-04-16 23:50:11 +01:00
Dan Brown
74b4751a1c
CM6: Aligned styling with existing, improved theme handling
2023-04-16 16:05:16 +01:00
Dan Brown
74b76ecdb9
Updated cm6 theme handling to allow extension via API
...
Uses our custom event system, uses methods that take callables so that
internal dependancies can be passed.
2023-04-15 15:35:41 +01:00
Dan Brown
9874a53206
Added cm6 strategy for splitting and dyn. loading langs
...
Split out legacy modes to their own dynamically imported bundle to
reduce main code bundle size.
2023-04-14 18:08:57 +01:00
Dan Brown
257a703878
Addressed existing cm6 todos
...
- Updated clipboard handling
- Removed old clipboard package for browser-native API.
- Updated codemirror editor events to use new props for new data types.
2023-04-14 14:08:40 +01:00
Dan Brown
fdda813d5f
Cleaned up change handling in cm6 editor action handling
2023-04-13 17:38:11 +01:00
Dan Brown
6f45d34bf8
Finished update pass of all md editor actions to cm6
2023-04-13 17:18:32 +01:00
Dan Brown
32c765d0c3
Updated another range of actions for cm6
2023-04-13 12:51:52 +01:00
Dan Brown
9813c94720
Made a start on updating editor actions
2023-04-11 13:16:04 +01:00
Dan Brown
da3e4f5f75
Got md shortcuts working, marked actions for update
2023-04-11 11:48:58 +01:00
Dan Brown
572037ef1f
Got markdown editor barely functional
...
Updated content sync and preview scoll sync to work.
Many features commented out until they can be updated.
2023-04-10 15:01:44 +01:00
Dan Brown
50f3c10f19
Merge branch 'v23.02-branch' into development
2023-04-07 18:12:00 +01:00
Dan Brown
6c577ac3bf
Updated version and assets for release v23.02.3
2023-04-07 18:07:32 +01:00
Dan Brown
31cc2423d2
Merge branch 'v23.02-branch' into release
2023-04-07 18:07:09 +01:00
Dan Brown
3f3f221e0d
Updated translator attribution before release v23.02.3
2023-04-07 18:06:44 +01:00
Dan Brown
d0f970fe4f
Updated translations with latest Crowdin changes ( #4131 )
2023-04-07 18:00:03 +01:00
Dan Brown
95b75c067f
Updated translations with latest Crowdin changes ( #4131 )
2023-04-07 17:59:34 +01:00
Dan Brown
81134e7071
Fixed tag numbering in last commit
2023-04-07 17:54:17 +01:00
Dan Brown
e722ee4268
Fixed click issue with tag suggestions in safari
...
Updated selectable elements to be divs instead of buttons since Safari
akwardly does not focus on buttons on click.
Also standardised keyboard handling to our standard nav class.
Also addressed empty tag values showing in results.
For #4139
2023-04-07 17:50:57 +01:00
Dan Brown
fd674d10e3
Fixed error upon user delete with no migration id
...
Fixes #4162
2023-04-07 15:57:21 +01:00
Dan Brown
4835a0dcb1
Cleaned up old token services
2023-04-04 10:44:38 +01:00
Daiki Urata
d353e87ca1
Add WKHTMLTOPDF to .env.example.complete
2023-03-30 17:58:17 +09:00
Dan Brown
8e64324d62
Merge branch 'v23.02-branch' into development
2023-03-25 12:33:59 +00:00
Dan Brown
c9ed32e518
Updated version and assets for release v23.02.2
2023-03-25 12:27:32 +00:00
Dan Brown
6b4c3a0969
Merge branch 'v23.02-branch' into release
2023-03-25 12:27:05 +00:00
Dan Brown
0a0fdd7f3e
Fixed delete role failing with no migrate role provided
...
For #4128
2023-03-25 12:21:22 +00:00
Dan Brown
3410cf21cb
Updated php deps
2023-03-25 12:21:04 +00:00
Dan Brown
6e284d7a6c
Fixed issue with user delete ownership not migrating
...
Caused by input not being part of the submitted form.
Updated test to ensure the input is within a form.
For #4124
2023-03-25 12:20:49 +00:00
Dan Brown
ea7914422c
Updated php deps
2023-03-25 12:20:13 +00:00
Dan Brown
509cab3e28
Merged latest crowdin changes
2023-03-25 12:18:45 +00:00
Dan Brown
dde38e91b5
Fixed delete role failing with no migrate role provided
...
For #4128
2023-03-25 12:08:45 +00:00
Dan Brown
970088a8a1
Updated php deps
2023-03-24 14:46:30 +00:00
Dan Brown
0e43618dda
Fixed issue with user delete ownership not migrating
...
Caused by input not being part of the submitted form.
Updated test to ensure the input is within a form.
For #4124
2023-03-24 14:43:48 +00:00
Vincent Bernat
f2293a70f8
Allow a user to disable peer check when using TLS/STARTTLS
...
This is useful when developing and on Docker setups. Despite setting
encryption to null, if a server supports STARTTLS with a self-signed
certificate, the mailer try to upgrade the connection with STARTTLS.
2023-03-24 09:34:37 +01:00
Dan Brown
dce5123452
Added own twig/smarty packages for cm6 lang support
2023-03-21 20:53:35 +00:00
Dan Brown
c81cb6f2af
Merge branch 'development' into codemirror6
2023-03-19 10:22:44 +00:00
Dan Brown
9b66e93b15
Merge pull request #4103 from BookStackApp/image_api
...
Image API Endpoints
2023-03-15 11:45:36 +00:00
Dan Brown
402eb845ab
Added examples, updated docs for image gallery api endpoints
2023-03-15 11:37:03 +00:00
Dan Brown
3a808fd768
Added phpunit tests to cover image API endpoints
2023-03-14 19:29:08 +00:00
Dan Brown
d9eec6d82c
Started Image API build
2023-03-14 12:19:19 +00:00
Dan Brown
6357056d7b
Updated php deps
2023-03-13 21:03:00 +00:00
Dan Brown
a369971e04
Merge pull request #4099 from BookStackApp/permissions_api
...
Content-Permissions API Endpoints
2023-03-13 20:55:44 +00:00
Dan Brown
1903924829
Added content-perms API examples and docs tweaks
2023-03-13 20:41:32 +00:00
Dan Brown
0de7530059
Tweaked content permission endpoints, covered with tests
2023-03-13 20:06:52 +00:00
Dan Brown
c42956bcaf
Started build of content-permissions API endpoints
2023-03-13 13:18:33 +00:00
Dan Brown
7b5111571c
Removed bookstack wording instances in color setting options
2023-02-28 01:01:25 +00:00
Dan Brown
2dad92d1bd
Updated version and assets for release v23.02.1
2023-02-27 19:26:13 +00:00
Dan Brown
c1fb7ab7dc
Merge branch 'development' into release
2023-02-27 19:23:33 +00:00
Dan Brown
3464f5e961
Updated translations with latest Crowdin changes ( #4066 )
2023-02-27 19:19:03 +00:00
Dan Brown
7c27d26161
Fixed language locale setting issue
...
Attempted to access an array that had been filtered and therefore could
have holes within, including as position 0 which would then be
accessed.
Also added cs language to internal map
Related to #4068
2023-02-27 19:14:45 +00:00
Dan Brown
98315f3899
Updated version and assets for release v23.02
2023-02-26 11:03:49 +00:00
Dan Brown
8c82aaabd6
Merge branch 'development' into release
2023-02-26 11:02:56 +00:00
Dan Brown
c7e33d1981
Fixed caching issue when running tests
2023-02-26 10:50:14 +00:00
Dan Brown
ba21b54195
Updated translations with latest Crowdin changes ( #4025 )
2023-02-26 10:36:15 +00:00
Dan Brown
f35c42b0b8
Updated php deps and translaters in prep for v23.02
2023-02-25 17:35:21 +00:00
Dan Brown
b88b1bef2c
Added updated_at index to pages table
...
This has a large impact on some areas where latest updated pages are
shown, such as the homepage for example.
2023-02-23 23:06:12 +00:00
Dan Brown
8abb41abbd
Added caching to the loading of system roles
...
Admin system role was being loaded for each permission check performed.
This caches the fetching for the request lifetime.
2023-02-23 23:01:03 +00:00
Dan Brown
a031edec16
Fixed old deprecated encoding convert on HTML doc load
2023-02-23 22:59:26 +00:00
Dan Brown
2724b2867b
Merge pull request #4062 from BookStackApp/settings_perf
...
Changed the way settings are loaded
2023-02-23 22:22:32 +00:00
Dan Brown
8bebea4cca
Changed the way settings are loaded
...
This new method batch-loads them from the database, and removes the
cache-layer with the intention that a couple of batch fetches from the
DB is more efficient than hitting the cache each time.
2023-02-23 22:14:47 +00:00
Dan Brown
6545afacd6
Changed autosave handling for better editor performance
...
This changes how the editors interact with the parent page-editor
compontent, which handles auto-saving.
Instead of blasting the full editor content upon any change to that
parent compontent, the editors just alert of a change, without the
content. The parent compontent then requests the editor content from the
editor component when it needs that data for an autosave.
For #3981
2023-02-23 12:30:27 +00:00
Dan Brown
31495758a9
Made page-save HTML formatting much more efficient
...
Replaced the existing xpath-heavy system with a more manual traversal
approach. Fixes following slow areas of old system:
- Old system would repeat ID-setting action for elements (Headers could
be processed up to three times).
- Old system had a few very open xpath queries for headers.
- Old system would update links on every ID change, which triggers it's
own xpath query for links, leading to exponential scaling issues.
New system only does one xpath query for links when changes are needed.
Added test to cover.
For #3932
2023-02-22 14:32:40 +00:00
Dan Brown
c80396136f
Increased attachment link limit from 192 to 2k
...
Added test to cover.
Did attempt a 64k limit, but values over 2k significantly increase
chance of other issues since this URL may be used in redirect headers.
Would rather catch issues in-app.
For #4044
2023-02-20 13:05:23 +00:00
Dan Brown
8da3e64039
Updated language files to remove literal "1" values
...
This is to encourge the ":count" values to be used instead of 1s in the
translated variants so that non-pluralised languages are hardcoded with
"1"s in their content, even when not used in a singular context.
For #4040
2023-02-20 12:05:52 +00:00
Dan Brown
c1167f8821
Merge pull request #4051 from BookStackApp/roles_api
...
User Roles API Endpoint
2023-02-19 16:11:30 +00:00
Dan Brown
4176b598ce
Fixed unselectable checkbox role form options
2023-02-19 16:03:50 +00:00
Dan Brown
950c02e996
Added role API responses & requests
...
Also applied other slight tweaks and comment updates based upon manual
endpoint testing.
2023-02-19 15:58:29 +00:00
Dan Brown
9502f349a2
Updated test to have reliable check ordering
2023-02-18 19:01:38 +00:00
Dan Brown
3c3c2ae9b5
Set order to role permissions API response
2023-02-18 18:50:01 +00:00
Dan Brown
723f108bd9
Aded roles API controller methods
...
Altered & updated permissions repo, and existing connected
RoleController to suit.
Also extracts in-app success notifications to auto activity system.
Tweaked tests where required.
2023-02-18 18:36:34 +00:00
Dan Brown
55456a57d6
Added tests for not-yet-built role API endpoints
2023-02-18 13:51:18 +00:00
Dan Brown
c148e2f3d9
Added esbuild bundle inspection metafile
2023-02-17 22:37:13 +00:00
Dan Brown
f51036b203
Added newer languages where possible
...
Cannot find existing option for twig/smarty, need to look other methods.
2023-02-17 22:14:34 +00:00
Dan Brown
9135a85de4
Merge branch 'codemirror6' into codemirror6_take2
2023-02-17 21:28:23 +00:00
Dan Brown
fd45d280b4
Updated tinymce from 6.1.0 to 6.3.1
2023-02-17 21:16:42 +00:00
Dan Brown
524adce654
Merge pull request #4049 from BookStackApp/shelf_book_sort_updates
...
Shelf book sort improvements
2023-02-17 16:20:59 +00:00
Dan Brown
f799c9b260
Applied shelf book sort changes from testing
...
Added better labelling of sort lists for screen readers.
Fadded out sort-item action buttons until hovering for a cleaner look.
2023-02-17 16:18:24 +00:00
Dan Brown
9c26ccf43d
Added shelf book item sort action functionality
...
Adds JS logic, and dropdown action list, for quick-sorting the book
shelf list in addition to handling the book item action buttons.
2023-02-17 15:53:24 +00:00
Dan Brown
71a09bcf6e
Started accessible controls for shelf book sort
...
Added buttons and fit to design.
Added new icon variations to support.
Extracted book item to own view and setup for future auto sorts.
2023-02-17 15:05:28 +00:00
Dan Brown
af31a6fc1b
Made sendmail command configurable
...
For #4001
Added simple test to cover config option.
2023-02-17 14:25:38 +00:00
Dan Brown
08b39500b3
Fixed gallery images not visible until draft publish
...
For #4028
2023-02-16 17:57:34 +00:00
Dan Brown
f9fcc9f3c7
Updated php deps
2023-02-16 17:27:09 +00:00
Dan Brown
0812184995
Added torutec as sponsor, updated license and version
2023-02-14 16:16:08 +00:00
Dan Brown
646f8f60c0
Merge pull request #4032 from BookStackApp/favicon
...
Generate favicon.ico file
2023-02-09 21:37:38 +00:00
Dan Brown
f333db8e4f
Added control-upon-access of the default favicon.ico file
2023-02-09 21:16:27 +00:00
Dan Brown
da42fc7457
Added default favicon creation upon access.
2023-02-09 20:57:35 +00:00
Dan Brown
48f1934387
Updated favicon gen to use png-based ICO
...
From testing, worked on Firefox, Chrome, Gnome Web
2023-02-09 17:47:33 +00:00
Dan Brown
2845e0003e
Got favicons better supported, can't get transparency right
...
Digging deeper, I don't think PHPGD supports 32bit bmp output which
complicates matters.
2023-02-09 15:14:41 +00:00
Dan Brown
1a189640f1
Integrated favicon handler with correct files & actions
...
Format does not look 100% correct though, won't show in Firefox/gimp.
2023-02-09 13:24:43 +00:00
Dan Brown
420f89af99
Built custom favicon.ico file creator
...
Followed wikipedia-defined ICO file format info, and used with
Intervention's good bmp support, to create a working proof-of-concept.
2023-02-08 23:06:42 +00:00
Dan Brown
da1a66abd3
Extracted test file handling to its own class
...
Closes #3995
2023-02-08 14:39:13 +00:00
Dan Brown
5d18e7df79
Removed deprecated syntax in old migration file
2023-02-08 13:20:00 +00:00
Dan Brown
ba25a3e1b7
Merge pull request #4021 from BookStackApp/laravel9
...
Upgrade framework to Laravel 9
2023-02-07 12:11:04 +00:00
Dan Brown
bc18dc7da6
Removed parallel testing, updated predis
...
Parallel testing paratest library caused issues due to a single version
not being compatibile across our php range. Removed for now as not
really worth the faff to get compatible.
2023-02-07 11:50:59 +00:00
Dan Brown
5e8ec56196
Fixed issues found from tests
2023-02-06 20:41:33 +00:00
Dan Brown
9ca088a4e2
Fixed static analysis issues
2023-02-06 20:00:44 +00:00
Dan Brown
008e7a4d25
Followed Laravel 9 update steps and file changes
2023-02-06 16:58:29 +00:00
Dan Brown
ce9b536b78
Updated version and assets for release v23.01.1
2023-02-02 12:29:26 +00:00
Dan Brown
d9c50e5bc1
Merge branch 'development' into release
2023-02-02 12:29:07 +00:00
Dan Brown
6e6f113336
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2023-02-02 12:17:06 +00:00
Dan Brown
f7441e2abc
Updated translations with latest Crowdin changes ( #4008 )
2023-02-02 12:16:56 +00:00
Dan Brown
28c168145f
Added missing app icon image
...
Fixes #4006
2023-02-02 11:49:06 +00:00
Dan Brown
c2115cab59
Updated php depenencies
2023-02-02 11:44:25 +00:00
Dan Brown
bf075f7dd8
Updated version and assets for release v23.01
2023-01-31 11:59:51 +00:00
Dan Brown
a4fd673285
Merge branch 'development' into release
2023-01-31 11:59:28 +00:00
Dan Brown
813d140213
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2023-01-31 11:39:21 +00:00
Dan Brown
3dc5942a85
Updated translation attribution before v23.01 release
2023-01-31 11:38:56 +00:00
Dan Brown
03e2a9b200
Updated translations with latest Crowdin changes ( #3925 )
2023-01-31 11:29:36 +00:00
Dan Brown
8367a94e90
Merge pull request #4002 from BookStackApp/color_upgrades
...
Better application color scheme control
2023-01-28 17:59:54 +00:00
Dan Brown
631546a68a
Adjusted/improved some color setting wording
2023-01-28 17:57:43 +00:00
Dan Brown
7751022c66
Updated migration to carry across more colors, updated export
...
Updated export to use link color for link.
Export will now copy primary color to link color options for stable
upgrades.
2023-01-28 17:49:48 +00:00
Dan Brown
f42ff59b43
Added migration of color settings to dark mode
2023-01-28 17:31:43 +00:00
Dan Brown
104621841b
Update JS to show live changes and set light color values
2023-01-28 17:11:15 +00:00
Dan Brown
c337439370
Rolled out use of seperate link color style
2023-01-28 16:06:11 +00:00
Dan Brown
65ebdb7234
Added usage and defaults for dark colors
2023-01-28 15:20:08 +00:00
Dan Brown
e708ce93ba
Updated generic tab styles and js to force accessible usage
...
Added use of more accessible tags to create tabbed-interfaces then
updated css and JS to require use of those attributes rather than custom
techniques.
Updated relevant parts of app.
Some custom parts using their own tabs though, something to improve in
future.
2023-01-28 12:50:51 +00:00
Dan Brown
1f69965c1e
Updated settings view to have dark-mode color options
...
Also added link color option, not yet used.
Cleaned up tabbed interface control design as part of this.
2023-01-28 11:50:46 +00:00
Dan Brown
d7723b33f3
Merge pull request #3999 from BookStackApp/sort_ui_improvements
...
Improve Book Sorting User Experience
2023-01-27 18:02:14 +00:00
Dan Brown
87e371ffde
Added prevention of nested chapters on sort
2023-01-27 17:39:51 +00:00
Dan Brown
b649738718
Made book-sort changes based on screen reader testing
...
- Removed having sort items in tabbing order since they have no action.
- Updated "show other books" list to add upon single selection since it
was not clear how these were added (double press) without then seeing
the add button, and even then the add button would be after the scroll
list.
2023-01-27 17:06:39 +00:00
Dan Brown
022cbb9c00
Finished off design and fixing of sort buttons
2023-01-27 16:25:06 +00:00
Dan Brown
40e112fc5b
Extracted text & added dropdown for book sort move actions
...
Primarily styling and testing left to do.
2023-01-27 13:26:58 +00:00
Dan Brown
7cacbaadf0
Added functionality/logic for button-based sorting
2023-01-27 13:08:35 +00:00
Dan Brown
a3e7e754b9
Improves sortable ux
...
- Fixes multi-select functionality.
- Updated other books to be sticky.
- Added some general intro/desc text.
- Updated sort boxes to be collapsible.
- Cleaned up other books styling.
2023-01-27 11:16:17 +00:00
Dan Brown
03ad288aaa
Updated user avatar reset to clear relation id in database
...
Added test to cover.
For #3977
2023-01-26 17:15:09 +00:00
Dan Brown
811be3a36a
Added option to change the OIDC claim regarded as the ID
...
Defined via a OIDC_EXTERNAL_ID_CLAIM env option.
For #3914
2023-01-26 16:43:15 +00:00
Dan Brown
3202f96181
Tweak tag list to add new row on input instead of change
...
Prevented interferance with the user's action if they interacted with
something below the tags, since a new row would be added on blur and
hence shift down positions.
For #3931
2023-01-26 16:10:47 +00:00
Dan Brown
f6a6b11ec5
Added and addressed multi-role/own-role-perm/inheretance scenario
...
Found during manual testing.
Have checked against relation queries manually too.
2023-01-26 12:53:25 +00:00
Dan Brown
48df8725d8
Added better drawing load failure handling
...
Failure of loading drawings will now close the drawing view and show an
error message, hinting at file or permission issues, instead of leaving
the user facing a continuosly loading interface.
Adds test to cover.
This also updates errors from our HTTP service to be wrapped in a custom
error type for better identification and so the error is an actual
javascript error. Should be object compatible.
Related to #3955 .
2023-01-26 12:18:33 +00:00
Dan Brown
25bdd71477
Add scheme and sql-variant code language options
...
For #3954 and #3942
2023-01-26 11:26:20 +00:00
Dan Brown
deda331745
Fixed global search preview click on safari
...
Safari needs an element to be focusable to be able to use :focus-within.
For #3926
2023-01-25 21:46:26 +00:00
Dan Brown
f6d3944b20
Merge pull request #3994 from BookStackApp/app_icon_setting
...
Added ability to control app icon (favicon) via settings
2023-01-25 16:50:48 +00:00
Dan Brown
a50b0ea1e5
Covered app icon setting with testing
2023-01-25 16:41:41 +00:00
Dan Brown
3c658e39ab
Extracted app icon text, fixed issues
...
Tweaked sizes and meta tags based unpon ipad testing.
Fixed reduced sizes not being cleaned up.
2023-01-25 16:11:34 +00:00
Dan Brown
d8354255e7
Added practicali to sponsor list
2023-01-25 12:06:11 +00:00
Dan Brown
55b6a7842e
Added ability to control app icon (favicon) via settings
2023-01-25 11:03:19 +00:00
Dan Brown
0f113ec41f
Merge pull request #3986 from BookStackApp/permission_testing
...
Permission Testing & Alignment
2023-01-24 21:37:28 +00:00
Dan Brown
1fa5a31960
Fixed role entity permissions ignoring inheritance
...
Added additional scnenario tests to cover
2023-01-24 21:26:41 +00:00
Dan Brown
8be36455ab
Addressed fallback override cases found during testing
...
Had misalignment between query and usercan, The nuance between fallback
and entity-role permissions was not taken into account by the query
system. Now added with new test cases to cover.
2023-01-24 20:42:20 +00:00
Dan Brown
d1bd6d0e39
Fixed incorrect field in down migration
2023-01-24 19:21:23 +00:00
Dan Brown
1660e72cc5
Migrated remaining relation permission usages
...
Now all tests are passing.
Some level of manual checks to do.
2023-01-24 19:04:32 +00:00
Dan Brown
2d1f1abce4
Implemented alternate approach to current joint_permissions
...
Is a tweak upon the existing approach, mainly to store and query role
permission access in a way that allows muli-level states that may
override eachother. These states are represented in the new PermissionStatus
class.
This also simplifies how own permissions are stored and queried, to be
part of a single column.
2023-01-24 14:55:34 +00:00
Dan Brown
7d74575eb8
Found a sql having-style approach to permissions
...
As a way to check aggregate queries for required changes to need to
analyse across combined permission values.
2023-01-24 13:44:38 +00:00
Dan Brown
91e613fe60
Shared entity permission logic across both query methods
...
The runtime userCan() and the JointPermissionBuilder now share much of
the same logic for handling entity permission resolution.
2023-01-23 15:09:03 +00:00
Dan Brown
f3f2a0c1d5
Updated userCan logic to meet expectations in tests
...
Updated with similar logic to that used in the user_permissions branch,
but all extracted to a seperate class for doing all fetch and collapse
work.
2023-01-23 12:40:11 +00:00
Dan Brown
1c2ae7bff6
Added gmp extension to test workflow
...
If was not already enabled by default, should enable faster testing
handling as it helps the phpseclib usage for OIDC tokens in test rocket
through.
2023-01-21 21:34:39 +00:00
Dan Brown
78ebcb6f38
Addressed a range of deprecation warnings
...
Closes #3969
2023-01-21 20:50:04 +00:00
Dan Brown
28dda39260
Updated PHP and JS depenencies
2023-01-21 19:09:19 +00:00
Dan Brown
e2a72d16aa
Made adjustments to fit copied work into dev branch
...
Ported non-compatible elements, Now all tests passing apart from some
specific permission scenario tests which are probably correctly failing.
Updates some tests to better avoid messing environment state.
2023-01-21 13:03:47 +00:00
Dan Brown
c724bfe4d3
Copied over work from user_permissions branch
...
Only that relevant to the additional testing work.
2023-01-21 11:08:34 +00:00
Dan Brown
6070d804f8
Fixed incorrect pluralisation for de_informal
...
Updated language system to only use initial part of locale for
translation pluralisation to better match the hard-coded logic of the
built-in MessageSelector. Extends and overrides Laravel's default for
this system.
Added test to cover.
Related to #3976 .
2023-01-16 16:56:41 +00:00
Dan Brown
e794c977bc
Updated version and assets for release v22.11.1
2022-12-16 23:49:14 +00:00
Dan Brown
0b088ef1d3
Merge branch 'development' into release
2022-12-16 23:48:35 +00:00
Dan Brown
5393465ea7
Updated translator attribution before release v22.11.1
2022-12-16 23:48:04 +00:00
Dan Brown
f5df811b15
Removed old unused style definition
2022-12-16 23:21:24 +00:00
Dan Brown
a521f41838
Fixed lack of scroll in editor toolbox contents
...
For #2887
2022-12-16 23:16:51 +00:00
Dan Brown
0123d83fb2
Fixed not being able to remove all user roles
...
User roles would only be actioned if they existed in the form request,
hence removal of all roles would have no data to action upon.
This adds a placeholder 0-id role to ensure there is always role data to
send, even when no roles are selected. This field value is latter
filtered out.
Added test to cover.
Likely related to #3922 .
2022-12-16 17:44:13 +00:00
Dan Brown
559e392f1b
Merge branch 'development' of https://github.com/jhit/BookStack into jhit-development
2022-12-16 17:12:57 +00:00
Dan Brown
8468b632a1
Updated crowdin config with PR title and labels
...
Aligns to the title and labelling I already do manually.
2022-12-16 17:11:01 +00:00
Dan Brown
7053a8669f
New Crowdin updates ( #3881 )
2022-12-16 17:06:52 +00:00
Dan Brown
2c0a7346b1
Prevent search focus change on left/right arrow press
...
For #3920
2022-12-16 17:03:48 +00:00
Lennert Daniels
ac519b3009
Guest create page: name field autofocus
2022-12-02 18:44:17 +01:00
Lennert Daniels
ec3b06d83f
Add notice to Page delete confirmation when in use as a template
2022-12-02 18:43:51 +01:00
Lennert Daniels
99ae759eff
Prefill new pages with book's default template
2022-12-02 18:42:58 +01:00
Lennert Daniels
1dbc3588cf
Add default_template as Book setting
2022-12-02 18:41:59 +01:00
Lennert Daniels
3599a962a3
search-box-cancel placement
2022-12-02 13:10:57 +01:00
Dan Brown
bf6a6af683
Updated version and assets for release v22.11
2022-11-30 12:30:21 +00:00
Dan Brown
914790fd99
Merge branch 'development' into release
2022-11-30 12:29:52 +00:00
Dan Brown
69d702c783
Updated locale list to align with lang folders
2022-11-30 12:13:50 +00:00
Dan Brown
dd92cf9e96
Updated translator attribution before v22.11 release
2022-11-30 12:02:10 +00:00
Dan Brown
0cd0b44cdb
New Crowdin updates ( #3828 )
2022-11-30 12:01:19 +00:00
Jürgen Hörmann
d505642336
Add popular PHP templating languages to code editor
...
Smarty and Twig are two very popular PHP templating engines and might be
useful to some Bookstack users too.
2022-11-29 14:53:41 +01:00
Dan Brown
31c28be57a
Converted md settings to localstorage, added preview resize
2022-11-28 14:08:20 +00:00
Dan Brown
38db3a28ea
Merge pull request #3878 from BookStackApp/dark_style_cleanup
...
Cleaned up dark mode styles inc. setting browser color scheme
2022-11-28 12:42:16 +00:00
Dan Brown
09fa2d2c9c
Cleaned up dark mode styles inc. setting browser color scheme
...
Forces browser colorscheme based on BookStack color scheme, via
'color-scheme' css property.
Sets proper dark mode colors for some previously missed areas like
templates and attachment control buttons.
Also fixed search bar icon position for some search inputs.
2022-11-28 12:38:30 +00:00
Dan Brown
b786ed07be
Merge pull request #3875 from BookStackApp/md_editor_updates
...
Markdown Editor Updates
2022-11-28 12:21:33 +00:00
Dan Brown
0527c4a1ea
Added test to preference boolean endpoint
2022-11-28 12:17:22 +00:00
Dan Brown
ec3713bc74
Connected md editor settings to logic for functionality
2022-11-28 12:12:36 +00:00
Dan Brown
9fd5190c70
Added md editor ui dropdown options & their back-end storage
...
Still need to perform actual in-editor functionality for those controls.
2022-11-27 20:30:14 +00:00
Dan Brown
3995b01399
Tightened existing markdown editor styles
2022-11-27 19:52:10 +00:00
Dan Brown
3fdb88c7aa
Added callout cycling in markdown editor via shortcut
2022-11-26 23:18:51 +00:00
Dan Brown
8e4bb32b77
Fixed md editor refactoring issues after manual test
...
Testing was a full manual feature test of each piece of supported logic
defined in the code.
2022-11-26 21:33:39 +00:00
Dan Brown
63d6272282
Refactored markdown editor logic
...
Split out the markdown editor logic into seperate components to provide
a more orgranised heirachy with feature-specific files.
2022-11-26 16:43:28 +00:00
Dan Brown
40a1377c0b
Fixed tests to align with recent changes, Updated php deps
2022-11-23 12:08:55 +00:00
Dan Brown
e20c944350
Fixed OIDC handling when no JWKS 'use' prop exists
...
Now assume, based on OIDC discovery spec, that keys without 'use' are
'sig' keys. Should not affect existing use-cases since existance of such
keys would have throw exceptions in prev. versions of bookstack.
For #3869
2022-11-23 11:50:59 +00:00
Dan Brown
85b7b10c01
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2022-11-23 00:13:02 +00:00
Dan Brown
35f73bb474
Updated global search component to new format
2022-11-23 00:12:41 +00:00
Dan Brown
ffc9c28ad5
Merge branch 'search_preview' into development
2022-11-23 00:10:21 +00:00
Dan Brown
fcff206853
Adjusted global search preview for dark mode
2022-11-23 00:05:24 +00:00
Dan Brown
0e528986ab
Extracted keyboard nav. from dropdowns to share w/ search
2022-11-21 17:35:19 +00:00
Dan Brown
e7e83a4109
Added new endpoint for search suggestions
2022-11-21 10:35:53 +00:00
Dan Brown
891543ff0a
Merge pull request #3852 from BookStackApp/php82
...
PHP8.2 Support
2022-11-20 22:21:52 +00:00
Dan Brown
c617190905
Added global search input debounce and loading indicator
2022-11-20 22:20:31 +00:00
Dan Brown
2c1f20969a
Replaced JS logic with CSS focus-within logic
2022-11-20 21:53:53 +00:00
Dan Brown
851ab47f8a
Fixed input styles in search preview mode, added animation
...
Also added JS handlers for hiding the suggestions
2022-11-20 21:50:59 +00:00
Dan Brown
bbf13e9242
Merge pull request #3853 from BookStackApp/component_refactor
...
Started refactor and alignment of JS component system
2022-11-16 16:05:57 +00:00
Dan Brown
05a24ea355
Updated js dev docs with latest component changes
2022-11-16 16:02:31 +00:00
Dan Brown
be736b3939
Replaced el.components mapping with component service weakmap
...
Old system was hard to track in terms of usage and it's application of
'components' properties directly to elements was shoddy.
This routes usage via the components service, with element-specific
component usage tracked via a local weakmap.
Updated existing found usages to use the new system.
2022-11-16 15:46:41 +00:00
Dan Brown
25c23a2e5f
Removed use of image-manager/entity-selector window globals
2022-11-16 15:21:22 +00:00
Dan Brown
3b8ee3954e
Finished updating remainder of JS components to new system
2022-11-16 13:06:08 +00:00
Dan Brown
db79167469
Updated a whole load more js components
2022-11-15 16:04:46 +00:00
Dan Brown
b37e84dc10
Updated another set of components
2022-11-15 12:44:57 +00:00
Dan Brown
4310d34135
Updated a batch of JS components
2022-11-15 11:24:31 +00:00
Dan Brown
09c6a3c240
Started refactor and alignment of component system
...
- Updates old components to newer format, removes legacy component
support.
- Makes component registration easier and less duplicated.
- Adds base component class to extend for better editor support.
- Aligns global window exposure usage and aligns with other service
names.
2022-11-14 23:19:02 +00:00
Dan Brown
796f4090b5
Added php8.2 to GH action checks
2022-11-14 18:26:01 +00:00
Dan Brown
19a792bc12
Started on a live-preview on global search input
2022-11-14 10:24:14 +00:00
Dan Brown
a1b1f8138a
Updated email confirmation flow so confirmation is done via POST
...
To avoid non-user GET requests (Such as those from email scanners)
auto-triggering the confirm submission. Made auto-submit the form via
JavaScript in this extra added step with user-link backup to keep
existing user flow experience.
Closes #3797
2022-11-12 15:11:59 +00:00
Dan Brown
0e627a6e05
Merge pull request #3848 from BookStackApp/auth_message_partials
...
Added login/register message partials for easier use via theme system
2022-11-12 09:03:59 +00:00
Dan Brown
d2cd33e226
Added login/register message partials for easier use via theme system
...
Related to #608
2022-11-12 09:02:33 +00:00
Dan Brown
2fa5c2581c
Added swift support to code blocks and editor
...
Closes #3847
2022-11-12 08:44:25 +00:00
Dan Brown
d2260b234c
Fixed app logo visibility with secure_restricted images
...
Includes test to cover.
For #3827
2022-11-10 14:15:59 +00:00
Dan Brown
832356d56e
Added test to cover books perms. gen with deleted chapter
...
Closes #3796
2022-11-10 13:48:17 +00:00
Dan Brown
5fd1c07c9d
Added dart support to code blocks/editing
...
For #3808
2022-11-10 13:38:56 +00:00
Dan Brown
4c75358abd
Extracted hardcoded english text to language files
...
Closes #3822
2022-11-10 13:30:48 +00:00
Dan Brown
d520d6cab8
Merge pull request #3830 from BookStackApp/shortcuts
...
User interface shortcuts system
2022-11-10 10:32:56 +00:00
Dan Brown
737904fa63
Extracted shortcut text to language files
2022-11-10 10:25:28 +00:00
Dan Brown
a3fcc98d6e
Aligned user preference endpoints in style and behaviour
...
Changes their endpoints and remove the user id from the URLs.
Simplifies list changes to share a single endpoint, which aligns it to
the behaviour of the existing sort preference endpoint.
Also added test to ensure user preferences are deleted on user delete.
2022-11-09 19:30:08 +00:00
Dan Brown
24a7e8500d
Added tests to cover shortcut endpoints
2022-11-09 18:42:54 +00:00
Dan Brown
9067902267
Added shortcut input controls to make custom shortcuts work
2022-11-09 14:40:44 +00:00
Dan Brown
66c8809799
Started interface user shortcut form interface
...
Built controller actions and initual UI.
Still needs JS logic for shortcut input handling.
2022-11-08 21:17:45 +00:00
Dan Brown
1fc994177f
Improved shortcut overlay with related action highlighting
2022-11-05 13:57:22 +00:00
Dan Brown
78b6450031
Distributed shortcut actions to common ui elements
2022-11-05 13:39:17 +00:00
Dan Brown
b4cb375a02
Started implementation of UI shortcuts system
2022-11-04 15:20:19 +00:00
Dan Brown
33e5c85503
Merge pull request #3821 from BookStackApp/list_reworks
...
Revision of item list views
2022-11-03 14:52:40 +00:00
Dan Brown
9e8240a736
Addressed additional unsupported array spread operation
2022-11-03 14:40:01 +00:00
Dan Brown
37afd35b6f
Fixed use of array unpacking syntax
...
Since it was using keyed arrays, unpacking is only supported in php8.1+
2022-11-03 14:33:23 +00:00
Dan Brown
6364c541ea
Fixed phpstan static usage warning, updated ci flows
...
CI flow updates to follow deprecation warnings
2022-11-03 14:14:22 +00:00
Dan Brown
8ec6b07690
Updated role permission table to responsive format
2022-11-03 13:28:07 +00:00
Dan Brown
7101ec09ed
Updated search term lists to flex layouts
2022-11-03 12:49:05 +00:00
Dan Brown
2c5efddf6c
Merge branch 'v22-10' into development
2022-11-02 15:22:53 +00:00
Dan Brown
edb0c6a9e8
Updated version and assets for release v22.10.2
2022-11-02 15:22:13 +00:00
Dan Brown
84049de696
Merge branch 'v22-10' into release
2022-11-02 15:19:33 +00:00
Dan Brown
a37bdffcd9
Updated translator attribution before release v22.10.2
2022-11-02 15:19:13 +00:00
Dan Brown
e95ab36f76
Merged and squashed l10n_development into v22-10
2022-11-02 15:17:54 +00:00
Dan Brown
f809bd3a62
Updated tests to align with recent list changes
2022-11-01 14:53:36 +00:00
Dan Brown
d4e71e431b
Revised revision list to responsive layout
2022-10-31 21:26:31 +00:00
Dan Brown
de807f8538
Updated recycle bin list to new responsive layout
2022-10-31 16:45:32 +00:00
Dan Brown
80d2889217
Updated tags list to new responsive format
2022-10-31 11:40:28 +00:00
Dan Brown
9e8516c2df
Tweaked list spacings a little to align paddings
2022-10-30 21:06:42 +00:00
Dan Brown
09f2bc28d2
Removed addition detail spacing in audit list
2022-10-30 20:29:21 +00:00
Dan Brown
be320c5501
Adjusted audit log row spacing a tad
2022-10-30 20:27:41 +00:00
Dan Brown
2bbf7b2194
Revised audit log list to new responsive format
2022-10-30 20:24:08 +00:00
Dan Brown
ab184c01d8
Updated API tokens list to new responsive format
2022-10-30 15:37:52 +00:00
Dan Brown
2c114e1a4a
Split out user controller preference methods to new controller
2022-10-30 15:25:02 +00:00
Dan Brown
ec4cbbd004
Refactored common list handling operations to new class
2022-10-30 15:16:06 +00:00
Dan Brown
f75091a1c5
Revised webhooks list to new format
...
Also aligned query naming to start with model in use.
Also added created/updated sort options to roles.
2022-10-30 12:02:06 +00:00
Dan Brown
98b59a1024
Revised role index list to align with user list
2022-10-29 20:52:17 +01:00
Dan Brown
0ef06fd298
Extracted user list item to its own template
2022-10-29 15:25:28 +01:00
Dan Brown
986346a0e9
Redesigned users list to be responsive and aligned
2022-10-29 15:23:21 +01:00
Dan Brown
2a65331573
Worked towards phpstan level 2, 13 errors remain
2022-10-24 12:12:48 +01:00
Dan Brown
45d0860448
Updated npm package versions
2022-10-24 11:40:05 +01:00
Dan Brown
da0531e63b
Updated version and assets for release v22.10.1
2022-10-21 21:52:32 +01:00
Dan Brown
421dc75f4e
Merge branch 'development' into release
2022-10-21 21:52:16 +01:00
Dan Brown
ea6eacb400
Fixed chapter fetching during joint permission building
...
Somehow I accidentally deleted previous line 143 in this commit:
3839bf6bf1
which would then break permission generation for content related to, or
containing, chapters in the recycle bin.
Found via user report (subz) & debugging in discord.
2022-10-21 21:49:29 +01:00
Dan Brown
8ae91df038
Updated version and assets for release v22.10
2022-10-21 11:16:45 +01:00
Dan Brown
64b41dd626
Merge branch 'development' into release
2022-10-21 11:16:25 +01:00
Dan Brown
103649887f
Updated translator attribution before release v22.10
2022-10-21 11:15:35 +01:00
Dan Brown
7b2fd515da
Updated test to align with latest translation
2022-10-21 10:41:55 +01:00
Dan Brown
3f61bfc43c
Fixed toggle controls on added content permission role rows
2022-10-21 10:13:11 +01:00
Dan Brown
905d339572
Added greek language option
2022-10-20 12:25:02 +01:00
Dan Brown
5d37a814fd
New Crowdin updates ( #3737 )
2022-10-20 12:18:58 +01:00
Dan Brown
f9c0edbd0c
Set fixed cell widths for users list table
...
To prevent certain cells squashing others.
Related to #3787 .
2022-10-19 11:15:17 +01:00
Dan Brown
d084f225a0
Updated page pointer to use a fixed positioning system
...
Avoids interferance with elements that have their own overflow behaviour
such as table cells.
Related to #3774
2022-10-18 22:40:13 +01:00
Dan Brown
ff3fb2ebb9
Extracted page pointer to its own compontent
2022-10-18 22:02:34 +01:00
Dan Brown
725ff5a328
Updated php deps
2022-10-16 09:54:07 +01:00
Dan Brown
f0ac454be1
Prevented saml2 autodiscovery on metadata load
...
Fixes issue where metadata cannot be viewed if autload is active and
entityid url is not active.
For #2480
2022-10-16 09:50:08 +01:00
Dan Brown
0269f5122e
Added wysiwyg code block edit tooltip
...
For easier editing access on mobile devices where previous doubleclick
does not work so well.
For #2815
2022-10-15 15:47:34 +01:00
Dan Brown
6adc642d2f
Merge branch 'development' into bugfix/fix-being-unable-to-clear-filters
2022-10-15 15:12:55 +01:00
Dan Brown
22a91c955d
Merge pull request #3760 from BookStackApp/item_permission_revamp
...
Refactor of item-level permission to be more intuitive
2022-10-14 17:34:51 +01:00
Dan Brown
6951aa3d39
Fixed permission row permission check
2022-10-14 16:03:06 +01:00
Dan Brown
bd412ddbf9
Updated test for perms. changes and fixed static issues
2022-10-12 12:12:36 +01:00
Dan Brown
7792da99ce
Updated entity perms. changes for dark mode support
2022-10-12 11:27:24 +01:00
Dan Brown
98c6422fa6
Extracted entity perms. text to translation files
2022-10-11 15:52:56 +01:00
Dan Brown
25708542ff
Refined design and text for entity permission changes
2022-10-11 15:41:21 +01:00
Dan Brown
0fae807713
Fixed and updated "Everyone Else" permissions handling
...
- Fixed inheriting control for new system.
- Tested copying shelf permissions to books.
- Added additional handling for inheriting scenario identification.
2022-10-10 17:22:38 +01:00
Dan Brown
0f68be608d
Removed most usages of restricted entitiy property
2022-10-10 16:58:26 +01:00
Dan Brown
63056dbef4
Updated restricted usage on search and entity meta details
...
Also removed now unused view.
2022-10-10 16:22:51 +01:00
Dan Brown
803934d020
Added interface for adding/removing roles in entity perms.
2022-10-10 12:24:23 +01:00
Dan Brown
ffd6a1002e
Centralised handling of permission form data to own class
...
Also updates show roles on permission view to just those with
permissions applied.
Fixes rounded borders for lone permission rows.
Moves "Everyone Else" handling from role to new class.
2022-10-09 17:14:11 +01:00
Dan Brown
bf591765c1
Reorgranised permission routes into their own controller
...
Also introduced helpers for getting entities by slugs since we do it in
so many places.
2022-10-09 16:36:03 +01:00
Dan Brown
06a7f1b54a
Added migration to drop entity restricted field
2022-10-08 15:30:03 +01:00
Dan Brown
3839bf6bf1
Updated joint perms. gen. to use new entity permission format
2022-10-08 14:28:44 +01:00
Dan Brown
aee0e16194
Started code update for new entity permission format
2022-10-08 13:52:59 +01:00
Dan Brown
1d3dbd6f6e
Migrated entity_permissions table to new flat format
...
Simplifies structure and limits content count, while allowing direct
mapping of new UI intent, where we may have entries with no permissions.
Not yet updated app logic to suit.
Tested via migrating and rolling-back, then comparing export data,
across a set of custom permission entries.
2022-10-07 15:07:09 +01:00
Dan Brown
1df9ec9647
Added proper entity permission removal on role deletion
...
Added test to cover.
2022-10-07 13:12:33 +01:00
Allan
d4143c3101
Only output hidden user filters when not set to 'me'
2022-10-06 19:25:47 +02:00
Dan Brown
a03245e427
Added user-interface for "Everyone Else" entity permission item
...
Nothing on back-end logic done to hook this new option up.
Addition of permissions for role_id=0 works out of the box, but active
"everyone else" permissions, with no priviliges, is currently not
working. Needs change of permission gen logic also.
2022-10-02 18:09:48 +01:00
Dan Brown
a090720241
Developed dev JS docs a bit further
2022-10-02 14:27:12 +01:00
Dan Brown
b8b0afa0df
Cleaned up old permission JS code
...
Removed now unused JS entity-permissions compontent.
Updated existing permissions-table compontent to newer format.
Removed now unused translation string.
2022-10-02 13:57:32 +01:00
Dan Brown
f19bad8903
Started item permission design revamp
2022-10-02 13:17:28 +01:00
Dan Brown
953402f2eb
Started playing with table icons
...
To make a little more accessible, Related to #3397
2022-09-30 18:37:37 +01:00
Dan Brown
8c945034b9
Merge pull request #3757 from BookStackApp/tests_entity_cleanup
...
Testing cleanup
2022-09-29 22:18:34 +01:00
Dan Brown
900e853b15
Quick run through of applying new test entity helper class
2022-09-29 22:11:16 +01:00
Dan Brown
b56f7355aa
Migrated much test entity usage via find/replace
2022-09-29 17:31:38 +01:00
Dan Brown
068a8a068c
Extracted entity testcase methods to own class
...
Also added some new fetch helper methods for future use.
2022-09-29 16:49:25 +01:00
Dan Brown
0e94fd44a8
Added contents to book-show endpoint
...
Created a generic list formatting helper class for this, to align with
logic used on the search results endpoint and for easier future re-use
in a standardised way.
Also updated some class property types.
Added test to cover new books-contents results.
Related to #3734
2022-09-29 15:08:18 +01:00
Dan Brown
ccbc68b560
Updated shelf book management to allow scroll on mobile
...
Updates book drag handling to be limited to the handle so scrolling can
be done on the items themselves.
Increased handling area and improved styling to support
2022-09-28 20:48:29 +01:00
Dan Brown
f79b7bc799
Added api format advisory regarding PUT/DELETE form data
2022-09-28 20:15:48 +01:00
Dan Brown
60171b3522
Updated book copy to copy shelf relations
...
Where permission to edit the shelf is allowed.
For #3699
2022-09-28 14:14:51 +01:00
Dan Brown
8f3430d386
Improved tag suggestion handling
...
- Aligned prefix-type filtering with back-end.
- Increased suggestion search cut-off from 3 to 4.
- Increased amount of suggestions shown.
- Ordered suggestions to be name asc, as you'd expect on search.
- Updated front-end filtering to use full search query, instead of
truncated version, for further front-end filtering capability.
Related to #3720
2022-09-28 13:50:40 +01:00
Dan Brown
1ac1cf0c78
Applied permissions to revision action visibility
...
Related to #3723
2022-09-28 11:10:06 +01:00
Dan Brown
6dd89ba956
Split out some development-specific readme parts to own pages
2022-09-27 20:11:58 +01:00
Dan Brown
bf56254077
Merge branch 'auth_review' into development
2022-09-27 19:34:48 +01:00
Dan Brown
d933fe5dce
Updated WYSIWYG config to allow styles on list elements
2022-09-27 19:05:03 +01:00
Dan Brown
391fb2cc62
Added MATLAB/Octave code highlighting support
2022-09-27 18:52:21 +01:00
Dan Brown
af11e7dd54
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2022-09-27 18:45:08 +01:00
Dan Brown
af434d0216
Fixed custom code theme not showing in WYSIWYG
...
Fixes #3753
Was caused by not including added styles to the code block shadow root.
2022-09-27 18:44:06 +01:00
Dan Brown
931641ed2c
Tweaked license and readme text
...
Updated license copyright line to better help it be detected as MIT by
automatic license systems (Such as GitHub license detection) while
removing contributors link which would not actually list all
contributors.
Also added year range back in to be more specific about active lifetime.
2022-09-27 12:23:16 +01:00
Dan Brown
b716fd2b8b
Updated composer deps, incremented dev version
2022-09-27 02:56:49 +01:00
Dan Brown
a6a78d2ab5
Refactored app service providers
...
Removed old pagination provider as url handling now achieved in a better
way.
Removed unused broadcast service provider.
Moved view-based tweaks into specific provider.
Reorganised provider config list.
2022-09-27 02:48:05 +01:00
Dan Brown
67d7534d4f
Merge pull request #3751 from BookStackApp/parallel_testing
...
Parallel Testing Support
2022-09-27 01:31:37 +01:00
Dan Brown
f21669c0c9
Cleaned testing service provider usage
...
Moved testing content out of AppServiceProvider, to a testing-specific
service provider. Updated docs and added composer commands to support
parallel testing.
Also reverted unintentional change to wysiwyg/config.js.
2022-09-27 01:27:51 +01:00
Dan Brown
e18033ec1a
Added initial support for parallel testing
2022-09-26 21:25:32 +01:00
Dan Brown
5c5ea64228
Added login throttling test, updated reset-pw test method names
2022-09-22 17:29:38 +01:00
Dan Brown
90b4257889
Split out registration and pw-reset tests methods
2022-09-22 17:15:15 +01:00
Dan Brown
f4388d5e4a
Removed usage of laravel/ui dependency
...
Brings app auth controller handling aligned within the app, rather than
having many overrides of the framwork packages causing confusion and
messiness over time.
2022-09-22 16:54:27 +01:00
Dan Brown
7165481075
Updated auth controllers with property types
2022-09-22 15:12:05 +01:00
Dan Brown
ebd6e4d3a2
Updated version and assets for release v22.09.1
2022-09-20 13:19:34 +01:00
Dan Brown
80374aea5c
Merge branch 'development' into release
2022-09-20 13:19:03 +01:00
Dan Brown
aec772c5eb
Updated translator attribution before release v22.09.1
2022-09-20 13:18:41 +01:00
Dan Brown
2e4d29e062
New Crowdin updates ( #3710 )
2022-09-20 13:16:15 +01:00
Dan Brown
dce6a82954
Added reason, if existing, into SAML acs error
...
Closes #3731
2022-09-20 12:52:44 +01:00
Dan Brown
050d69ea27
Added extra setlocale format to help windows support
...
Related to #3650
2022-09-20 12:00:14 +01:00
Dan Brown
0cc68b7665
Fixed language request link in readme
2022-09-19 17:24:21 +01:00
Dan Brown
75d6b56072
Merge pull request #3728 from BookStackApp/php_formatting
...
Addition of PHPCS for formatting
2022-09-18 15:04:07 +01:00
Dan Brown
ac27b5aebb
Updated readme for phpcs usage, aligned gh action workflows
2022-09-18 14:50:25 +01:00
Dan Brown
ecbc7344fc
Added php lint gh action, updated composer scripts
2022-09-18 01:56:45 +01:00
Dan Brown
8a749c6acf
Added and ran PHPCS
2022-09-18 01:25:20 +01:00
Dan Brown
2ac9efae7d
Updated version and assets for release v22.09
2022-09-08 12:41:09 +01:00
Dan Brown
a11d565ba4
Merge branch 'development' into release
2022-09-08 12:40:57 +01:00
Dan Brown
d0dc5e5c5d
Added a little protection to migration query
...
Just to be sure the query is filtered as expected to only affect
shelf-based images.
2022-09-08 12:26:14 +01:00
Dan Brown
e4642257a6
New Crowdin updates ( #3701 )
2022-09-08 11:59:57 +01:00
Dan Brown
f7418d0600
Updated translator attribution
2022-09-08 11:58:55 +01:00
Dan Brown
98aed794cc
Made a range of rtl fixes
...
Mostly around dropdowns and other items that had right/left specific
styling.
For #3702
2022-09-06 21:31:18 +01:00
Dan Brown
623ccd4cfa
Removed old thai files, added romanian as lang option
...
Also applied styleci changes
2022-09-06 17:41:32 +01:00
Dan Brown
d8672944a5
Added image view access notice to role form
...
Added to clarify the role permission in scenarios where users may have
not read the docs site to understand image access control.
Related to #3688
2022-09-06 17:20:35 +01:00
Dan Brown
6955b2fd5a
Widened svg content attribute xss filtering
...
Takes care of additional cases that can occur.
Closes #3705
2022-09-06 17:01:56 +01:00
Dan Brown
24f82749ff
Updated OIDC group attr option name
...
To match the existing option name for display names.
Closes #3704
2022-09-06 16:33:17 +01:00
Dan Brown
b9941e8e61
Merge pull request #3698 from BookStackApp/include_theme_event
...
Added "page_include_parse" theme event
2022-09-05 16:51:01 +01:00
Dan Brown
7101ce3050
Added "page_include_parse" theme event
...
For custom control of include tag parsing.
2022-09-05 16:40:42 +01:00
Dan Brown
fbef0d06f2
Added permission visiblity control to image-delete button
...
Includes test to cover.
For #3697
2022-09-05 15:52:12 +01:00
Dan Brown
b698bb0e07
Wrapped wysiwyg drawing change in editor transaction
...
To make the content changes made a undoable transaction that is picked
up as a change.
From my testing, should address #3682
2022-09-05 15:06:47 +01:00
Dan Brown
2d7552aa09
Addressed setlocale issue caught by phpstan
...
setlocale could be called with no second param if the language given to
the modified function was empty.
2022-09-05 13:33:05 +01:00
Dan Brown
ee1e936660
Applied styleci changes, updated composer deps
2022-09-05 13:18:37 +01:00
Dan Brown
50214d5fe6
New Crowdin updates ( #3643 )
2022-09-05 13:17:10 +01:00
Dan Brown
2fe261e207
Updated page revisions link visibility
...
To match the actual visibilities of the revisions listing page and
options.
Related to #2946
2022-09-03 12:32:21 +01:00
Dan Brown
9158a66bff
Updated & improved language locale handling
...
Extracted much of the language and locale work to a seperate, focused class.
Updated php set_locale usage to prioritise UTF8 usage.
Added locale options for windows.
Clarified what's a locale and a bookstack language string.
For #3590 and maybe #3650
2022-09-02 19:19:01 +01:00
Dan Brown
7f8b3eff5a
Fixed failing tests due to shelf text changes, applied styleci changes
2022-09-02 14:47:44 +01:00
Dan Brown
5736919836
Merge pull request #3693 from BookStackApp/local_secure_restricted
...
Addition of a `local_secure_restricted` image storage option
2022-09-02 14:41:25 +01:00
Dan Brown
c76b5e2ec4
Fixed local_secure_restricted preventing attachment uploads
...
Due to option name change and therefore lack of handling.
Added test case to cover.
2022-09-02 14:40:17 +01:00
Dan Brown
092b6d6378
Added test and handling for local_secure_restricted in exports
2022-09-02 14:21:43 +01:00
Dan Brown
f88330202b
Added test to cover secure restricted functionality
2022-09-02 14:03:23 +01:00
Dan Brown
f28ed0ef0b
Fixed shelf covers being stored as 'cover_book'
...
Are now stored as 'cover_bookshelf' as expected.
Added a migrate to alter existing shelf cover image types.
2022-09-02 12:54:54 +01:00
Dan Brown
27ac122502
Started work on local_secure_restricted image option
2022-09-01 16:17:14 +01:00
Dan Brown
9da3130a12
Aligned bookshelf terminology to consistently be 'Shelf'
...
For #3553
EN only, other languages should be handled via CrowdIn
2022-09-01 14:55:35 +01:00
Dan Brown
1afc915aed
Fixed missing nested list indent next to floated content
...
Fixes #3672
2022-09-01 13:11:59 +01:00
Dan Brown
34c63e1c30
Added test & update to prevent page creation w/ empty slug
...
Caused by changes to page repo in reference work,
This adds back in the slug generate although at a more central place.
Adds a test case to cover the problematic scenario.
2022-09-01 12:53:34 +01:00
Dan Brown
f092c97748
Fixed lack of url reference updating on book child move
2022-08-30 22:12:52 +01:00
Dan Brown
9153be963d
Added book child reference handling on book url change
...
Closes #3683
2022-08-30 22:00:32 +01:00
Dan Brown
1cc7c649dc
Applied StyleCi changes, updated php deps
2022-08-29 17:46:41 +01:00
Dan Brown
e537d0c4e8
Merge pull request #3656 from BookStackApp/x_linking
...
Link reference tracking & updating
2022-08-29 17:45:05 +01:00
Dan Brown
961e418cb7
Fixed phpstan wanring about usage of static
2022-08-29 17:39:50 +01:00
Dan Brown
6edf2c155d
Added maintenance action to regenerate references
2022-08-29 17:30:26 +01:00
Dan Brown
401c156687
Merge pull request #3616 from BookStackApp/oidc_group_sync
...
Added OIDC group sync functionality
2022-08-25 11:17:18 +01:00
Dan Brown
760eff397f
Updated API docs with better request format explanation
...
Explained the content-types accepted by BookStack.
Made it clear that 'Content-Type' is expected on requests.
Added example to shown how to achieve more complex formats using
non-json requests.
Also added link to api-scripts repo.
Related to #3666 and #3652
2022-08-23 17:05:42 +01:00
Dan Brown
d134639eca
Doubled default revision limit
...
Due to potential increase of revision entries due to auto-changes.
2022-08-23 16:32:07 +01:00
Dan Brown
b86ee6d252
Rolled out reference link updating logic usage
...
Added test to cover updating of content on reference url change
2022-08-21 18:05:19 +01:00
Dan Brown
0dbf08453f
Built out cross link replacer, not yet tested
2022-08-21 11:29:34 +01:00
Dan Brown
26ccb7b644
Started work on reference on-change-updates
...
Refactored out revision-specific actions within PageRepo for
organisition and re-use for cross-linking work.
2022-08-20 21:09:07 +01:00
Dan Brown
f634b4ea57
Added entity meta link to reference page
...
Not totally happy with implementation as is requires extra service to be
injected to core controllers, but does the job.
Included test to cover.
Updated some controller properties to be typed while there.
2022-08-20 12:07:38 +01:00
Dan Brown
d198332d3c
Rolled out reference pages to all entities, added testing
...
Including testing to check permissions applied to listed references.
2022-08-19 22:40:44 +01:00
Dan Brown
d5465726e2
Added inbound references listing for pages
2022-08-19 13:14:43 +01:00
Dan Brown
bbe504c559
Added reference handling on page actions
...
Page update/create/restore/clone/delete.
Added a couple of tests to cover a couple of those.
2022-08-17 17:37:27 +01:00
Dan Brown
3290ab3ac9
Added regenerate-references command test
...
Also updated model resolvers to only fetch model ID, to prevent bringing
back way more data from database than desired.
2022-08-17 16:59:23 +01:00
Dan Brown
5d29d0cc7b
Added reference storage system, and command to re-index
...
Also re-named/orgranized some files for this, to make them "References"
specific instead of a subset of "Util".
2022-08-17 14:40:14 +01:00
Dan Brown
344b3a3615
Added system to extract model references from HTML content
...
For the start of a managed cross-linking system.
2022-08-16 13:23:53 +01:00
Dan Brown
837fd74bf6
Refactored search-based code to its own folder
...
Also applied StyleCI changes
2022-08-16 11:28:05 +01:00
Dan Brown
2b06e86d53
Merge pull request #3653 from krsriq/patch-1
...
Fix typos
2022-08-15 22:31:49 +01:00
Daniel Schmelz
9041e25476
Fix typos
2022-08-15 22:41:44 +02:00
Dan Brown
1fdf854ea7
Updated version and assets for release v22.07.3
2022-08-11 15:17:06 +01:00
Dan Brown
e9c9792cb9
Merge branch 'development' into release
2022-08-11 15:16:34 +01:00
Dan Brown
d6235bcf92
Merge branch '3636-security-patch' into development
2022-08-11 15:15:19 +01:00
Dan Brown
6a3f4f5e79
Updated translator attribution pre v22.07.3 release
2022-08-11 13:17:18 +01:00
Dan Brown
7b100ef361
Merge branch 'persian_translate_22_08_10' into development
2022-08-11 13:15:15 +01:00
Dan Brown
443415ea0d
New Crowdin updates ( #3635 )
2022-08-11 13:12:55 +01:00
Dan Brown
e02bd5e57e
Added content security section to the api docs
...
Related to #3636
2022-08-11 10:49:45 +01:00
Dan Brown
5f7cd735ea
Added content filtering of tags with javascript or data in values attr
...
Case would be blocked by CSP but adding for cases where CSP may not be
active when content taken externally.
For #3636
2022-08-11 10:28:32 +01:00
samad hassan allafi
89ff0d43bb
Completion of Persian translation 2022-08-10
2022-08-10 22:55:31 +04:30
Dan Brown
375abca1ee
Merge pull request #3632 from BookStackApp/ownable_permission_fix
...
Fixed failed permission checks due to non-loaded fields
2022-08-10 17:59:46 +01:00
Dan Brown
031c67ba58
Reduced the memory usage, db queries and cache hits loading revisions
...
Updated revision listing to only fetch required fields, massively
reducing memory usage by not loading content.
This also updates user avatar handling to effectively cache the avatar
url within request to avoid re-searching from cache, which may improve
performance of others areas of the application.
This also upates handling of the revisions list view to extract table
row to its own view to break things down a bit.
For #3633
2022-08-10 17:50:35 +01:00
Dan Brown
764489e30b
Improved WYSWYG editor code block layout update
...
To help prevent against empty areas during inital empty-cache loads.
This delays the original layout update a little to give time for the
layout to render as expected.
For #3637
2022-08-10 13:51:54 +01:00
Dan Brown
16eedc8264
Fixed failed permission checks due to non-loaded fields
...
Added additional exceptions to prevent such cases in the future, so
that they are caught in dev ideally.
Added test case specifically for reported favourite scenario.
2022-08-10 08:06:48 +01:00
Dan Brown
5ae524c25a
Updated version and assets for release v22.07.2
2022-08-09 13:55:52 +01:00
Dan Brown
0d7287fc8b
Merge branch 'development' into release
2022-08-09 13:55:40 +01:00
Dan Brown
219da9da9b
Updated translator attribution before release v22.07.2
2022-08-09 13:55:26 +01:00
Dan Brown
38ce54ea0c
Merge pull request #3630 from BookStackApp/export_template_parts
...
Export template partials
2022-08-09 13:51:24 +01:00
Dan Brown
97ec560282
Added test to cover export body start/end partial usage
2022-08-09 13:49:42 +01:00
Dan Brown
06b5a83d8f
Added convenience theme system partials for export layouts
...
To allow easier additions to start/end of body tag in export formats.
2022-08-09 13:46:52 +01:00
Dan Brown
45dc28ba2a
Applied latest styleci changes
2022-08-09 13:26:45 +01:00
Dan Brown
6e0a7344fa
Added revision activity types to system and audit log
...
Closes #3628
2022-08-09 13:25:18 +01:00
Dan Brown
7fa934e7f2
New Crowdin updates ( #3625 )
2022-08-09 13:00:39 +01:00
Dan Brown
a90446796a
Fixed issue preventing selection of activity type in audit log
...
For #3623
2022-08-09 12:58:10 +01:00
Dan Brown
4209f27f1a
Set a fairly sensible limit on user name validation
...
Also updated controller properties with types within modified files.
Related to #3614
2022-08-09 12:40:59 +01:00
Dan Brown
89ec9a5081
Sprinkled in some user language validation
...
For #3615
2022-08-04 17:24:04 +01:00
Dan Brown
9fd7a6abed
Added dark theme handling
2022-08-04 14:19:04 +01:00
Dan Brown
4757ed9453
Converted codemirror languges to new packages where available
...
Does increase bundle size massively though, Will need to think about
solutions for this.
2022-08-04 13:33:51 +01:00
Dan Brown
97146a6359
Added handling of codemirror 6 code languages
2022-08-03 19:40:16 +01:00
Dan Brown
d4f2fcdf79
Started codemirror update, In broken state
2022-08-02 20:11:02 +01:00
Dan Brown
b987bea37a
Added OIDC group sync functionality
...
Is generally aligned with out SAML2 group sync functionality, but for
OIDC based upon feedback in #3004 .
Neeeded the tangental addition of being able to define custom scopes on
the initial auth request as some systems use this to provide additional
id token claims such as groups.
Includes tests to cover.
Tested live using Okta.
2022-08-02 16:56:56 +01:00
Dan Brown
e77c96f6b7
Updated version and assets for release v22.07.1
2022-08-02 11:47:25 +01:00
Dan Brown
9b8a10dd3a
Merge branch 'development' into release
2022-08-02 11:47:08 +01:00
Dan Brown
42f4c9afae
New Crowdin updates ( #3605 )
2022-08-02 11:31:24 +01:00
Dan Brown
8d6071cb84
Updated cache busting for tinymce library import
...
Changes from a manual cache buster string to a app-version-based cache
buster, as per our other scripts and styles.
To address #3611
2022-08-02 11:17:02 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jascha Sticher
07626669da
Test API Endpoint for users
2021-05-05 14:16:15 +02: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
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
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
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
c8740c0171
Updated version for release v0.31.8
2021-03-13 15:32:54 +00:00
Dan Brown
91ee895a74
Merge branch 'v0.31.x' into release
2021-03-13 15:32:06 +00:00
Dan Brown
a045e46571
Updated version for release v0.31.7
2021-03-02 21:19:17 +00:00
Dan Brown
44eaa65c3b
Merge branch 'v0.31.x' into release
2021-03-02 21:18:31 +00:00
Dan Brown
0a22af7b14
Updated version for release v0.31.6
2021-02-06 14:41:19 +00:00
Dan Brown
b54702ab08
Merge branch 'v0.31.x' into release
2021-02-06 14:40:47 +00:00
Dan Brown
c4fdcfc5d1
Updated version for release v0.31.5
2021-02-02 20:58:06 +00:00
Dan Brown
cb8117e8df
Merge branch 'v0.31.x' into release
2021-02-02 20:57:41 +00:00
Dan Brown
5a218d5056
Updated version and assets for release v0.31.4
2021-01-16 17:50:45 +00:00
Dan Brown
8dbc5cf9c6
Merge branch 'master' into release
2021-01-16 17:50:11 +00:00
Dan Brown
71e81615a3
Updated version for release v0.31.3
2021-01-10 23:29:58 +00:00
Dan Brown
611d37da04
Merge branch 'master' into release
2021-01-10 23:29:11 +00:00
Dan Brown
0e799a3857
Updated version and assets for release v0.31.2
2021-01-10 14:05:16 +00:00
Dan Brown
b91d6e2bfa
Merge branch 'master' into release
2021-01-10 14:04:59 +00:00
Dan Brown
ea16ad7e94
Updated version and assets for release v0.31.1
2021-01-04 18:41:55 +00:00
Dan Brown
ba6eb54552
Merge branch 'master' into release
2021-01-04 18:41:26 +00:00
Dan Brown
f705e7683b
Updated assets for release v0.31.0 again
2021-01-03 22:33:36 +00:00
Dan Brown
dc996adb20
Merge branch 'master' into release
2021-01-03 22:32:40 +00:00
Dan Brown
a64c638ccc
Updated version and assets for release v0.31.0
2021-01-03 21:52:37 +00:00
Dan Brown
359c067279
Merge branch 'master' into release
2021-01-03 21:52:00 +00:00
Dan Brown
66a746e297
Updated version for release v0.30.7
2020-12-18 14:13:40 +00:00
Dan Brown
a4d43ee24b
Merge branch 'v0.30.x' into release
2020-12-18 14:13:19 +00:00
Dan Brown
f7793a70a9
Updated version for release v0.30.6
2020-12-17 21:07:06 +00:00
Dan Brown
ceba3d31fb
Merge branch 'v0.30.x' into release
2020-12-17 21:03:20 +00:00
Dan Brown
eecc08edde
Updated version for release v0.30.5
2020-12-06 21:05:43 +00:00
Dan Brown
eb19aadc75
Merge branch 'v0.30.x' into release
2020-12-06 21:05:11 +00:00
Dan Brown
06c81e69b9
Updated version and assets for release v0.30.4
2020-10-31 16:52:33 +00:00
Dan Brown
3dc3d4a639
Merge branch 'master' into release
2020-10-31 16:51:54 +00:00
Dan Brown
94c59c1e3d
Updated version and assets for release v0.30.3
2020-10-13 22:50:52 +01:00
Dan Brown
4d2205853a
Merge branch 'master' into release
2020-10-13 22:50:30 +01:00
Dan Brown
751772b87a
Updated version and assets for release v0.30.2
2020-09-30 22:44:58 +01:00
Dan Brown
76e30869e1
Merge branch 'master' into release
2020-09-30 22:44:17 +01:00
Dan Brown
3edc9fe9eb
Updated version and assets for release v0.30.1
2020-09-26 17:51:37 +01:00
Dan Brown
616c62703e
Merge branch 'master' into release
2020-09-26 17:50:25 +01:00
Dan Brown
ecd56917e7
Updated version and assets for release v0.30.0
2020-09-20 10:33:18 +01:00
Dan Brown
e22c9cae91
Merge branch 'master' into release
2020-09-20 10:30:10 +01:00
Dan Brown
29ddb6e1b9
Updated version and assets for release v0.29.3
2020-05-12 22:34:01 +01:00
Dan Brown
2ff90e2ff0
Merge branch 'master' into release
2020-05-12 22:33:27 +01:00
Dan Brown
04ecc128a2
Updated version and assets for release v0.29.2
2020-05-02 11:49:21 +01:00
Dan Brown
87d1d3423b
Merge branch 'master' into release
2020-05-02 11:48:48 +01:00
Dan Brown
4818192a2a
Updated version and assets for release v0.29.1
2020-04-28 12:30:31 +01:00
Dan Brown
965dd97f54
Merge branch 'master' into release
2020-04-28 12:30:09 +01:00
Dan Brown
195b74926c
Updated version and assets for release v0.29.0
2020-04-13 16:10:23 +01:00
Dan Brown
2120db12b2
Merge branch 'master' into release
2020-04-13 16:10:11 +01:00
Dan Brown
ed563fef28
Updated version and assets for release v0.28.3
2020-03-14 22:31:42 +00:00
Dan Brown
0d31a8e3f1
Merge branch 'master' into release
2020-03-14 22:31:11 +00:00
Dan Brown
b8354b974b
Updated version and assets for release v0.28.2
2020-02-15 22:36:08 +00:00
Dan Brown
034c1e289d
Merge branch 'master' into release
2020-02-15 22:35:46 +00:00
Dan Brown
f31605a3de
Updated version and assets for release v0.28.1
2020-02-15 22:08:06 +00:00
Dan Brown
e7cc75c74d
Merge branch 'master' into release
2020-02-15 22:07:17 +00:00
Dan Brown
4b79d5e4e8
Updated version and assets for release v0.28.0
2020-02-03 22:44:45 +00:00
Dan Brown
34854915b3
Merge branch 'master' into release
2020-02-03 22:43:58 +00:00
Dan Brown
af6f34b529
Updated version and assets for release v0.27.5
2019-10-16 16:35:50 +01:00
Dan Brown
fb82a2b896
Merge branch 'patching-v0.27' into release
2019-10-16 16:35:10 +01:00
Dan Brown
5b464938b6
Updated version and assets for release v0.27.4
2019-09-07 13:30:08 +01:00
Dan Brown
81f954890d
Merge branch 'patching-v0.27' into release
2019-09-07 13:29:53 +01:00
Dan Brown
0e2bbcec62
Updated version and assets for release v0.27.3
2019-09-03 21:50:12 +01:00
Dan Brown
fdd339f525
Merge branch 'master' into release
2019-09-03 21:49:46 +01:00
Dan Brown
8cf7d6a83d
Updated version and assets for release v0.27.2
2019-09-01 12:12:23 +01:00
Dan Brown
58a5008718
Merge branch 'master' into release
2019-09-01 12:12:10 +01:00
Dan Brown
c44a8df55d
Updated version and assets for release v0.27.1
2019-09-01 11:13:50 +01:00
Dan Brown
ff1494c519
Merge branch 'master' into release
2019-09-01 11:13:18 +01:00
Dan Brown
b8ce8fd852
Updated assets for release v0.27
2019-08-31 14:16:14 +01:00
Dan Brown
75e7454a5f
Merge branch 'master' into release and set version
2019-08-31 14:15:18 +01:00
Dan Brown
2558ea8931
Updated version for release v0.26.4
2019-08-06 21:42:09 +01:00
Dan Brown
ac0f47a4b2
Merge branch 'v0.26' into release
2019-08-06 21:41:06 +01:00
Dan Brown
4f16129869
Updated version for release v0.26.3
2019-07-10 20:21:22 +01:00
Dan Brown
64a8037fdd
Merge branch 'v0.26' into release
2019-07-10 20:19:54 +01:00
Dan Brown
7502ba1bc8
Updated version and assets for release v0.26.2
2019-05-27 13:48:20 +01:00
Dan Brown
33a04697ef
Merge branch 'master' into release
2019-05-27 13:47:47 +01:00
Dan Brown
b70a5c0cdb
Updated version and assets for release v0.26.1
2019-05-07 23:05:47 +01:00
Dan Brown
9443ae9f40
Merge branch 'master' into release
2019-05-07 23:05:10 +01:00
Dan Brown
220c2a4102
Updated version and assets for release v0.26.0
2019-05-06 18:58:56 +01:00
Dan Brown
e9914eb301
Merge branch 'master' into release
2019-05-06 18:57:58 +01:00
Dan Brown
934512d09c
Updated version and assets for release v0.25.5
2019-03-24 19:45:17 +00:00
Dan Brown
9102c90986
Merge branch 'master' into release
2019-03-24 19:45:00 +00:00
Dan Brown
c3e74219c4
Updated version and assets for release v0.25.4
2019-03-21 19:46:19 +00:00
Dan Brown
13c9d7bc2d
Merge branch 'master' into release
2019-03-21 19:43:48 +00:00
Dan Brown
119b539586
Updated version and assets for release v0.25.3
2019-03-21 00:03:26 +00:00
Dan Brown
29a5c180f0
Merge branch 'master' into release
2019-03-21 00:02:33 +00:00
Dan Brown
7906602291
Updated version and assets for release v0.25.2
2019-03-10 13:45:21 +00:00
Dan Brown
6dafe773ff
Merge branch 'master' into release
2019-03-10 13:44:29 +00:00
Dan Brown
25bc28a1be
Updated version and assets for release v0.25.1
2019-01-20 15:42:32 +00:00
Dan Brown
4c561c7fa0
Merge branch 'master' into release
2019-01-20 15:41:24 +00:00
Dan Brown
95b3e78573
Updated version and assets for release v0.25.0
2019-01-12 22:48:53 +00:00
Dan Brown
63a345bc93
Merge branch 'master' into release
2019-01-12 22:47:07 +00:00
Dan Brown
e093a172cb
Updated assets and version for release v0.24.3
2018-11-27 21:52:20 +00:00
Dan Brown
4b01f8934b
Merge branch 'master' into release
2018-11-27 21:51:32 +00:00
Dan Brown
bc116b45b5
Re-updated assets for release v0.24.2
2018-11-10 16:10:22 +00:00
Dan Brown
a059960b9e
Merge branch 'master' into release
2018-11-10 16:09:14 +00:00
Dan Brown
7770966fed
Updated assets for release v0.24.2
2018-11-10 16:01:55 +00:00
Dan Brown
d7adcf6c69
Merge branch 'master' into release
2018-11-10 16:01:01 +00:00
Dan Brown
04a364dcc3
Incremented version for v0.24.1
2018-09-24 16:34:16 +01:00
Dan Brown
db83ac7eaa
Merge branch 'master' into release
2018-09-24 16:32:30 +01:00
Dan Brown
3ca9dddf61
Merge branch 'master' into release
2018-09-24 15:59:39 +01:00
Dan Brown
bf74f53ca7
Updated assets for release and incremented version
2018-09-24 12:18:27 +01:00
Dan Brown
9d67efb4a4
Merge branch 'master' into release
2018-09-24 12:08:21 +01:00
Dan Brown
3a39b9f440
Merge pull request #1022 from BookStackApp/revert-983-master
...
Revert "Update german translation"
2018-09-22 18:33:29 +01:00
Dan Brown
27f7aab375
Revert "Update german translation"
2018-09-22 18:33:15 +01:00
Dan Brown
337da0c467
Merge pull request #983 from vriic/master
...
Update german translation
2018-09-22 18:27:04 +01:00
Nikolai Nikolajevic
f56b3560c4
Update german translation
2018-08-23 16:17:46 +02:00
Dan Brown
02dfe11ce6
Increment version for release v0.23.2
2018-08-19 15:33:23 +01:00
Dan Brown
83d06beb70
Merge branch 'master' into release
2018-08-19 15:33:10 +01:00
Dan Brown
a8cfc059c8
Updated version for release v0.23.1
2018-08-12 14:22:53 +01:00
Dan Brown
1614b2bab0
Merge branch 'master' into release
2018-08-12 14:22:17 +01:00
Dan Brown
4bdec0d214
Updated version and assets for release v0.23
2018-07-29 20:28:49 +01:00
Dan Brown
6a7d7e7c2b
Merge branch 'master' into release
2018-07-29 20:26:00 +01:00
Dan Brown
30d4674657
Updated assets for release v0.22
2018-05-28 14:19:14 +01:00
Dan Brown
9f961f95f8
Merge branch 'master' into release
2018-05-28 14:19:04 +01:00
Dan Brown
bab99a26ec
Updated assets and version for v0.21 release
2018-04-22 20:21:22 +01:00
Dan Brown
9a7fecd269
Merge branch 'master' into release
2018-04-22 20:19:02 +01:00
Dan Brown
a8dc0d449b
Updated the version because i'm such a plonker
...
And forgot to do this last release.
I wonder if there's a simple commit hook that could prevent the same two
versions twice in a row?
2018-03-30 15:41:46 +01:00
Dan Brown
a0381f76bf
Merge branch 'v0.20' into release
2018-03-30 15:33:23 +01:00
Dan Brown
6102f66daa
Updated assets for release v0.20.1
2018-03-25 16:58:14 +01:00
Dan Brown
c6134d162d
Merge branch 'master' into release
2018-03-25 16:54:48 +01:00
Dan Brown
2046f9b9de
Updated assets for release v0.20.0
2018-02-11 18:20:17 +00:00
Dan Brown
ac3ba594a4
Merge branch 'master' into release and updated version
2018-02-11 18:19:38 +00:00
Dan Brown
22df25a480
Updated assets and version for v0.19.0
2017-12-10 18:21:07 +00:00
Dan Brown
8b30c7f02e
Merge branch 'master' into release
2017-12-10 18:19:20 +00:00
Dan Brown
757cdddc7c
Updated version and JS for release v0.18.5
2017-11-11 18:33:04 +00:00
Dan Brown
df95e99680
Updated assets and version for release v0.18.4
2017-10-15 19:28:29 +01:00
Dan Brown
5a6d544db7
Merge branch 'master' into release
2017-10-15 19:27:50 +01:00
Dan Brown
16117d329c
Merge branch 'master' into release, Updated version
2017-10-06 21:05:45 +01:00
Dan Brown
e90da18ada
Updated assets and version for v0.18.2 release
2017-10-01 18:12:59 +01:00
Dan Brown
a08d80e1cc
Merge branch 'master' into release
2017-10-01 18:12:07 +01:00
Dan Brown
6258175922
Updated assets and version for v0.18.1 release
2017-09-20 21:36:17 +01:00
Dan Brown
15736777a0
Merge branch 'master' into release
2017-09-20 21:35:33 +01:00
Dan Brown
75915e8a94
Updated assets for release v0.18
2017-09-10 17:07:57 +01:00
Dan Brown
9bde0ae4ea
Merge branch 'master' into release
2017-09-10 17:05:05 +01:00
Dan Brown
0c802d1f86
Updated assets and version for release v0.17.4
2017-07-28 13:04:21 +01:00
Dan Brown
b7a96c6466
Merge branch 'master' into release
2017-07-28 13:03:36 +01:00
Dan Brown
4b645a82c7
Updated version for release
2017-07-22 17:27:01 +01:00
Dan Brown
d599b77b6f
Merge branch 'master' into release
2017-07-22 17:26:44 +01:00
Dan Brown
26e93dc8c1
Updated assets and version for release v0.17.2
2017-07-22 16:49:07 +01:00
Dan Brown
a4c9a8491b
Merge branch 'master' into release
2017-07-22 16:46:57 +01:00
Dan Brown
70ee636d87
Updated css and version for release
2017-07-10 20:52:32 +01:00
Dan Brown
b35f6dbb03
Merge branch 'master' into release
2017-07-10 20:51:25 +01:00
Dan Brown
67d9e24d8f
Merge branch 'master' into release
...
Also updated assets, Version number
2017-07-02 22:52:26 +01:00
Dan Brown
3903fda6ca
Incremented version
2017-06-04 15:38:49 +01:00
Dan Brown
441e46ebaa
Merge branch 'v0.16' into release
2017-06-04 15:38:29 +01:00
Dan Brown
1f4260f359
Updated version for release v0.16.2
2017-05-07 19:35:51 +01:00
Dan Brown
dc0bf8ad4e
Merge branch 'master' into release
2017-05-07 19:35:34 +01:00
Dan Brown
102e326e6a
Updated JS and version for release v0.16.1
2017-04-30 19:51:23 +01:00
Dan Brown
2b25bf6f3b
Merge branch 'master' into release
2017-04-30 19:50:29 +01:00
Dan Brown
f93280696d
Updated assets for release v0.16
2017-04-23 20:42:28 +01:00
Dan Brown
1787391b07
Merge branch 'master' into release
2017-04-23 20:41:45 +01:00
Dan Brown
a74a8ee483
Updated version for v0.15.3
2017-03-23 22:22:16 +00:00
Dan Brown
7fa5405cb7
Merge branch 'master' into release
2017-03-23 22:21:04 +00:00
Dan Brown
6725ddcc41
Updated version for release v0.15.2
2017-03-05 15:50:52 +00:00
Dan Brown
bce941db3f
Merge branch 'master' into release
2017-03-05 15:49:47 +00:00
Dan Brown
6d926048ec
Updated to version v0.15.1
2017-02-27 16:59:10 +00:00
Dan Brown
5335c973b4
Merge branch 'master' into release
2017-02-27 16:58:20 +00:00
Dan Brown
15c3e5c96e
Updated assets for release v0.15
2017-02-27 14:58:02 +00:00
Dan Brown
a5d5904969
Merge branch 'master' into release
2017-02-27 14:57:38 +00:00
Dan Brown
598758b991
Updated version for v0.14.3
2017-02-05 21:23:27 +00:00
Dan Brown
9926e23bc8
Merge branch 'v0.14' into release
2017-02-05 21:21:54 +00:00
Dan Brown
5d3264bc63
Updated assets for release v0.14.2
2017-02-01 22:27:04 +00:00
Dan Brown
d71f819f95
Merge branch 'v0.14' into release
2017-02-01 22:22:38 +00:00
Dan Brown
ee13509760
Updated version number
2017-01-23 22:28:31 +00:00
Dan Brown
82d7bb1f32
Merge branch 'master' into release
2017-01-23 22:28:02 +00:00
Dan Brown
cdfda508d8
Updated assets for release v0.14
2017-01-22 12:36:10 +00:00
Dan Brown
da941e584f
Merge branch 'master' into release ready for v0.14
2017-01-22 12:31:27 +00:00
Dan Brown
65874d7b96
Updated assets for release v0.13.1
2016-11-27 19:42:33 +00:00
Dan Brown
ac9b8f405c
Merge fixes from master for release v0.13.1
2016-11-27 19:41:12 +00:00
Dan Brown
8d1419a12e
Update assets and version for release v0.13
2016-11-13 12:29:52 +00:00
Dan Brown
04f7a7d301
Merge branch 'master' into release
2016-11-13 12:26:56 +00:00
Dan Brown
c10d2a1493
Updated assets for release v0.12.2
2016-10-30 13:19:19 +00:00
Dan Brown
97bbf79ffd
Merge branch 'v0.12' into release
2016-10-30 13:18:23 +00:00
Dan Brown
f7b01ae53d
Updated assets for release v0.12.1
2016-09-06 20:50:15 +01:00
Dan Brown
d704e1dbba
Merge branch 'master' into release
2016-09-06 20:49:15 +01:00
Dan Brown
ef2ff5e093
Updated assets for release v0.12
2016-09-05 19:49:42 +01:00
Dan Brown
7caed3b0db
Merge branch 'master' into release
2016-09-05 19:35:21 +01:00
Dan Brown
45641d0754
Updated assets for release v0.11.2
2016-08-21 14:56:29 +01:00
Dan Brown
4b1d08ba99
Merge branch 'v0.11' into release
2016-08-21 14:55:11 +01:00
Dan Brown
160fa99ba4
Updated assets for release v0.11.1
2016-08-14 12:40:55 +01:00
Dan Brown
d2a5ab49ed
Merge branch 'v0.11' into release
2016-08-14 12:37:48 +01:00
Dan Brown
c6404d8917
Updated assets for release v0.11
2016-07-03 10:56:16 +01:00
Dan Brown
7113807f12
Merge branch 'master' into release
2016-07-03 10:52:04 +01:00
Dan Brown
be711215e8
Updated assets for release v0.10
2016-05-22 15:12:47 +01:00
Dan Brown
7e3b404240
Merge branch 'master' into release for version v0.10
2016-05-22 15:11:50 +01:00
Dan Brown
e86901ca20
Updated assets for release v0.9.3
2016-05-03 21:13:02 +01:00
Dan Brown
bdfa61c8b2
Merge branch 'v0.9' into release
2016-05-03 21:11:01 +01:00
Dan Brown
2cc36787f5
Updated assets for release 0.9.2
2016-04-15 19:57:02 +01:00
Dan Brown
448ac61b48
Merge branch 'master' into release
2016-04-15 19:52:59 +01:00
Dan Brown
753f6394f7
Merge branch 'master' into release
2016-04-12 20:09:14 +01:00
Dan Brown
b1faf65934
Updated assets for release 0.9.0
2016-04-09 15:49:02 +01:00
Dan Brown
09f478bd74
Merge branch 'master' into release
2016-04-09 15:47:14 +01:00
Dan Brown
a0497feddd
Updated assets for release 0.8.2
2016-03-30 21:44:30 +01:00
Dan Brown
789693bde9
Merge branch 'v0.8' into release
2016-03-30 21:32:46 +01:00
Dan Brown
1fe933e4ea
Merge branch 'master' into release
2016-03-13 15:38:06 +00:00
Dan Brown
724b4b5a70
Updated assets for release 0.8.0
2016-03-13 15:15:14 +00:00
Dan Brown
1778a56146
Merge branch 'master' into release
2016-03-13 15:13:23 +00:00
Dan Brown
744865fcb2
Updated assets for release 0.7.6
2016-03-06 13:28:44 +00:00
Dan Brown
7f8c8b448d
Merged branch master into release
2016-03-06 13:26:29 +00:00
Dan Brown
a67c53826d
Updated assets for release 0.7.5
2016-02-25 21:24:09 +00:00
Dan Brown
14b131e850
Merge branch 'master' into release
2016-02-25 21:23:06 +00:00
Dan Brown
9b55a52b85
Updated assets for release 0.7.4
2016-02-11 22:35:01 +00:00
Dan Brown
db1d10e80f
Merge branch 'master' into release
2016-02-11 22:29:29 +00:00
Dan Brown
1be576966f
Updated assets for release 0.7.3
2016-02-08 20:47:33 +00:00
Dan Brown
b97e792c5f
Merge branch 'master' into release
2016-02-08 20:45:48 +00:00
Dan Brown
8dec674cc3
Merge branch 'master' into release
2016-02-02 07:35:20 +00:00
Dan Brown
f784c03746
Merge branch 'master' into release
2016-02-01 18:31:04 +00:00
Dan Brown
148e172fe8
Updated assets for release 0.7
2016-01-31 18:03:55 +00:00
Dan Brown
56ae86646f
Merge branch 'master' into release
2016-01-31 18:01:25 +00:00
Dan Brown
1d2b6fdfa2
Add updated assets
2016-01-02 14:50:59 +00:00
Dan Brown
4fc75beed4
Merge branch 'master' into release
2016-01-02 14:49:05 +00:00
Dan Brown
3b3bc0c4bf
Updated compiled assets
2015-12-31 17:26:22 +00:00
Dan Brown
910faab88e
Merge branch 'master' into release
2015-12-31 17:22:03 +00:00
Dan Brown
f184d763ad
Added build folder to release
2015-12-16 17:53:53 +00:00
Dan Brown
a91d42634d
Merge branch 'master' into release
2015-12-16 17:29:34 +00:00
Dan Brown
f517ef3616
Added new asset structure
2015-12-16 17:27:53 +00:00
Dan Brown
e99507ddcf
Merge branch 'master' into release
2015-12-16 17:21:21 +00:00
Dan Brown
d2cacf1945
Release update
2015-12-01 21:30:21 +00:00
Dan Brown
448ac1405b
Merge branch 'master' into release
2015-12-01 21:15:08 +00:00
Dan Brown
6ad21ce885
Added built assets for release
2015-11-30 21:59:34 +00:00