Commit graph

651 commits

Author SHA1 Message Date
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
Lauri Ojansivu
0ccdbdcbe9
Merge pull request #3633 from chrisi51/autolink-settings
Added autolinking settings in admin backend - tbc
2021-03-05 20:52:13 +02:00
John R. Supplee
da1d94775c Fix search on labels crashing bug 2021-03-04 18:35:02 +02:00
Christian Hillebrand
0f75234ed2
add automaticLinkedUrlSchemes 2021-03-04 16:42:35 +01: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
n8ores
73f36bcf33 Add AttachmentId to webhook data 2021-03-01 18:12:09 +13: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
Lauri Ojansivu
71725f1b26 Fixed CRITICAL SECURITY ISSUE of SMTP password visible to Admin at
Admin Panel by using browser inspect to see behind asterisks.

Thanks to Georg Krause and xet7 !
2021-02-25 09:02:23 +02:00
Lauri Ojansivu
4f9b4059a6
Merge pull request #3597 from jrsupplee/search
Global Search Updates
2021-02-24 15:55:46 +02:00
Lauri Ojansivu
0a728f805b Added translation: Persian (Iran).
Thanks to translators!
2021-02-24 15:52:11 +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
n8ores
950e41e8f7 Fix bugs with customFields identified in Issue #3574
Fixed bug with the reference to the customFieldValue in the cards.js

Activity Insert was not being passed the listId, swimlaneId which was required when building the webhook text string.

Added customField and customFieldValue as default values for the webhook msgs. There is no good reason to exclude these (they will only be included when changing a customField anyway). Updated the docker-compose comment to reflect this change.
2021-02-18 22:52:18 +13:00
Lauri Ojansivu
3da66a0fe3 Sorted archives Part 2.
Thanks to xet7 !
2021-02-02 21:08:34 +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
0446999c63 Add new importUsernames field for import user mapping 2021-01-30 02:35:29 +02:00
John R. Supplee
d647884b91 Make sure user data is retrieved before proceeding with import 2021-01-28 18:18:31 +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
ff8a36653a Use a Meteor call to copy a board
The current method was to copy a board on the client side.  But
not all data was available for copying rules.  Moving the copy
function to the server side solves this problem.
2021-01-22 12:49:48 +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