Commit graph

60 commits

Author SHA1 Message Date
John Supplee
a63a61e7fc Fix problem with dates in selector being unpickled as a String 2021-02-26 23:19:12 +02:00
John Supplee
223cc07139 Add instructions for limit operator 2021-02-26 18:51:54 +02:00
John Supplee
62b0d371ee Add new limit operator 2021-02-26 17:31:44 +02:00
John Supplee
8e911a42f5 Fixes to due predicates 2021-02-26 14:11:24 +02:00
John Supplee
5fe58dc9ae Add instructions for sort operator 2021-02-26 13:11:54 +02:00
John Supplee
a3229ea965 Fixes for duration predicates 2021-02-26 01:13:45 +02:00
John R. Supplee
43f40c4085 Fix sort operator
* Add server publications for next and previous page
* Add ability to sort ascending or descending
2021-02-25 18:38:51 +02:00
John R. Supplee
c7276ee614 Add new status predicates of public and private 2021-02-23 17:56:28 +02:00
John R. Supplee
a8a9ee91bf Add help instructions for new has operator 2021-02-21 19:57:35 +02:00
John R. Supplee
726be664c8 Add new has operator for searching 2021-02-21 01:41:58 +02:00
Lauri Ojansivu
f40c9804f8 Disable some console.log code, that is only needed while developing.
Thanks to xet7 !
2021-02-02 18:31:13 +02:00
John R. Supplee
e4f50d4713 Hopeful fix for i18n not working in onRendered()
* Remove the i18n initialization code from an `autorun()` block
* Add some console statements to help with debugging production.
* Add functions to `Boards` for label colors and color mapping
2021-02-02 17:56:18 +02:00
John R. Supplee
3435192640 only use new RegExp(...) to define regex (not slashes) 2021-01-29 13:15:53 +02:00
John R. Supplee
6ba4da9711 Remove added backticks from regex 2021-01-28 23:42:47 +02:00
Lauri Ojansivu
0ff215f78f Try to fix quotes in Global Search.
Thanks to xet7 !

Related https://github.com/wekan/wekan/pull/3492
2021-01-28 17:51:35 +02:00
Lauri Ojansivu
334dfa5cb6 Added back Global Search related code that caused Snap to not build.
Thanks to xet7 !

Related https://github.com/wekan/wekan/pull/3492
2021-01-28 16:31:49 +02:00
Lauri Ojansivu
442a7b0fcd Removed Global Search related code that caused Snap to not build.
Thanks to xet7 !

Related https://github.com/wekan/wekan/pull/3492
2021-01-28 01:29:52 +02:00
John R. Supplee
78a1d08a17 Bug fixes and buttons for previous and next page
* Use buttons for next and previous page in search results
* Add custom routine for stringifying and parsing the selector to JSON
so RegExp objects are preserved
2021-01-27 16:57:31 +02:00
John R. Supplee
4e8fc46475 Start work on paging search results 2021-01-27 02:21:12 +02:00
John R. Supplee
6a32424a08 Add support for searching archived cards
* Add logic to search for archived or all cards
* Add icons to board, swimlane and list titles to indicate if they are archived
* Update search instructions
2021-01-26 18:39:09 +02:00
John R. Supplee
a9ceba690e Translatable predicates and UTF8 RegEx support
* Add support for recognizing UTF8 operators
* Make search predicates translatable
* Add translations for Egyptian Arabic based on standard Arabic
2021-01-25 19:01:07 +02:00
John R. Supplee
158a0807d9 Development
* Generate error when a comment text is not found
* Save errors to SessionData as objects
* Move all search code to globalSearch publication
* Add more translation tags
2021-01-25 15:39:36 +02:00
John R. Supplee
211d27352a get input value from input, not reactive var 2021-01-25 01:35:44 +02:00
John R. Supplee
c66a48e530 Move call to URL search to onRendered 2021-01-25 00:07:50 +02:00
John R. Supplee
91ef8ca1ae Make results a reactive var 2021-01-24 15:38:44 +02:00
John R. Supplee
9b6288e49c Add session id SessionData 2021-01-24 12:28:36 +02:00
John R. Supplee
907bf4ffdc Pass found cards in sessionData cursor 2021-01-24 02:32:37 +02:00
John R. Supplee
dd163b9923 start work on searching in comments 2021-01-23 18:04:26 +02:00
John R. Supplee
591a8cd807 Merge branch 'master' of https://github.com/wekan/wekan into new-search 2021-01-23 01:35:28 +02:00
John R. Supplee
1d37f170fd Fix for search operators with uppercase letters 2021-01-22 23:07:38 +02:00
Lauri Ojansivu
8f553497e4 Tried to fix possible prototype pollution reported by Deepcode.ai.
Thanks to Deepcode.ai and xet7 !
2021-01-22 16:37:42 +02:00
John R. Supplee
fc0ee2e41b Global search add sort operator
* Add sort operator
* add 'overdue' value to 'due' operator
2021-01-22 00:37:16 +02:00
John R. Supplee
319783b008 Global search: add new operators
* add operators for due, created and modified
2021-01-21 18:11:09 +02:00
John R. Supplee
7ced6318a5 Global search
* Make some heading translatable
* set focus back to search phrase input after clicking a predicate
* Some spacing issues
2021-01-21 11:55:58 +02:00
John R. Supplee
61c691a267 Add support for clicking label names and board titles 2021-01-21 01:48:24 +02:00
John R. Supplee
52f920db12 Add clickable list titles 2021-01-20 21:52:27 +02:00
John R. Supplee
6d9928ea8f Add color palette and allow selection 2021-01-20 13:15:10 +02:00
John R. Supplee
ad759f2f9f Remove code pulled in by git hook 2021-01-20 13:05:41 +02:00
John R. Supplee
5553277a1e Global search fixes
* Fix error with infinite loop if whitespace on front of query
* Translate color to user's language if not found
2021-01-20 12:52:49 +02:00
John R. Supplee
6f18a75e5c Global Search: translate color names 2021-01-18 17:17:44 +02:00
John R. Supplee
b5124d0f6a cleanup debug code 2021-01-17 21:43:56 +02:00
John R. Supplee
7e8475e64d Add link to search header for storing search 2021-01-17 21:04:05 +02:00
John R. Supplee
d74dc92681 Global Search improvements
* support for searching from the URL
* add support for searching by assignee and member
2021-01-17 16:01:42 +02:00
John R. Supplee
8059856c39 Convert global search instructions to translatable tags 2021-01-17 00:35:39 +02:00
John R. Supplee
7b8d67de63 Global search - fix label not found 2021-01-16 21:07:49 +02:00
John R. Supplee
7a5aa469cd Modify search results translations
* use named place holders in translation tag with multiple values
2021-01-16 20:45:05 +02:00
John R. Supplee
ff626fb559 Add a new SessionData collection and limit user fields
* Add new SessionData collection to store user session data available to
server and client
* Limit the Users fields sent to the client by `myCards`, `dueCards`,
`brokenCards`, and `globalSearch` using new `Users.safeFields`
* clean-up
2021-01-16 19:26:06 +02:00
John R. Supplee
a56d47c768 Global search fixes
* use @ and # as the abbrevs for the user and list operators
* comment out debug code
* Modify display of card result counts
* Fix bug with publication not returning current user document
2021-01-15 00:33:24 +02:00
John R. Supplee
3214800741 Global search display total hits
* modify User model to store some session data for searches
* Display total hits in search results
2021-01-14 16:54:44 +02:00
John R. Supplee
c11c3f9a88 code cleanup 2021-01-14 12:53:45 +02:00