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
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
67df127c26
API: Added to, and updated, testing to cover audit log additions
2024-05-05 15:44:58 +01:00
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
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
a8b5652210
Started aligning app-wide outbound http calling behaviour
2023-09-08 14:16:09 +01:00
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
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
da1a66abd3
Extracted test file handling to its own class
...
Closes #3995
2023-02-08 14:39:13 +00:00
0f113ec41f
Merge pull request #3986 from BookStackApp/permission_testing
...
Permission Testing & Alignment
2023-01-24 21:37:28 +00:00
78ebcb6f38
Addressed a range of deprecation warnings
...
Closes #3969
2023-01-21 20:50:04 +00:00
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
c724bfe4d3
Copied over work from user_permissions branch
...
Only that relevant to the additional testing work.
2023-01-21 11:08:34 +00:00
40a1377c0b
Fixed tests to align with recent changes, Updated php deps
2022-11-23 12:08:55 +00:00
900e853b15
Quick run through of applying new test entity helper class
2022-09-29 22:11:16 +01:00
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
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
e18033ec1a
Added initial support for parallel testing
2022-09-26 21:25:32 +01:00
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
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
0bb5654f80
Updated composer deps, applied StyleCI changes
2022-07-27 11:07:41 +01:00
975ba4f8d8
Added content-view body classes generated from tags
...
Included tests to cover.
Closes #3583
2022-07-23 18:29:04 +01:00
72c8b138e1
Updated tests to use ssddanbrown/asserthtml package
...
Closes #3519
2022-07-23 15:10:18 +01:00
ffdfdc7449
Fixed dodgy test helper signature causing tests to fail
...
Just needed some argument defaults to make them optional for existing
uses.
2021-09-18 21:29:42 +01:00
8a7408bd31
Fixed social auth login audit log messages
...
Was logging the whole social account instance instead of just the
method.
Updated tests to cover.
Fixes #2930
2021-09-15 20:55:10 +01:00
934a833818
Apply fixes from StyleCI
2021-06-26 15:23:15 +00:00
ef1b98019a
Fixed some mis-refactoring and split search service
...
Search service broken into index and runner tools.
2020-11-22 00:17:45 +00:00
712ccd23c4
Updated activities table format
...
Renamed some columns to be more generic and applicable.
Removed now redundant book_id column.
Allowed nullable entity morph columns for non-entity activity.
Ran tests and made required changes.
2020-11-08 00:03:19 +00:00
e6c6de0848
Simplified guard names and rolled out guard route checks
...
- Included tests to cover for LDAP and SAML
- Updated wording for external auth id option.
- Updated 'assertPermissionError' test case to be usable in BrowserKitTests
2020-02-02 13:10:21 +00:00
04a8614136
Filled out base Book API endpoints, added example responses
2020-01-12 14:45:54 +00:00
b59e5942c8
Added testing coverage for Bookshelves
...
Created modified TestResponse so we can use DOM operations in new
Testcases as we move away from the BrowserKit tests.
2018-09-21 15:15:16 +01:00
cdb1c7ef88
Added destination permission checking to entity move
2018-04-14 18:47:13 +01:00
548dcd4db1
Fixed error when accessing non-authed attachment
...
Also updated attachment tests to use standard test-case.
Fixes #681
2018-02-11 12:37:02 +00:00
faf7c55fdd
Actually fixed the BaseURL this time 🤦
2018-01-28 13:33:50 +00:00
0a402e3c63
Made custom home ignore permissions and added tests
...
Closes #126 and #372
2017-08-28 13:55:39 +01:00
a15b179676
Updated testcases for new search system.
...
Finishes implementation of new search system.
Closes #271
Closes #344
Fixes #285
Fixes #269
Closes #64
2017-04-16 10:47:44 +01:00
387047f262
Fixed inaccessible revisions, added regression tests
...
Fixes #309
2017-02-25 12:29:01 +00:00
d369d315a7
Fixed non-browserkit testcase and seeder issues
2017-02-05 14:37:50 +00:00
7c9937e924
Converted sort tests to non browserkit testing
...
Added testing to cover book sort endpoint.
Closes #283
2017-02-05 14:20:59 +00:00
33a2999a57
Namespaced tests to align with new laravel default
2017-02-04 11:58:42 +00:00
6669998c10
Upgraded to Laravel 5.4
2017-01-25 19:35:40 +00:00
2d4034f3b7
Added transclusion tests and fixed other tests
2017-01-21 16:16:27 +00:00
3b7d223b0c
Updated and added tests for new default user system
...
Closes #138
2016-09-29 17:07:58 +01:00
7b6c88f17c
Fixed error on image deletion
...
Also Added tests to cover image upload and deletion.
Fixes #136 .
2016-07-01 20:13:30 +01:00
fcfb9470c9
Added further attribute endpoints and added tests
2016-05-07 14:29:43 +01:00
75a4fc905b
Major permission naming refactor and database migration cleanup
2016-05-01 22:33:56 +01:00
a81a56706e
Rolled out new permissions system throughout application
2016-04-24 16:54:20 +01:00
dc2978824e
Added basic system tests for markdown editor, Added extra test helpers
...
Added test helpers for checking if an element exists / does not exist on a page.
Also fixed markdown editor bugs found while creating tests.
2016-03-29 20:13:23 +01:00
8e6248f57f
Added restriction tests and fixed any bugs in the process
...
Also updated many styles within areas affected by the new permission and roles system.
2016-03-05 18:09:21 +00:00
268db6b1d0
Added a whole load of permission & role tests
2016-03-05 12:09:09 +00:00