Commit Graph

167 Commits

Author SHA1 Message Date
4f8b9d30c8
Problem: channels are created automatically
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: cleanup channels and don't create them automatically
2022-04-17 15:16:37 +02:00
e9c69c8eac
Problem: error when paging without items
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: check if items are available
2022-04-17 00:15:35 +02:00
7da53da8e1
Problem: Items call returns 10 Items, 20 is better
Solution: Items returns 20 items now
2022-04-17 00:14:16 +02:00
8adfb56274
Problem: item counts don't update
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: re-enable updateChannelUnreadCount
2022-04-17 00:09:26 +02:00
eba40a4eee
Problem: before pagination shows first items
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: use greater than to filter first item
2022-04-16 23:56:06 +02:00
6bf8417451
Problem: After and Before are not working really well
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: Filter after and before and only add both when more items are
available
2022-04-16 21:23:10 +02:00
75914514ec
Problem: there is no insight into queries and searches
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: log searches
2022-04-16 20:49:29 +02:00
1606711d98
Problem: Prev Page is for moving forward
All checks were successful
continuous-integration/drone/push Build is passing
Solution: Use after in pagination
2022-04-16 20:43:55 +02:00
a2f04e4d6e
Problem: strings.Title is deprecated
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Solution: use golang.org/x/text/cases instead
2022-04-16 15:12:58 +02:00
90074d28d6
Problem: licenses in files are not regular
All checks were successful
continuous-integration/drone/push Build is passing
Solution: Paste license on top of all files. This does not change the
license. It was already licensed as GPLv3.
2021-11-20 22:26:39 +01:00
fd3a246f0d
Problem: http status codes use integer constants
Solution: replace http status codes with symbolic constants
2021-11-20 21:32:19 +01:00
9c8cec2c5b
Problem: error values are ignored
Solution: handle error values
2021-11-20 21:26:06 +01:00
67bc36bb66
Problem: MatchString is used in a loop
Solution: Compile regex outside loop
2021-11-20 21:15:17 +01:00
e98d9545d0
Problem: error string are capitalized
Solution: lowercase strings
2021-11-20 21:12:04 +01:00
637c223f0c
Problem: fmt.Sprintf was used with "%s" format
Solution: use .String() instead
2021-11-20 21:10:36 +01:00
164e809bf6
Problem: quoted string is used for regex
Solution: use raw string instead
2021-11-20 21:08:54 +01:00
3c5a620d4f
Problem: http.CloseNotifier is used
Solution: replace with r.Context().Done()
2021-11-20 21:07:47 +01:00
ca9be063cf
Problem: unused return
Solution: remove return
2021-11-20 21:07:20 +01:00
21f1048bba
Add logging of microsub errors
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 21:53:36 +01:00
8977ae6a0c
Use item.ID for uniqueness
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 19:49:47 +01:00
145fdd8a79
Use uid as _id
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-31 19:35:24 +01:00
3a43844e93
Fix foreign key errors for feed_id
All checks were successful
continuous-integration/drone/push Build is passing
Fix usage of QueryRow.Scan
2021-10-31 14:51:31 +01:00
64ae959670
Use database backend instead of backend.json 2021-10-31 01:37:39 +02:00
b608fe6bc6
Create Fetcher interface and use it 2021-10-30 21:09:27 +02:00
44ec376bda
Fix alteration of items table
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-30 10:25:57 +02:00
43472a64e7
ALTER TABLE items
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-30 00:11:25 +02:00
5eed538bd1
Fill item source from FeadHeader
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 21:47:37 +02:00
2f0758748d
fix(redisset): parse Published date without colon as well
All checks were successful
continuous-integration/drone/push Build is passing
Some feeds include a timezone without a colon ":". This changes makes it
so this is parsed as well.
2021-10-20 21:37:10 +02:00
9df63af33c
eksterd: make preview also available as a post request
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-20 21:09:38 +02:00
681d9e38bc
Add quotation-of and read-of to simplify these
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-05 21:54:40 +02:00
0078532d78
cleanup errors 2021-06-05 21:51:33 +02:00
904de8ddd3
jsonfeed: add testdata
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-05 20:10:48 +02:00
2a60a6afff
Remove logging lines
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-05 20:03:06 +02:00
ec493be52d
Respond with error when searching 2021-06-05 20:02:46 +02:00
4c1234291a
Add test for jsonfeed
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-01 01:07:55 +02:00
600c44a252
Merge branch 'master' of github.com:/pstuifzand/ekster 2021-06-01 00:53:25 +02:00
f14e6d8249
Add full text search to server
Some checks failed
continuous-integration/drone/push Build is failing
Adds Blevesearch to the server. Every item that is processed by the
server is added to the index and can be returned from the ItemSearch
request.
2021-05-30 22:01:34 +02:00
aaa5ac3570
Only count unread items in postgres-stream
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 23:28:56 +02:00
9267535f9c
Don't try to affect rows when adding items for postgres-stream
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 23:22:28 +02:00
76edad3e8d
Return true only when item added
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 22:51:36 +02:00
9d81cc9a3a
Add logging for timeline fetching
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 21:56:23 +02:00
dcff9a4890
Fix Count and MarkRead
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 11:51:46 +02:00
54e55c194e
Make an empty array when no items found
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 11:25:34 +02:00
ac56638664
Use pq.Array
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-13 11:21:31 +02:00
eb3dba4d17
Improve handling of before value
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-13 10:54:39 +02:00
f7fe30f387
Add after handling
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-12 22:05:44 +02:00
34daae0d9e
Add before handling
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-12 22:04:49 +02:00
9c4a166b45
Extract database, add refreshFeeds
Some checks failed
continuous-integration/drone/push Build is failing
2021-05-11 22:23:45 +02:00
afbd987ca3
Fetch items from channel with channelID
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-11 20:48:58 +02:00
486961ba24
Fix errorf
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-11 17:30:18 +02:00