Commit graph

223 commits

Author SHA1 Message Date
Tigor Hutasuhut 1b29cf8337 pubsub: added retry on reddit or database busy 2024-05-23 15:27:59 +07:00
Tigor Hutasuhut 1896839664 api: use app level lock when writing to database
Some checks failed
/ push (push) Has been cancelled
because of database locked error
2024-05-23 13:49:37 +07:00
Tigor Hutasuhut 646010e3e4 Revert "prepare to migrate pubsub to sqlite backed db"
This reverts commit 6d7437856e.
2024-05-22 19:18:26 +07:00
Tigor Hutasuhut 6d7437856e prepare to migrate pubsub to sqlite backed db 2024-05-22 15:16:07 +07:00
Tigor Hutasuhut 327c8380af sqlite: DB connection is not thread safe. Set max open connections to 1
Some checks failed
/ push (push) Has been cancelled
2024-05-22 08:00:25 +07:00
Tigor Hutasuhut f78661aa6e scheduler: fix missing default sheduler timeout causing scheduler to
Some checks failed
/ push (push) Has been cancelled
never runs
2024-05-21 22:27:11 +07:00
Tigor Hutasuhut a98dd2d33e views: prepare for refactoring views into separate files 2024-05-14 19:23:59 +07:00
Tigor Hutasuhut b9a589cfcd forgejo: docker push tag now push only the tag and latest image 2024-05-14 18:58:32 +07:00
Tigor Hutasuhut 2652933361 api: fix scheduler deadlocks
Some checks failed
/ push (push) Has been cancelled
2024-05-14 18:49:45 +07:00
Tigor Hutasuhut 0d849ec172 log: json output is now colored on when tty is available 2024-05-14 18:49:06 +07:00
Tigor Hutasuhut ee2e307f6a api: integrated scheduler 2024-05-14 12:08:34 +07:00
Tigor Hutasuhut 8698d61e1d errs: fix duplicate error message 2024-05-14 12:07:07 +07:00
Tigor Hutasuhut 6cea6394f3 makefile: start now pulls in web-dependencies and migrate-up 2024-05-14 11:07:44 +07:00
Tigor Hutasuhut f3ce9950a3 scheduler: implemented more proper scheduler api 2024-05-14 09:51:53 +07:00
Tigor Hutasuhut a5192c949b docker: build now take advantage of caching for web-build-docker target 2024-05-13 21:19:43 +07:00
Tigor Hutasuhut 7488e2b5e3 api: revamped scheduler to run every minute
Some checks failed
/ push (push) Has been cancelled
Schedule now triggered by a runner that loops every minute and check if cron expression passes the time check.
2024-05-13 21:10:48 +07:00
Tigor Hutasuhut a17fdf9551 web: moved endpoint /schedules to /history 2024-05-13 19:06:29 +07:00
Tigor Hutasuhut 515704f018 subreddits-page: fix horizontal scrollbar appeared when there's a subreddit with no images
Some checks failed
/ push (push) Has been cancelled
2024-05-13 16:23:07 +07:00
Tigor Hutasuhut f98bed2e69 pagination: added cancel button to the dialog
Some checks failed
/ push (push) Has been cancelled
2024-05-13 15:52:41 +07:00
Tigor Hutasuhut 5b1429c1a2 view: images: better horizontal image well component
Some checks failed
/ push (push) Has been cancelled
2024-05-13 15:27:36 +07:00
Tigor Hutasuhut 17cd952d83 view: better spacing for mobile 2024-05-13 13:38:13 +07:00
Tigor Hutasuhut c03955f284 sqldblogger: log LevelInfo as debug
Some checks failed
/ push (push) Has been cancelled
2024-05-13 11:19:54 +07:00
Tigor Hutasuhut a150f6ee8b docker: build with build-arg for runtime version
Some checks failed
/ push (push) Has been cancelled
2024-05-13 11:11:54 +07:00
Tigor Hutasuhut 857c2dff13 docker: added compression to the binary for smaller image
Some checks failed
/ push (push) Has been cancelled
2024-05-13 10:54:39 +07:00
Tigor Hutasuhut c867be4369 view-context: remove empty query parameters from URLWithExtraQuery
Some checks failed
/ push (push) Has been cancelled
2024-05-13 10:41:23 +07:00
Tigor Hutasuhut af2a35d20f subreddit-details: uses proper pagination component 2024-05-13 10:38:14 +07:00
Tigor Hutasuhut b36a2f828a pagination: support mobile view 2024-05-13 10:38:07 +07:00
Tigor Hutasuhut cdc5cffefc pagination: minimum number of pages to show is now 5
Some checks failed
/ push (push) Has been cancelled
2024-05-12 22:51:48 +07:00
Tigor Hutasuhut 5160030304 pagination: unhide range now starts at 1 instead of 2 2024-05-12 22:50:31 +07:00
Tigor Hutasuhut fdfad2f9e1 pagination: implemented seek page feature
Some checks failed
/ push (push) Has been cancelled
2024-05-12 22:45:41 +07:00
Tigor Hutasuhut 3f3bc72f30 devices-details: added pagination component
Some checks failed
/ push (push) Has been cancelled
2024-05-12 18:13:00 +07:00
Tigor Hutasuhut 06cd155f72 docker: fix image base to use latest distroless image
Some checks failed
/ push (push) Has been cancelled
2024-05-12 11:56:20 +07:00
Tigor Hutasuhut 68fced6618 workflow: added docker login
Some checks failed
/ push (push) Has been cancelled
2024-05-12 11:26:25 +07:00
Tigor Hutasuhut 5b01db37c8 workflow: removed ls -la statement
Some checks failed
/ push (push) Has been cancelled
2024-05-12 11:09:00 +07:00
Tigor Hutasuhut 26fe51e6ed removed container image from push_tag.yaml
Some checks failed
/ push (push) Failing after 20s
2024-05-12 10:56:04 +07:00
Tigor Hutasuhut e0a6548b61 workflow: fix missing checkout step
Some checks failed
/ push (push) Failing after 36s
2024-05-12 10:54:05 +07:00
Tigor Hutasuhut 245a1a0e37 update workflow
Some checks failed
/ push (push) Has been cancelled
2024-05-12 10:48:12 +07:00
Tigor Hutasuhut 4fc0fd19cc doc: added docker-compose example
Some checks failed
/ push (push) Failing after 31s
2024-05-12 10:43:29 +07:00
Tigor Hutasuhut 409d63d15e workflow: refactor steps 2024-05-12 10:35:37 +07:00
Tigor Hutasuhut e1147efbd9 runner: update deploy workflow to push docker image to registry and deploy using docker compose 2024-05-11 22:02:04 +07:00
Tigor Hutasuhut 0498985f51 forgejo: removed volume mounting 2024-05-11 21:19:15 +07:00
Tigor Hutasuhut 0fcd96ca94 forgejo: actions default to 'docker' 2024-05-11 21:14:12 +07:00
Tigor Hutasuhut a82d45ba94 forgejo: added test action 2024-05-11 20:49:40 +07:00
Tigor Hutasuhut 84d4ecba5b docker: added dockerfile support 2024-05-11 20:23:05 +07:00
Tigor Hutasuhut b066ba8d66 devices: enhances filter bar 2024-05-08 19:51:49 +07:00
Tigor Hutasuhut 111e855a6e fix: devices list now shows Windows Wallpaper Mode badge 2024-05-08 19:40:25 +07:00
Tigor Hutasuhut 3c8a1b1fd6 devices: enhanced more displays 2024-05-08 19:32:14 +07:00
Tigor Hutasuhut 1dc3617df3 refactor: moved devices locations to cleaner name 2024-05-08 14:09:00 +07:00
Tigor Hutasuhut 9c1db28783 devices: moved endpoints 2024-05-08 11:19:14 +07:00
Tigor Hutasuhut bfff9a698f refactor: renamed add device to put 2024-05-08 10:10:23 +07:00