docbrown/app
Alex e40c28117b
Search ClassifiedListings backend code (#6348)
* Add search methods

* Add spec for new search methods

* Add QueryBuilder for ClassifiedListing

* Add QueryBuilder spec for ClassifiedListing

* Refact build_query in ClassifiedListings

* Refactor logic for filter and query conditions

* Refactor index_documents to helper_method

* Update elasticsearch helper for single objects

* Refactor specs from stubbing to record update

* Update search and specs for query_builder

* Refactor set_size

* Update Search::ClassifiedListing

- Add DEFAULT_PAGE constant
- ADD DEFAULT_PER_PAGE constant
- Add pagination

* Fix paging

* Add pagination specs

* Remove manual Array conversion for Array.wrap()

* Change guard clause to .key? for readability
2020-02-28 10:51:33 -05:00
..
assets CSS cleanups (#6274) [deploy] 2020-02-28 07:39:09 -06:00
black_box Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
controllers Custom social preview template for tags (#6290) [deploy] 2020-02-27 17:56:21 -05:00
dashboards Add HtmlVariantSuccess and HtmlVariantTrial dashboards (#6262) [deploy] 2020-02-27 08:34:10 -06:00
decorators Use scopes for Follow instead of where all the time (#6149) [deploy] 2020-02-25 19:29:52 -05:00
errors Centralize search error handling (#6227) [deploy] 2020-02-25 14:03:49 -05:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers Add cache_key helper (#6190) [deploy] 2020-02-20 17:36:49 -05:00
javascript CSS cleanups (#6274) [deploy] 2020-02-28 07:39:09 -06:00
labor Mailchimp resubscribe (#6256) 2020-02-27 15:48:38 -05:00
lib Notify slack when release phase fails (#6300) [deploy] 2020-02-27 10:50:59 -05:00
liquid_tags Fix error handling bugs in stackexchange tag (#5490) 2020-01-20 14:43:25 -05:00
mailers Add unsubscribe option to badge and connect emails (#6027) 2020-02-12 10:48:51 -05:00
models Custom social preview template for tags (#6290) [deploy] 2020-02-27 17:56:21 -05:00
observers Fix typo in ReactionObserver (#5834) [deploy] 2020-02-03 11:18:37 -05:00
policies [deploy] Remove github_repos from public API (#6304) 2020-02-26 11:23:39 -05:00
sanitizers Add support for mark element in markdown (#2089) 2019-03-18 17:10:58 -04:00
serializers Index ChatChannelMemberships to Elasticsearch (#6162) [deploy] 2020-02-19 14:29:16 -05:00
services Search ClassifiedListings backend code (#6348) 2020-02-28 10:51:33 -05:00
uploaders Limit ALL Upload file sizes to 25 MB (#5356) [deploy] 2020-01-07 11:20:40 -05:00
view_objects Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
views CSS cleanups (#6274) [deploy] 2020-02-28 07:39:09 -06:00
workers Only send notifications that belong to an active broadcast (#6319) [deploy] 2020-02-27 08:02:45 -08:00