Commit Graph

713 Commits

Author SHA1 Message Date
edf5a029ee
Problem: unread channels are at random positions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: move unread channels to the top
2022-04-30 14:10:29 +02:00
7a4f0ce8e1
Problem: no source in micropub item
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: add source to micropub new item
2022-04-20 13:44:19 +02:00
1505943783
Problem: testing on promotion should not happen
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: only test on push
2022-04-20 13:31:44 +02:00
150d29d180
Problem: deployment with testing is too slow
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: simplify deployment
2022-04-20 13:26:45 +02:00
caaa069660
Problem: no sources in database
All checks were successful
continuous-integration/drone/push Build is passing
Solution: add sources in database and tests
2022-04-20 13:22:06 +02:00
974f460f84
Problem: no feeds are shown as changed
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: use || instead of &&. As soon as one item was added, the feed
should be marked as changed.
2022-04-17 20:05:10 +02:00
6b60f5670a
Problem: errors when timeline does not exist
All checks were successful
continuous-integration/drone/push Build is passing
Solution: cleanup handling of timelines
2022-04-17 15:44:11 +02:00
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
296e2c03af
Problem: when logging UpdateFeed calls we only see channel Id
All checks were successful
continuous-integration/drone/push Build is passing
Solution: show channel name
2022-04-17 14:59:58 +02:00
a5105b0ddb
Problem: 0 unread items are not sent
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: remove check for unread, it's not working
2022-04-17 00:23:05 +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
13484d1834
Problem: no events is sent when a channel is created
Solution: fix bug when checking if channel was created
2022-04-16 23:55:10 +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
416a3733de
Problem: can't copy templates
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: don't copy templates
2022-04-16 15:39:57 +02:00
a3dd194472 Merge pull request 'Histogram bucket feed polling' (#11) from histogram-buckets-feed-polling into master
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Reviewed-on: #11
2022-04-16 13:28:03 +00: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
179955dbc7
Problem: we use older Go version
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Solution: upgrade Go version to 1.18.1
2022-04-16 15:05:22 +02:00
c9543e7a83
Problem: feeds are fetched every hour and haven't changed, or have changed often
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Solution: implement histogram buckets for feed polling

The feeds are now implemented in tiers. The tier is the bucket the feed
is in. To calculate the minutes to wait for when to fetch the next feed,
you add 2**tier minutes to the current time.
The feeds to fetch are filter by this time.
2022-04-16 14:55:22 +02:00
dd1cf843e4
Problem: the project does not have a CHANGELOG.md
Some checks failed
continuous-integration/drone/push Build is failing
Solution: create a CHANGELOG.md file
2021-11-22 21:52:51 +01:00
ede2da8f8d
Problem: templates are not used
All checks were successful
continuous-integration/drone/push Build is passing
Solution: remove templates directory
2021-11-20 23:27:06 +01: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
c47a7f7f2a
Problem: resubscribe_at can be nil
All checks were successful
continuous-integration/drone/push Build is passing
Solution: allow nil values in resubscribe_at
2021-11-20 22:07:38 +01:00
8ba1b213d6
Problem: publish-personal started to early
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Solution: set depends_on testing
2021-11-20 21:50:58 +01:00
bb01006234
Problem: binary not build in split pipelines
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Solution: combine pipelines for build and deploy
2021-11-20 21:47:07 +01:00
7c4711da1b
Problem: templateFile is unused
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Solution: remove templateFile
2021-11-20 21:39:38 +01:00
7f16439dd7
Problem: return is unnecessary
Solution: remove return statement
2021-11-20 21:38:47 +01:00
bfe52d0f2a
Problem: break statements are redundant in switch statement
Solution: remove break statements
2021-11-20 21:38:06 +01:00
ec8b2805f5
Problem: condition is unnecessarily complex
Solution: simplify condition
2021-11-20 21:34:46 +01:00
7a9777b416
Problem: fetch2 is unused
Solution: remove fetch2
2021-11-20 21:33:41 +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
bac33043c1
Add static and promotion of builds
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-20 20:57:49 +01:00
892a9cec72
Problem: memorybackend is a hubbackend
All checks were successful
continuous-integration/drone/push Build is passing
Solution: memorybackend has a hubbackend
2021-11-10 23:15:45 +01:00
531f6b31d9
Problem: completion in templates does not work
All checks were successful
continuous-integration/drone/push Build is passing
Solution: add gotype: directive in templates
2021-11-10 23:03:28 +01:00
a75bbb2551
Problem: HubBackend depends on ProcessContent in memorybackend
All checks were successful
continuous-integration/drone/push Build is passing
Solution: Create interface for memorybackend and depend on that.
2021-11-10 22:53:51 +01:00
5d5ee63d68
Problem: hubBackend database is dependent on memoryBackend
Solution: remove the dependency between on the database in memoryBackend
2021-11-10 22:44:22 +01:00
edb816f35b
Remove FUNDING.yml
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-10 14:39:05 +01:00
8f04beda0f
Add LICENSE information to homepage
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-10 14:31:12 +01:00
feb59bfab1
Try to generate multiple uid before failing
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-02 22:00:10 +01:00