Commit Graph

20831 Commits

Author SHA1 Message Date
cpradio 1e7c69044c FIX: Improve removing advanced filters
Prior:
Entering `test after:5` and then removing the 5 via the search text field would result in the UI not updating

After:
UI updates after half a second

Removing it from the UI, removes it from the search field immediately.

Change the regex to detect filter words. This now matches what happens in search.rb, which gives a lot more flexibility (such as iterating over multiple `in:` terms)

Return [] when searchTerm is empty

Move .trim() to this.set('searchTerm', searchTerm) so it doesn't run twice (which was very obvious when watching the search term field)

More refactoring to make this a bit less complex

Update code based on review comments

FEATURE: Add common `in:` options
2016-10-14 19:04:10 -04:00
Neil Lalonde 2dfc0ddf81 loosen restrictions on chars in tags 2016-10-14 15:29:47 -04:00
Guo Xiang Tan 18d032ad91 PERF: Remove ordering by username.
* Ordering by username results in a very expensive query
for very little upside UX wise.
2016-10-15 01:13:58 +08:00
Sam aaf947356b correct regression where notifications scope is not pushing to push server 2016-10-14 22:52:39 +11:00
Régis Hanol bd1328c189 FIX: show the wizard to developers too 2016-10-14 11:09:55 +02:00
Guo Xiang Tan 6b40f2c42c Add option to apply surround across multilines. 2016-10-14 14:03:00 +08:00
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 becff2de4d Update gems. 2016-10-14 11:01:35 +08: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
Jeff Atwood cdd871f081 omitted a word 2016-10-13 13:24:01 -07:00
Jeff Atwood b6eb2634e1 add community install option 2016-10-13 13:23:44 -07:00
Arpit Jalan 4c614e5233 Update Translations 2016-10-14 00:15:41 +05:30
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 0fe97b5bb4 FIX: Qunit tests associated to Post Time and changing it to a 'date' input type 2016-10-13 12:54:20 -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
Régis Hanol 9dd1f7b5b6 pull avatar, bio & location from Twitter 2016-10-13 10:49:51 +02:00
Régis Hanol 2826d4eb88 Merge pull request #4487 from cpradio/use-top-default-for-new-users
FEATURE: Use the top period default for users who have been inactive or are new
2016-10-13 10:47:18 +02: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
cpradio 489e1bf643 Stub the TopTopic.topics_per_period so the logic is fully tested 2016-10-12 19:28:54 -04: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
Régis Hanol 095170d6df Merge pull request #4493 from pfaffman/mbox-email-to-username
MBOX: replace email address with @username
2016-10-12 22:45:31 +02:00
Jay Pfaffman 4ccd224c26 Add link to HOWTO 2016-10-12 13:29:19 -07:00
Jay Pfaffman df3ac5e2e9 MBOX: replace email address with @username 2016-10-12 13:18:34 -07:00
Neil Lalonde 0328141e05 FIX: prevent creation of tags with invalid characters 2016-10-12 15:44:36 -04:00
Arpit Jalan 6ea040dd5f FIX: lower case URLs before comparing for embedding comments 2016-10-13 00:35:51 +05:30
Jeff Atwood 6adfe1af47 Merge pull request #4492 from xfalcox/print-style
Add some styling to print redux version
2016-10-12 20:37:32 +02:00
Arpit Jalan 12894a4876 FIX: dots in group name was breaking route 2016-10-12 23:36:10 +05:30
Régis Hanol 726eb7bdca bump email_reply_trimmer to latest version 2016-10-12 19:57:05 +02:00
Yana Agun Siswanto 6cfcbc7757 Update DEVELOPMENT-OSX-NATIVE.MD
Changes:
- Re Order the steps
- Remove postgres 9.2 comment on postgres installation via homebrew (homebrew will always install the latest stable version of postgres)
- Remove trailing whitespace
- Update clone instruction
- Adding `rake db:create` before any other database action (as it assume new development)
- Remove therubyracer additional steps as it considered as obsolete
2016-10-13 00:37:28 +07:00
Rafael dos Santos Silva 41d2620d06 Add some styling to print redux version 2016-10-12 14:00:05 -03:00
Sam 3ad8616f44 Merge pull request #4476 from xfalcox/localize-badge-notifications
FIX: Properly localize badge notification on batch grant
2016-10-12 15:16:35 +11:00
Jeff Atwood 7051bfa3ca Merge pull request #4491 from cpradio/search-fix-eslint
FIX: fix eslint error due to removing the search_help
2016-10-12 02:37:18 +02:00
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