8adfb56274
Problem: item counts don't update
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
...
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
continuous-integration/drone/push Build is failing
2021-11-20 20:57:49 +01:00
892a9cec72
Problem: memorybackend is a hubbackend
...
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
...
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
...
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
continuous-integration/drone/push Build is passing
2021-11-10 14:39:05 +01:00
8f04beda0f
Add LICENSE information to homepage
continuous-integration/drone/push Build is passing
2021-11-10 14:31:12 +01:00
feb59bfab1
Try to generate multiple uid before failing
continuous-integration/drone/push Build is passing
2021-11-02 22:00:10 +01:00
ddad9371dc
Seed the random seed generator
2021-11-02 21:59:53 +01:00
f9c9455389
Only returns feeds with hubs
continuous-integration/drone/push Build is passing
2021-11-01 23:19:46 +01:00
903a9999c0
Set published when empty
continuous-integration/drone/push Build is passing
2021-10-31 23:08:43 +01:00
dc56e09914
Add logging to micropub
continuous-integration/drone/push Build is passing
2021-10-31 23:04:49 +01:00
a183b26312
Remove unused column in scan
continuous-integration/drone/push Build is passing
2021-10-31 22:46:32 +01:00
21f1048bba
Add logging of microsub errors
continuous-integration/drone/push Build is passing
2021-10-31 21:53:36 +01:00
33e58ebe9e
Fix pointer in Scan
continuous-integration/drone/push Build is passing
2021-10-31 19:55:19 +01:00
8977ae6a0c
Use item.ID for uniqueness
continuous-integration/drone/push Build is passing
2021-10-31 19:49:47 +01:00
145fdd8a79
Use uid as _id
continuous-integration/drone/push Build is passing
2021-10-31 19:35:24 +01:00
198d18fe17
Use one more argument for leaseSeconds
continuous-integration/drone/push Build is passing
2021-10-31 19:16:49 +01:00
a38d2147bf
Fix order of arguments
continuous-integration/drone/push Build is passing
2021-10-31 15:16:53 +01:00
ae55224d11
Create circular references between backend and hubbackend
continuous-integration/drone/push Build is passing
2021-10-31 15:12:23 +01:00