Commit Graph

6770 Commits

Author SHA1 Message Date
Sam
f4f5524190 FEATURE: user API now contains scopes so permission is granular
previously we supported blanket read and write for user API, this
change amends it so we can define more limited scopes. A scope only
covers a few routes. You can not grant access to part of the site and
leave a large amount of the information hidden to API consumer.
2016-10-14 16:05:42 +11:00
Guo Xiang Tan
ce8b850b11 Merge pull request #4496 from cpradio/search-ui-changes
FIX: Shrink tag input and use date type for Post Time
2016-10-14 10:33:10 +08:00
Guo Xiang Tan
dff5d6d9b0 Merge pull request #4497 from gdpelican/allow-avatar-title-option
FEATURE: Allow title override for user avatars
2016-10-14 10:27:20 +08:00
Guo Xiang Tan
10dfcc2ae9 Merge pull request #4498 from gdpelican/tags-show-route-fix
FIX: Properly name tag intersection route
2016-10-14 10:18:17 +08:00
James Kiesel
01af2a8df0 Properly name tag intersection route 2016-10-13 13:43:56 -04:00
James Kiesel
d76d78f855 Allow title override for user avatars 2016-10-13 13:43:22 -04:00
cpradio
9fd4cf3278 FIX: Shrink tag input and use date type for Post Time 2016-10-13 12:48:36 -04:00
Guo Xiang Tan
94002f5903 FIX: Post search time was updating incorrectly.
* A search term of `after` will result in `after: after:after`.
2016-10-13 21:26:01 +08:00
Guo Xiang Tan
2eb48ee1ce FIX: Search terms are appearing in filters. 2016-10-13 20:42:37 +08:00
Guo Xiang Tan
4c2c21ee2b Opps this should be null. 2016-10-13 15:58:31 +08:00
Guo Xiang Tan
b16b2a6fbb FIX: Reset advanced search options when search term is cleared. 2016-10-13 15:54:32 +08:00
Guo Xiang Tan
06cbabb4da FIX: Don't search for tags if tagging is disabled. 2016-10-13 15:09:44 +08:00
Guo Xiang Tan
ae0db10e2d Fix full page search tests. 2016-10-13 15:03:58 +08:00
Guo Xiang Tan
b4a899b144 Make eslint happy. 2016-10-13 14:47:18 +08:00
Guo Xiang Tan
ef1918662c PERF: Don't render advanced search options when not expanded.
* Debounce options update as well.
2016-10-13 14:46:13 +08:00
Guo Xiang Tan
1606ed01f9 FIX: Don't mix camelCase into query params. 2016-10-13 14:43:47 +08:00
Guo Xiang Tan
af90a04bd9 FIX: All clicks should close autocomplete. 2016-10-13 13:28:24 +08:00
Guo Xiang Tan
2095b034ad FIX: Make links work with subfolder installs. 2016-10-13 13:21:07 +08:00
Guo Xiang Tan
4f87f1886b Make eslint happy. 2016-10-13 12:10:01 +08:00
Guo Xiang Tan
91a296839f Remove unnecessary computed property. 2016-10-13 12:08:00 +08:00
Guo Xiang Tan
994a03b3e3 FIX: Advanced search link doesn't work with subfolder installs. 2016-10-13 12:00:02 +08:00
Guo Xiang Tan
5dfaceb7a5 Remove unused line. 2016-10-13 11:58:36 +08:00
Arpit Jalan
a0e0ab610e FIX: back button behaviour should be consistent when visiting watched/muted topics from user preferences page 2016-10-13 02:16:21 +05:30
cpradio
5091124eed FIX: fix eslint error due to removing the search_help
Related commit that made eslint unhappy
c51992cf5e
2016-10-11 20:35:25 -04:00
cpradio
1d27610ffc FEATURE: search menu options opens full page search 2016-10-11 19:59:37 -04:00
cpradio
6bf0bc3408 FEATURE: search menu options opens full page search 2016-10-11 18:52:31 -04:00
cpradio
ca4130f30d FIX: Use @username instead of user:username 2016-10-11 17:41:04 -04:00
Jeff Atwood
70f46d81a9 disable the group and badge searches for now 2016-10-11 14:25:48 -07:00
Jeff Atwood
c51992cf5e remove old search help in favor of advanced search 2016-10-11 14:01:16 -07:00
Sam
6031e692f0 Merge pull request #4366 from xfalcox/print
Print Support
2016-10-11 11:47:20 +11:00
Sam
b6d0d4d94d tweaks to full page search 2016-10-11 10:36:27 +11:00
Sam
ea1f0683c8 Merge pull request #4477 from cpradio/watching-state-on-reply
FEATURE: Add notification level user preference when replying to a topic
2016-10-11 10:05:37 +11:00
Sam
f6ac914376 Merge pull request #4467 from cpradio/advanced-search-ui
FEATURE: Advanced Search UI
2016-10-11 10:02:35 +11:00
Arpit Jalan
d06c82e555 FEATURE: add unique class to topic navigation pages 2016-10-10 22:38:41 +05:30
Régis Hanol
586ce69b1b UX: properly hide 'Activity Summary' preference when Summaries are disabled 2016-10-10 16:36:36 +02:00
cpradio
dc87b6943a Fix the ID for postTime 2016-10-08 09:29:05 -04:00
cpradio
a7507dad63 Add Acceptance Tests (which found an error)
Tests for populating category and tags

