Commit Graph

19 Commits

Author SHA1 Message Date
Fábio Oliveira ddf9f41145 Re add code and clean up
- Re add code reverted earlier
- Clean up code that builds `authorsNames` based on model objects
- Applied the right indentation
2021-02-11 22:59:45 +01:00
Fábio Oliveira 3e082f938a
Merge branch 'main' into pr/1695 2021-02-11 01:37:01 +01:00
Fábio Oliveira b4e150044b Add author information to indexed body
- Restore old code for database model
- Modified `bodyForIndex` function to return `authorsNames` in it
2021-02-11 01:31:36 +01:00
Fábio Oliveira 6903db357a Update ArticlesDatabase.swift
Delete code that forced rebuilding the search index
2021-02-11 00:26:26 +01:00
Maurice Parker 53b3046635
Revert "Adds author name as a searchable field" 2021-02-10 16:54:28 -06:00
Maurice Parker 6d72bc0c19
Merge pull request #2802 from banaslee/pr/1695
Adds author name as a searchable field
2021-02-10 16:43:28 -06:00
Maurice Parker c063880c48 Upgraded to production releases of RS libraries 2021-02-10 16:19:26 -06:00
Fábio Oliveira 408e5d0ba0 Clean code
- Extract statements to create `search` table so it can be reused during database migration
- Rename `authors` as `authorsNames` for consistency
- Extract code to improve readability
2021-02-10 20:25:21 +01:00
Fábio Oliveira cf1be33044 Add code to migrate database model
Add code to migrate database model when `authors` column is not present in the index
This recreates `search` table and resets the articles index
Added missing or code in error
2021-02-10 19:46:16 +01:00
Fábio Oliveira 5636ca0a01 Add authors names to article search index
Add authors to search table;
Add authors names to ArticleSearchInfo and modified code to retrieve it correctly.

Needs some cleaning up before being ready to merge.
2021-02-09 14:13:24 +01:00
Maurice Parker 91ce7ff189 Update to the latest RSCore 2021-02-07 20:26:30 -06:00
Brent Simmons 57e63c1385 Add database query and assertion to check for missing statuses. Only runs when running a DEBUG build.
Also: remove unused function existingStatusesForArticleIDs.
2021-01-07 20:31:19 -08:00
Maurice Parker fb6e51124f Made internal packages dynamic and removed Asset catalog from the share extension. Fixes #2680 2020-12-21 10:55:00 -06:00
Anh Do 8fa1c10d2f
Fix FTS operators not working 2020-12-06 22:56:34 -05:00
Maurice Parker ec66c08f9a Make status marking asynchronous. 2020-10-24 17:17:46 -05:00
Maurice Parker a500166af0 Merge branch 'ios-release' into main 2020-08-15 11:03:29 -05:00
Maurice Parker 37cfccede6 Use simple module name for dependencies instead of the fully qualified version 2020-07-30 20:43:18 -05:00
Maurice Parker 66991a85e6 Convert Account into a Swift Package 2020-07-30 07:27:14 -05:00
Maurice Parker fbfdbb04c7 Convert Articles, ArticlesDatabase, and SyncDatabase to Swift Packages 2020-07-30 04:54:21 -05:00