1
0
Fork 0
forked from goffee/core

Commit graph

  • 987e8b98d0 scheduler updates scheduler Jose Cely 2026-06-23 18:12:36 -05:00
  • d156e3785d add maxruns and option for loop forever Jose Cely 2026-06-22 11:48:20 -05:00
  • 3710fbe343 Create a scheduler as a first-class core module feature, following the same pattern used for the Asynq queue system. The new core/scheduler/ subpackage contains QueueItem and ProcessedItem GORM models (tables queue_items and processed_items), a Store for database operations (enqueue, claim batch with SELECT FOR UPDATE SKIP LOCKED, result recording, stuck recovery), a Semaphore kill switch, and the polling Scheduler loop with configurable interval and rate limit. The core/scheduler.go wrapper exposes a Schedulermux struct (analogous to Queuemux) with SchedulerInit(), AddWork(), SetStore(), and RunScheduler() methods, plus global accessors ResolveSchedulerStore() and SchedulerSemaphoreSetGreen/Red/IsGreen() so controllers can enqueue work and control the semaphore without importing the subpackage directly. Jose Cely 2026-06-13 18:19:01 -05:00
  • ec47943a39 Merge pull request 'develop' (#31) from develop into main main Zeni Kim 2026-05-19 00:42:37 -04:00
  • b757aef6b1 get queue configurations from config in cup develop Zeni Kim 2026-05-18 22:34:37 -05:00
  • 75ddca3e7d migrated from cup session to core/session.go, Contains the new SessionUser struct and the CreateAuthTokenHashedCacheKey utility function Zeni Kim 2026-05-18 13:02:06 -05:00
  • 7c164ef58f fix typo Zeni Kim 2026-05-13 00:14:02 -05:00
  • d6dafa5ab6 fix typo Zeni Kim 2026-05-13 00:10:30 -05:00
  • 8604ce94ff fix order Zeni Kim 2026-05-13 00:08:36 -05:00
  • 8446f6fb2a In the core's response.go, add an optional RedirectCodeSetter field or variadic use303 ...bool parameter to Redirect() and use the stored code + http.StatusSeeOther in core.go instead of the hardcoded http.StatusTemporaryRedirect, so that a POST handler can redirect to a GET route by calling c.Response.Redirect("/url", true). Zeni Kim 2026-05-12 23:21:03 -05:00
  • 262c5befd9 - COOKIE_SECURE environment variable (defaults to true, set to false for local HTTP development) - Cookie time and JWT share the same time Zeni Kim 2026-05-11 21:35:00 -05:00
  • 19dba8f504 - Add function RenderNamedTemplate executes a named template from the registered set with the given data and returns the rendered HTML. - gormlogger.Silent is the log level that suppresses all Gorm log messages, including the "record not found" warnings. Zeni Kim 2026-05-11 20:17:30 -05:00
  • 59eadf29d0 fix bug Template Template compliance Zeni Kim 2026-05-08 02:30:34 -05:00
  • 6149d2945b Merge pull request 'develop' (#30) from develop into main Zeni Kim 2026-05-06 21:59:23 -04:00
  • 0da7ea8ab1 Added Level type - A custom int type with constants DEBUG, INFO, WARNING, ERROR in increasing severity order. Added minLevel field to Logger struct to track the minimum level threshold. Added SetLevel() and GetLevel() methods for dynamically changing/reading the log level at runtime. Zeni Kim 2026-05-06 16:06:25 -05:00
  • 5e389115fc Custom html/template FuncMap extensions that bring Liquid-like expressiveness to Go server-side templates. Zeni Kim 2026-05-02 03:00:56 -05:00
  • 851c9afd03 go update Zeni Kim 2026-05-02 01:15:26 -05:00
  • 78a06fb900 sync graph code Zeni Kim 2026-05-02 00:37:10 -05:00
  • 3d67bc0a03 Merge pull request 'develop' (#27) from develop into main Zeni Kim 2025-09-18 01:12:53 -04:00
  • 6b0e2e4739 Merge pull request 'main' (#26) from diana/core:main into develop Zeni Kim 2025-09-18 01:11:31 -04:00
  • e8f7ab40b5 Implemented a thread-safe solution to the race condition that was causing random route overlaps Zeni Kim 2025-09-18 00:11:08 -05:00
  • 3c0b56c433 add id Diana 2025-08-26 13:31:13 -05:00
  • 5c6be4b037 Merge pull request 'main' (#6) from goffee/core:main into main diana 2025-08-26 13:39:08 -04:00
  • 850d2ae477 Merge pull request 'develop' (#25) from develop into main Zeni Kim 2025-07-15 11:54:08 -04:00
  • 5f0ca8e797 add options for cdn and app Zeni Kim 2025-07-15 10:53:18 -05:00
  • c9cb539d18 check child items to active nav Zeni Kim 2025-04-28 00:12:43 -05:00
  • 30746a0602 check child items to active nav Zeni Kim 2025-04-28 00:11:04 -05:00
  • e43ace6679 Merge pull request 'main' (#24) from main into develop Zeni Kim 2025-04-28 00:47:40 -04:00
  • 653fd5c64e add ID to PageNavItem Zeni Kim 2025-04-27 23:41:25 -05:00
  • f1772b99f3 Merge pull request 'develop' (#23) from develop into main Zeni Kim 2025-04-17 02:52:54 -04:00
  • f276f4d61d add element paginator Zeni Kim 2025-04-17 01:49:43 -05:00
  • 5c3559c793 Merge pull request 'template with select multiple, input custom attribute' (#22) from jacs/core:develop into develop Zeni Kim 2025-04-16 20:59:45 -04:00
  • e3748c853f template with select multiple, input custom attribute jacs 2025-04-15 07:23:34 -05:00
  • 259f2f4b79 add img and class to table template v1.9.3 Zeni Kim 2025-03-27 12:41:17 -05:00
  • cc8c79fe3d add img and class to table template Zeni Kim 2025-03-27 12:19:18 -05:00
  • db3c510f9a add img and class to table template, new responnse buffer inline Zeni Kim 2025-03-27 12:12:49 -05:00
  • 1a39c666a3 fix v1.9.2 Zeni Kim 2025-03-18 23:43:09 -05:00
  • 790c840f76 split if Zeni Kim 2025-03-18 20:14:52 -05:00
  • a71b3697b6 Merge pull request 'develop' (#21) from develop into main Zeni Kim 2025-03-07 10:44:06 -05:00
  • 530a1171e6 Merge pull request 'develop' (#20) from jacs/core:develop into develop Zeni Kim 2025-03-07 10:42:26 -05:00
  • 3b6fa12911 change panic by err Jose Antonio Cely Saidiza 2025-03-05 15:12:11 -05:00
  • 9816e58e7c Merge pull request 'main' (#1) from goffee/core:main into main jacs 2025-03-05 11:54:06 -05:00
  • 695f1f57ba add documentation v1.9.1 Zeni Kim 2025-02-24 09:59:07 -05:00
  • 1b23363f6f Merge pull request 'add config option to disable queues' (#19) from develop into main v1.9.0 Zeni Kim 2024-12-23 23:44:23 -05:00
  • 0db37d31b8 add config option to disable queues Zeni Kim 2024-12-23 23:41:27 -05:00
  • deb119db84 Merge pull request 'develop' (#18) from develop into main Zeni Kim 2024-12-23 23:13:02 -05:00
  • b274d3268f add base queue system Zeni Kim 2024-12-23 23:11:49 -05:00
  • 4968da25f3 change BufferPDF to BufferFile to support any kind of file Zeni Kim 2024-12-22 10:42:56 -05:00
  • 0afafd8c41 Merge pull request 'improve GetRequestForm, extend templates' (#17) from develop into main v1.8.7 Zeni Kim 2024-12-18 08:19:48 -05:00
  • 90564daa5b improve GetRequestForm, extend templates Zeni Kim 2024-12-17 14:26:57 -05:00
  • 23753fc72f Merge pull request 'develop' (#16) from develop into main v1.8.6 Zeni Kim 2024-12-08 09:02:10 -05:00
  • a970ada00b Merge branch 'main' into develop Zeni Kim 2024-12-08 09:01:53 -05:00
  • 92f76c5f33 Merge pull request 'add buffer pdf response' (#15) from jacs/core:develop into develop Zeni Kim 2024-12-08 08:58:08 -05:00
  • 2076b4b35b add ID to dropdown Zeni Kim 2024-12-08 08:52:35 -05:00
  • 5d737c6b10 add buffer pdf response jacs 2024-12-08 00:24:44 -05:00
  • 3d0c238934 Merge pull request 'develop' (#14) from develop into main v1.8.5 Zeni Kim 2024-12-06 04:58:47 -05:00
  • 5896e6e617 add ID to button Zeni Kim 2024-12-06 04:55:43 -05:00
  • 8950cb539a change to temporary Zeni Kim 2024-11-22 16:25:06 -05:00
  • b87e0113c9 Merge pull request 'develop' (#12) from develop into main v1.8.4 Zeni Kim 2024-10-29 13:31:47 -04:00
  • 1657c19cc4 add ID to dropdown item Zeni Kim 2024-10-29 12:30:05 -05:00
  • 95a37c9aca Merge pull request 'develop' (#11) from diana/core:develop into develop Zeni Kim 2024-10-29 13:29:04 -04:00
  • 852d647f09 href add target Diana 2024-10-29 10:00:24 -05:00
  • a390b5a02f Merge pull request 'develop' (#4) from goffee/core:develop into develop diana 2024-10-29 10:57:55 -04:00
  • f07131086a Merge pull request 'add prod mode' (#10) from develop into main v1.8.3 Zeni Kim 2024-10-29 07:53:38 -04:00
  • 00adaed6a8 add prod mode Zeni Kim 2024-10-29 06:50:14 -05:00
  • 2a4a092cb2 Merge pull request 'develop' (#9) from develop into main v1.8.2 Zeni Kim 2024-10-28 13:20:05 -04:00
  • cd04230f29 remove secure to enable remote cookie Zeni Kim 2024-10-28 12:11:24 -05:00
  • 7c92148ae4 add core services, add graph service, add component graph Zeni Kim 2024-10-28 11:33:06 -05:00
  • 59ea47dcd6 detail table Zeni Kim 2024-10-27 12:54:34 -05:00
  • 789a157571 Merge pull request 'develop' (#8) from develop into main v1.8.1 Zeni Kim 2024-10-23 08:11:16 -04:00
  • cf8b3bdde7 Merge pull request 'component switch' (#7) from diana/core:develop into develop Zeni Kim 2024-10-23 08:08:05 -04:00
  • 7218f26d68 component switch Diana 2024-10-21 17:25:50 -05:00
  • 8eb14bd2da Merge pull request 'develop' (#3) from goffee/core:develop into develop diana 2024-10-21 18:16:44 -04:00
  • b9cd82867b Merge pull request 'develop' (#6) from develop into main v1.8.0 Zeni Kim 2024-10-16 00:04:58 -04:00
  • 00b8012edf fix conflict Zeni Kim 2024-10-15 22:18:32 -05:00
  • be138b2fb4 add middle line Zeni Kim 2024-10-15 22:15:20 -05:00
  • cc74165659 add cookie secret as env, fix components Zeni Kim 2024-10-15 22:00:46 -05:00
  • bf84e14bb1 component list Diana 2024-10-15 16:09:31 -05:00
  • 458ad520ca Input required, table (class, href, badge) Diana 2024-10-15 16:09:17 -05:00
  • f398ebb02d dropdown, href is content Diana 2024-10-15 16:07:18 -05:00
  • a904773bab Badge Diana 2024-10-15 16:06:49 -05:00
  • 05bd3a01ee Merge pull request 'develop' (#2) from goffee/core:develop into develop diana 2024-10-14 17:22:05 -04:00
  • 45e7079005 Merge pull request 'develop components' (#4) from diana/core:develop into develop Zeni Kim 2024-10-14 16:27:09 -04:00
  • 1c1740d97b base table Zeni Kim 2024-10-14 12:13:51 -05:00
  • 7073cd1c21 components: buttons, dropdown, href, nav Diana 2024-10-12 13:01:52 -05:00
  • bfde0cc445 Merge pull request 'develop' (#1) from goffee/core:develop into develop diana 2024-10-12 13:47:50 -04:00
  • 8f17bf6a8c add form components Zeni Kim 2024-10-08 07:58:42 -05:00
  • 015e85bf7b start theme core templates Zeni Kim 2024-10-07 18:10:04 -05:00
  • da7925ae08 Merge branch 'develop' of git.smarteching.com:goffee/core into develop Zeni Kim 2024-09-30 09:13:10 -05:00
  • 2bffdcdcf7 start cookie session Zeni Kim 2024-09-30 09:12:38 -05:00
  • edc0c0c036 Merge pull request 'get body request, validator fix' (#3) from diana/core:develop into develop Zeni Kim 2024-09-28 18:50:43 -04:00
  • a82b6812e3 get body request, validator fix Diana 2024-09-28 17:40:42 -05:00
  • 21319dab48 Merge pull request 'theme base system' (#1) from develop into main Zeni Kim 2024-09-27 10:48:29 -04:00
  • 465e88bf40 theme base system Zeni Kim 2024-09-27 02:27:24 -05:00
  • 1172e23c16 template system Zeni Kim 2024-09-24 16:12:17 -05:00
  • 711a68699a add public path Zeni Kim 2024-09-23 19:04:14 -05:00
  • 1bfc72d6a3 change hooks v1.7.3 Zeni Kim 2024-09-16 16:01:44 -05:00
  • c6006861cb migration v1.7.2 Zeni Kim 2024-09-15 19:19:54 -05:00
  • ac8ba89865 migration Zeni Kim 2024-09-15 19:00:38 -05:00
  • 7f38826b9c initial commits 2 Zeni Kim 2024-09-12 17:13:16 -05:00