Commit graph

204 commits

Author SHA1 Message Date
Tigor Hutasuhut 0c784b4cc9 fix: database lock by adding lock function when set schedule
Some checks failed
/ push (push) Has been cancelled
2024-06-03 23:31:45 +07:00
Tigor Hutasuhut c114469721 schedule-history: now date overflow handled to today date
Some checks failed
/ push (push) Has been cancelled
2024-06-03 16:42:40 +07:00
Tigor Hutasuhut 44128365c0 schedule-histories: revamped page data
Some checks failed
/ push (push) Has been cancelled
2024-06-03 16:19:34 +07:00
Tigor Hutasuhut 89e0b7f9bc fix: revert the divider change in homeview
Some checks failed
/ push (push) Has been cancelled
2024-05-29 19:48:09 +07:00
Tigor Hutasuhut b36b6cb430 home: divider moved to the top after the title
Some checks failed
/ push (push) Has been cancelled
2024-05-29 19:45:30 +07:00
Tigor Hutasuhut f07b1f4bf9 view(home): add device filter and pagination to home view
Some checks failed
/ push (push) Has been cancelled
2024-05-29 19:39:02 +07:00
Tigor Hutasuhut 8a0a139e50 view: devices: added action button 2024-05-29 16:22:26 +07:00
Tigor Hutasuhut 6f78182f5c view: devices: refactor filter bar 2024-05-29 15:37:03 +07:00
Tigor Hutasuhut c2f17fbe9f view: some text are hidden on mobile view 2024-05-29 15:36:47 +07:00
Tigor Hutasuhut 66e397d745 wip: trying to update filter on recently added section 2024-05-29 13:22:02 +07:00
Tigor Hutasuhut 1287c511df views(subreddits): enhanced view for mobile
Some checks failed
/ push (push) Has been cancelled
2024-05-29 12:19:20 +07:00
Tigor Hutasuhut 3ce9c2a327 view(subreddits-details): update view to use new components 2024-05-29 12:06:21 +07:00
Tigor Hutasuhut d6e8cd96b0 views: fix broken layout on devices put view 2024-05-29 12:05:40 +07:00
Tigor Hutasuhut 55845b4b45 view(subreddits): added nsfw filter to subreddit details view 2024-05-29 10:49:44 +07:00
Tigor Hutasuhut 13eb3ddbb9 subreddits: page has been moved 2024-05-29 10:00:18 +07:00
Tigor Hutasuhut d5db5b81f9 view(subreddits-filter-bar): update spacing
Some checks failed
/ push (push) Has been cancelled
2024-05-28 16:42:57 +07:00
Tigor Hutasuhut 4f3ba41237 view(subreddits-list): added filter bar 2024-05-28 16:39:38 +07:00
Tigor Hutasuhut d2b81567e3 view: update icons
Some checks failed
/ push (push) Has been cancelled
2024-05-28 15:36:10 +07:00
Tigor Hutasuhut e887675346 view: optimize for mobile and add icons
Some checks failed
/ push (push) Has been cancelled
2024-05-28 15:06:55 +07:00
Tigor Hutasuhut 3fdb78362b subreddit: implemented edit page and api
Some checks failed
/ push (push) Has been cancelled
2024-05-28 00:30:29 +07:00
Tigor Hutasuhut 5957648ec3 refactor subreddits creation page
Some checks failed
/ push (push) Has been cancelled
2024-05-27 21:10:37 +07:00
Tigor Hutasuhut 88f4edbaf5 fix: wtf context 2024-05-27 14:59:28 +07:00
Tigor Hutasuhut 36c8b2bc1d chore: go mod
Some checks failed
/ push (push) Has been cancelled
2024-05-27 14:36:06 +07:00
Tigor Hutasuhut 7e29cf7e55 revert: return from comfylite to normal sqlite 2024-05-27 14:29:09 +07:00
Tigor Hutasuhut addf634820 Revert "pubsub: migrated to comfylite3"
This reverts commit f5f5c7ae9e.
2024-05-27 14:24:17 +07:00
Tigor Hutasuhut 4db333848b Revert "db: prepare moving to comfylite3"
This reverts commit cd1959d824.
2024-05-27 14:24:15 +07:00
Tigor Hutasuhut b90d5c7601 Revert "serve: run migrations on startup"
This reverts commit 32fea20476.
2024-05-27 14:24:14 +07:00
Tigor Hutasuhut d44185b665 telemetry(openobserve): remove trailing newline from log messages 2024-05-23 22:47:34 +07:00
Tigor Hutasuhut 32fea20476 serve: run migrations on startup
Some checks failed
/ push (push) Has been cancelled
2024-05-23 22:31:09 +07:00
Tigor Hutasuhut cd1959d824 db: prepare moving to comfylite3 2024-05-23 16:34:39 +07:00
Tigor Hutasuhut f5f5c7ae9e pubsub: migrated to comfylite3
Some checks failed
/ push (push) Has been cancelled
2024-05-23 15:42:56 +07:00
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