Sam
|
63351d5629
|
FEATURE: in:first for searching first post
|
2015-06-23 13:39:40 +10:00 |
Sam
|
e85df6b876
|
FEATURE: min_age and max_age search operators
|
2015-06-23 13:21:50 +10:00 |
Sam
|
13f1f90c67
|
REFACTOR: search improved so filters are extensible
- added posts_count filter
- fixed it so you can search with a filter only
|
2015-06-23 12:14:06 +10:00 |
Arthur Neves
|
b8cbe51026
|
Convert specs to RSpec 2.99.2 syntax with Transpec
This conversion is done by Transpec 3.1.0 with the following command:
transpec
* 424 conversions
from: obj.should
to: expect(obj).to
* 325 conversions
from: == expected
to: eq(expected)
* 38 conversions
from: obj.should_not
to: expect(obj).not_to
* 15 conversions
from: =~ /pattern/
to: match(/pattern/)
* 9 conversions
from: it { should ... }
to: it { is_expected.to ... }
* 5 conversions
from: lambda { }.should_not
to: expect { }.not_to
* 4 conversions
from: lambda { }.should
to: expect { }.to
* 2 conversions
from: -> { }.should
to: expect { }.to
* 2 conversions
from: -> { }.should_not
to: expect { }.not_to
* 1 conversion
from: === expected
to: be === expected
* 1 conversion
from: =~ [1, 2]
to: match_array([1, 2])
For more details: https://github.com/yujinakayama/transpec#supported-conversions
|
2015-04-25 11:18:35 -04:00 |
Sam Saffron
|
923c164d54
|
workaround: pg app installs a poorly encoded db, so skip CI will catch
|
2015-04-24 07:23:02 +10:00 |
Sam
|
451788b95d
|
FIX: allow searching in PMs when "search this topic" is selected
|
2015-02-19 12:56:49 +11:00 |
Sam
|
4aa0d88c6c
|
FEATURE: search private messages option
|
2014-12-04 13:50:36 +11:00 |
Erick Guan
|
667758ff40
|
Add stringex for Chinese slug generation
|
2014-11-11 21:12:07 +08:00 |
cpradio
|
38d901ac91
|
FIX: Do not show unconfirmed users in search results
|
2014-10-24 19:20:41 -04:00 |
Sam
|
e6cc4cba8b
|
FEATURE: in:tracking and in:watching search filters
|
2014-10-18 15:34:05 +11:00 |
Sam
|
8afd7a7f21
|
FEATURE: in:likes and in:posted search filters
|
2014-10-18 15:19:08 +11:00 |
Sam
|
cbc132eca9
|
FEATURE: added status:noreplies and status:archived to advanced search
|
2014-10-18 14:54:11 +11:00 |
Sam
|
0ade9bafff
|
FIX: highlight in yellow, not blue
FEATURE: highlight in title
|
2014-09-04 15:01:13 +10:00 |
Sam
|
28ae3c8ad0
|
FEATURE: order:latest support for search
|
2014-09-03 22:10:18 +10:00 |
Sam
|
3a76dd3463
|
FEATURE: status:open and status:closed magic search strings
|
2014-09-03 21:54:25 +10:00 |
Sam
|
9c29c1c072
|
FEATURE: highlight search results
|
2014-09-03 17:09:01 +10:00 |
Sam
|
4f09d552ed
|
FEATURE: increase search expansion to 50 results
refactor search code to deal with proper objects
use proper serializers, test the controllers
|
2014-09-03 12:13:25 +10:00 |
Sam
|
12f417a378
|
fix broken spec
|
2014-09-01 17:07:09 +10:00 |
Sam
|
69e418facf
|
FEATURE: wider search with more context
|
2014-09-01 17:04:57 +10:00 |
Robin Ward
|
8a6c4234fc
|
FIX: Re-enable searching for topic by id when using the split topic
interface.
|
2014-08-28 15:42:29 -04:00 |
Sam
|
a1244043d3
|
FIX: when search finds a deep link in a topic it takes you to it
|
2014-08-28 17:16:39 +10:00 |
Robin Ward
|
e8cade40c7
|
Improve search results by introducing an aggregate post search data
filter. It seems performant despite the extra content being searched.
|
2014-08-22 16:56:26 -04:00 |
Sam
|
aa7ed0b2ba
|
FIX: remove broken find topic id feature
|
2014-07-29 16:36:52 +10:00 |
Sam
|
6559de0085
|
Chinese search tests
|
2014-06-26 09:58:49 +10:00 |
Sam
|
af86014fd0
|
BUGFIX: bypass fulltext for search in topic
|
2014-06-20 15:48:34 +10:00 |
Sam
|
a288ff331d
|
BUGFIX/FEATURE: call out context for search.
|
2014-06-17 17:53:45 +10:00 |
Sam
|
a044e3de58
|
Remove min_posts_for_search_in_topic
no longer needed, we always search in topic
|
2014-06-10 15:07:38 +10:00 |
paully21
|
84d100be85
|
Add blurb of post to search results via API
|
2014-04-17 07:58:51 -05:00 |
Sam
|
2a8734f0d5
|
Suppress search in topic unless we have more than 10 posts
(configurable in site setting)
|
2014-02-19 08:59:18 +11:00 |
Sam
|
abb2de22ab
|
BUGFIX: search could break when expanding
|
2014-02-17 14:34:14 +11:00 |
Sam
|
2b10fdc97f
|
FEATURE: search auto scopes on topic first
|
2014-02-17 13:54:51 +11:00 |
Robin Ward
|
1c3c468675
|
FIX: Single quotes in search terms would raise an error.
|
2013-08-26 16:25:54 -04:00 |
Navin Keswani
|
d87389b38e
|
No more rails 4 deprecation warnings
|
2013-08-25 23:18:11 +02:00 |
Sam
|
fcbb9919b6
|
override search term length for topic id spec
|
2013-08-15 13:19:37 +10:00 |
Timo Göllner
|
6b07c689cd
|
fix search spec
search spec failed when using rails4
|
2013-08-04 15:15:05 +02:00 |
Sam
|
3246f066c6
|
an attempt at getting this working on rails 4 ... not fruitful
|
2013-08-02 10:31:36 +10:00 |
Sam
|
ecf17cfebb
|
work in progress, add fidelity to category group permissions (full, create posts, readonly)
|
2013-07-16 15:46:11 +10:00 |
Régis Hanol
|
9656759ecf
|
fix deep link to post in search
|
2013-06-29 03:22:17 +02:00 |
Robin Ward
|
1313c0f094
|
FIX: When using a search context, *prefer* the context's results, don't restrict to only them.
|
2013-05-24 16:17:09 -04:00 |
Robin Ward
|
bd779834e5
|
Use search context for filtering search results by current category or user
|
2013-05-24 14:04:26 -04:00 |
Robin Ward
|
8e8d9af2bf
|
Use classes instead of a complicated nested hash for search results
|
2013-05-23 12:44:47 -04:00 |
Robin Ward
|
7a31630837
|
Search Refactor: Remove some manual SQL, make search data tables more idomatic Rails/AR
|
2013-05-22 16:31:13 -04:00 |
Robin Ward
|
b9a310f4b1
|
Search Refactor: Let's use a class to keep track of our state rather
than passing params everywhere. Also make the private API private.
|
2013-05-22 15:22:06 -04:00 |
Jason Kriss
|
c22435562d
|
fix small typo in search_spec
|
2013-05-21 05:56:04 -03:00 |
Sam
|
ef98b60184
|
disable observers in tests, enable as needed, tests are 20% faster
|
2013-05-14 11:59:55 +10:00 |
Robin Ward
|
fff46cf5aa
|
Can search by URL or ID
|
2013-05-13 17:07:58 -04:00 |
Sam
|
b6bf95e741
|
speed up startup (avoid loading some gems on startup)
correct group permission leaks
add Discourse.cache for richer caching support
|
2013-05-13 18:04:03 +10:00 |
Sam
|
30501e943c
|
fix search
|
2013-05-13 11:07:21 +10:00 |
Regis Hanol
|
2039c0f704
|
fix the specs errors due to a change to the min topic title's length
|
2013-03-11 14:51:24 +01:00 |
Regis Hanol
|
5703d6c730
|
added the min-search-term-length site setting
|
2013-03-07 16:52:01 +01:00 |