Added acceptance tests for populating the Username and Category through the Advanced Search UI (will work on the other fields later)

Give the combo-box elements ids
Add acceptance tests for the rest of the advanced search UI (except for Tags, tags are evil)
2016-10-08 09:09:37 -04:00
Leo McArdle
c1da9e780e FEATURE: Added user profile and card outlets
Added user-location-and-website outlet
Added user-card-location-and-website outlet
2016-10-07 21:40:41 +01:00
Neil Lalonde
a061c025f1 FIX: in create/edit category modal, don't prompt to choose a parent category when allow_uncategorized_topics is false 2016-10-05 12:06:37 -04:00
Sam
843c7a21c9 FIX: properly handle blank localizations 2016-10-05 18:08:54 +11:00
Sam
601a96333a FIX: last visited line not rendering correctly
- stop changing cached models
2016-10-05 15:37:47 +11:00
Neil Lalonde
374617c8c9 FIX: mobile users page search field loses focus on each keypress 2016-10-04 14:09:28 -04:00
cpradio
4b71fd253b Advanced Search UI
Properly support Categories so it updates the search box correctly

Use category id, as it is more consistent with search results than using the slugs, especially for parent/subcategory

Added Status

Improve AutoComplete so it can receive updates
Added the ability for AutoComplete to receive updates to badge-selector and group-selector

Respect null, which is set via web-hooks

Support both # and category: for category detection.

Only update the searchedTerms if they differ from its current value (this helps the Category Selector receive updates)

Opt in receive updates (#3)

* Make the selectors opt-in for receiving updates

* Opt-in to receive updates

* Fix category detection for search-advanced-options

Fix eslint error

Update user-selector so it can receive updates live too
Make the canReceiveUpdates check validate against 'true'

Converted to use template literals

Refactor the regex involved with this feature
Split apart the init to make it a bit more manageable/testable

Switch the category selector to category-chooser, so it is a dropdown of categories instead of auto-complete

Reduce RegEx to make this happier with unicode languages and reduce some of the complexity
2016-10-04 11:18:01 -04:00
Régis Hanol
08c4de388e make eslint happy 2016-10-04 12:14:24 +02:00
Sam
baecaddef0 Merge pull request #4475 from xfalcox/last-visit-adjusts
FIX: Last visit must keep working when changing categories
2016-10-04 19:31:22 +11:00
cpradio
6f1c31d777 Add notification level user preference when replying to a topic 2016-09-30 14:58:07 -04:00
Rafael dos Santos Silva
5476dee52d FIX: Last visit must keep working when changing categories 2016-09-29 17:40:28 -03:00
Robin Ward
f0937dc5d3 FIX: Route to .rss or .json as a server side URL 2016-09-28 10:36:56 -04:00
Régis Hanol
064a83c44c Merge pull request #4464 from xfalcox/patch-2
Make deprecated.js ES5 compatible
2016-09-28 11:17:33 +02:00
Robin Ward
8871c9852c FIX: Allow us to link to server side responses 2016-09-28 05:04:23 -04:00