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
483410749b
Queries: Updated all app book static query uses
2024-02-07 16:37:36 +00:00
2f3806244c
Default templates: Added permission checks to selector test
2023-12-12 15:41:56 +00:00
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
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
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
295cd01605
Played around with a new app structure
2023-05-17 17:56:55 +01:00
23c35af9ef
Review of #4202 , Rolled out to other searches, added testing
2023-04-27 16:33:24 +01: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
e7e83a4109
Added new endpoint for search suggestions
2022-11-21 10:35:53 +00:00
6adc642d2f
Merge branch 'development' into bugfix/fix-being-unable-to-clear-filters
2022-10-15 15:12:55 +01:00
bd412ddbf9
Updated test for perms. changes and fixed static issues
2022-10-12 12:12:36 +01:00
0f68be608d
Removed most usages of restricted entitiy property
2022-10-10 16:58:26 +01:00
d4143c3101
Only output hidden user filters when not set to 'me'
2022-10-06 19:25:47 +02:00
900e853b15
Quick run through of applying new test entity helper class
2022-09-29 22:11:16 +01:00
b56f7355aa
Migrated much test entity usage via find/replace
2022-09-29 17:31:38 +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
72c8b138e1
Updated tests to use ssddanbrown/asserthtml package
...
Closes #3519
2022-07-23 15:10:18 +01:00
9cf05944f6
Applied StyleCI changes
2022-07-17 10:32:16 +01:00
e6e6d25974
Removed test web route, extracted text, added test
2022-07-17 10:18:24 +01:00
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
04f37e21e2
Applied latest StyleCI changes
2021-12-18 11:43:05 +00:00
c6e3e85e82
Added test case for multibyte search highlighting
...
Related to #3113
2021-12-18 10:38:33 +00:00
2e49b16177
Prevented created/update_by filters be wiped in search
...
Updating filters via sidebar would wipe the created_by/update_by filters
since these were not part of the sidebar filter form.
This adds them, if existing, as hidden inputs.
Includes tests to cover.
Closes #2736
2021-11-14 15:07:13 +00:00
21d3620ef0
Attempted to make test a bit less flaky
2021-11-13 14:51:59 +00:00
221458ccfd
Fixed failing tests due to search highlighting changes
2021-11-13 13:43:41 +00:00
2633b94deb
Applied StyleCI changes
2021-11-13 13:28:17 +00:00
63d8d72d7e
Added testing to cover search result highlighting
2021-11-13 13:26:11 +00:00
7d0724e288
Added auto-conversion of search terms to exact values
...
Will occur when a search term contains a character that's used to split
content into search terms.
Added testing to cover.
2021-11-12 18:03:44 +00:00
99587a0be6
Added tag values as part of the indexed search terms
...
This allows finding content via tag name/values when just searching
using normal seach terms.
Added testing to cover.
Related to #1577
2021-11-12 17:06:01 +00:00
f28daa01d9
Added page content parsing to up-rank header text in search
...
This adds parsing of page content so that headers apply a boost to
scores in the search term index.
Additionally, this merges title and content terms to reduce the amount
of stored terms a little.
Includes testing to cover.
2021-11-12 13:47:23 +00:00
da17004c3e
Added test to cover search frquency rank changes
2021-11-09 15:05:02 +00:00
934a833818
Apply fixes from StyleCI
2021-06-26 15:23:15 +00:00
71ccb90ef4
Amended owned by search filter to use slugs
2021-03-15 18:27:03 +00:00
c8564b7792
Merge branch 'search-owned-by-me' of git://github.com/benediktvolke/BookStack into benediktvolke-search-owned-by-me
2021-03-15 18:21:09 +00:00
3c57cbc567
Updated testing for user slugs
2021-03-10 23:04:18 +00:00
cf489453c9
Add test for new search tag
2021-02-14 11:40:02 +01: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
00c0815808
Fixed issue where updated page content would not be indexed
...
- Also updated html field of pages to not be fillable.
(Since HTML should always go through app id parsing)
Related to #2042
2020-05-23 00:46:13 +01:00
f84bf8e883
Updated test files to be PSR-4 compliant
...
Closes #1924
2020-04-04 01:16:05 +01:00
6caedc7a37
Fixed issues preventing breadcrumb navigation menus from opening
...
- Added tests to cover endpoint
Fixes #1884
2020-02-15 19:09:33 +00:00
7cda9b026e
Updated tests to suit layout changes, Updated 404 page
...
- Also replaced 'or' usage in templates with null coalescing operator
2019-04-06 18:36:17 +01:00
919660678b
Re-structured the app code to be feature based rather than code type based
2018-09-25 12:30:50 +01:00
9243c635f2
Made search test a little more consistent
2018-09-23 15:15:44 +01:00
7b32aa163f
Added Bookshelves to search system.
...
Also cleaned up and made search indexing system a little more efficient.
Closes #1023
2018-09-23 12:34:30 +01:00
0d5d77d8ab
Updated search test to fit with new tokenization
2017-10-15 19:24:06 +01:00
ec83f83017
Added breadcrumbs to pages in entity select
...
Fixes #391
2017-07-27 16:10:58 +01:00
1859a4d356
Refactored permission system components
...
Split joint permission creation into chunks
Fixes #374
2017-04-29 22:01:43 +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
33a2999a57
Namespaced tests to align with new laravel default
2017-02-04 11:58:42 +00:00