John R. Supplee
392b701956
Fix bug in My Cards and Global Search
2021-03-31 13:05:39 +02:00
John R. Supplee
20a2ea3e7a
Add icon to clear the current search
2021-03-28 02:46:11 +02:00
John R. Supplee
6def7d6f70
Move query parsing to Query class
2021-03-10 12:39:39 +02:00
John R. Supplee
097cae1f8c
More integration with constants and query classes
2021-03-09 19:30:04 +02:00
John Supplee
ba00311dd4
Add more constants and convert params object to a class
2021-03-09 02:21:43 +02:00
John R. Supplee
849b608933
Start adding constants for search operators and predicates
2021-03-08 19:18:01 +02:00
John R. Supplee
9061180983
Code cleanup
2021-03-07 02:12:31 +02:00
John Supplee
58020863a8
Handle subscriptions better
...
* use onReady and onStop callbacks when subscribing
* show an server error message when the server returns an error
* call stop() on subscriptions
2021-03-05 21:20:55 +02:00
John Supplee
28aebaa06b
Make search instructions code more uniform
2021-03-04 02:13:22 +02:00
John R. Supplee
a1bda1169e
Update Global Search, Due Cards, and My Cards to use the same
...
code for searching and display
2021-03-01 01:49:56 +02:00
John R. Supplee
b0e4aedd3d
Update search instructions
2021-02-27 17:02:42 +02:00
John R. Supplee
faa101224a
Add new has predicates for more fields
2021-02-27 02:26:58 +02:00
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