Commit graph

113 commits

Author SHA1 Message Date
John R. Supplee
edd07befe2 Add a new search operator creator 2021-04-01 23:41:32 +02:00
John R. Supplee
5cc6a2f7d0 Add an avatar for the card creator
* Add avatar to minicard
* Add field to card details
* Add show option in Board / Card Settings
2021-04-01 23:40:07 +02:00
John R. Supplee
392b701956 Fix bug in My Cards and Global Search 2021-03-31 13:05:39 +02:00
John Supplee
9e8399612b Add environment variable and snap configuration option for results per page 2021-03-19 21:09:39 +02:00
John R. Supplee
183404a5f8 Code cleanup and remove debugging code 2021-03-10 12:40:20 +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
8f978c23b4 Modify Broken Cards to use new search functions and component 2021-03-05 23:47:12 +02:00
John Supplee
5f53c71b0c Merge branch 'master' into search 2021-03-05 21:46:06 +02:00
John R. Supplee
da1d94775c Fix search on labels crashing bug 2021-03-04 18:35:02 +02:00
John Supplee
28aebaa06b Make search instructions code more uniform 2021-03-04 02:13:22 +02:00
Lauri Ojansivu
0aabb0b364 Fix lint. 2021-03-02 16:08:29 +02:00
John R. Supplee
e0b544fc7e Add new Blaze search component 2021-03-01 20:18:44 +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
faa101224a Add new has predicates for more fields 2021-02-27 02:26:58 +02:00
John R. Supplee
eb7fc0fb26 Comment out debugging code 2021-02-27 00:56:12 +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
62b0d371ee Add new limit operator 2021-02-26 17:31:44 +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
726be664c8 Add new has operator for searching 2021-02-21 01:41:58 +02:00
John R. Supplee
c02b71e0e1 Add searching of attachment names 2021-02-21 01:39:34 +02:00
John R. Supplee
5b51a36c62 Add searching of checklists 2021-02-20 18:35:44 +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
2df0a54cb8 Return CustomFields data for display on minicard 2021-01-27 17:06:57 +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
f2e7296d19 Remove old session data 2021-01-25 16:12:33 +02:00
John R. Supplee
20ab2f039b Send more fields to client 2021-01-25 15:55:35 +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
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
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
a3518a3bcf cleanup 2021-01-16 21:08:15 +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
Lauri Ojansivu
4115d62bac Limit amount of data in publications where possible.
Thanks to xet7 !
2021-01-16 03:10:20 +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
a647768368 Merge branch 'master' of https://github.com/wekan/wekan into search 2021-01-13 01:29:46 +02:00
John R. Supplee
80b23e5cc1 Global search - add error messages for terms that are not found 2021-01-13 01:14:49 +02:00
John R. Supplee
34000ad159 Move global search to cards model
* add some explanation of the operators
2021-01-12 00:48:43 +02:00
John R. Supplee
bbcb236a46 Add methods to models for archived entities 2021-01-11 18:18:26 +02:00
Lauri Ojansivu
801d0aacf0 Due Cards and Broken Cards: In All Users view, fixed to show cards only from other users Public Boards. Not anymore from private boards.
Thanks to xet7 !

Related #1667
2021-01-11 05:23:11 +02:00
John R. Supplee
01bd94d2b3 Global search limited working prototype
* added publication
* need to filter cards on client side
2021-01-10 22:58:29 +02:00
John R. Supplee
4ebad9efc1 Merge branch 'master' into broken 2021-01-10 18:19:33 +02:00
John R. Supplee
ecc3558987 My Cards and Due Cards development
* add spinner while pages are loading
* use a single publication for My Cards
* add Due Cards to the user menu
* add description to the All Users option for Due Cards
* some code clean-up
2021-01-10 18:08:03 +02:00