Commit Graph

  • cc759ec694 Fix csrf main H3ALY 2025-11-02 09:50:50 +00:00
  • f0fc70eac6 Add in mark as reaad button to list view, use ajax to preform the action without page refresh. H3ALY 2025-11-02 09:11:48 +00:00
  • 61ad033520 Fix archiving and unarchiving functionality. H3ALY 2025-11-01 22:37:47 +00:00
  • 9dc01f925a Changes to pagination and fixing archive messages in progress H3ALY 2025-10-31 22:55:04 +00:00
  • 8529116ad2 Messages now sending/loading and populating on message dropdown H3ALY 2025-10-31 12:08:38 +00:00
  • 776ea53a66 Formatting H3ALY 2025-10-31 12:00:43 +00:00
  • 5880d1ca43 Fix reading of messages. H3ALY 2025-10-31 12:00:08 +00:00
  • da365aa9ef Remove unused functions. H3ALY 2025-10-31 11:57:39 +00:00
  • 5177194895 Add sender H3ALY 2025-10-31 09:45:20 +00:00
  • a7a5169c67 Fix model issues. H3ALY 2025-10-30 22:19:48 +00:00
  • 262536135d Still working through messages and notifications. H3ALY 2025-10-30 17:22:52 +00:00
  • 8650b1fd63 Continued work on messages and notifications. H3ALY 2025-10-30 11:11:22 +00:00
  • b41e92629b Continued work around getting messages and notifications cleaned up since moving to MySQL and changing to Gin, SCS, NoSurf. H3ALY 2025-10-29 15:22:05 +00:00
  • 0b2883a494 todo comment H3ALY 2025-10-29 15:21:20 +00:00
  • 5520685504 minor update to footer. H3ALY 2025-10-29 15:21:07 +00:00
  • e2b30c0234 minor formatting and text H3ALY 2025-10-29 15:19:24 +00:00
  • 07f7a50b77 ToDo job H3ALY 2025-10-29 15:19:07 +00:00
  • f458250d3a correct package name H3ALY 2025-10-29 11:38:05 +00:00
  • f2cb283158 todo for a later date H3ALY 2025-10-29 11:37:50 +00:00
  • b9bc29d5bc fix loading of ticket add page H3ALY 2025-10-29 11:37:35 +00:00
  • b6b5207d43 Fleshing out some routes from notifications and messages H3ALY 2025-10-29 10:43:48 +00:00
  • 34918d770f Fix for tim.Time change to tickets model includes date helper. H3ALY 2025-10-29 10:00:58 +00:00
  • eba25a4fb5 comment model. H3ALY 2025-10-29 09:47:51 +00:00
  • e6654fc1b4 User specific lottery ticket creation H3ALY 2025-10-29 09:47:35 +00:00
  • ddafdd0468 current duplicate check uses IS ? which is fragile in MySQL. Using the NULL-safe equality operator <=> instead. H3ALY 2025-10-29 09:29:51 +00:00
  • 5fcb4fb016 change the field to time.Time for correctness H3ALY 2025-10-29 09:29:10 +00:00
  • 71c8d4d06c fix typo H3ALY 2025-10-29 08:54:19 +00:00
  • 244b882f11 Code documentation H3ALY 2025-10-29 08:36:10 +00:00
  • 8d2ce27a74 commented code H3ALY 2025-10-28 22:46:11 +00:00
  • 72e655674f Remove redunant ping and update comments. H3ALY 2025-10-28 22:42:58 +00:00
  • f1e16fbc52 Logged-in users don’t see login/signup pages H3ALY 2025-10-28 22:26:15 +00:00
  • aec8022439 Add additional columns to aufit_login for session tokens. fixed requireAuth for loading of some pages as requireauth was threating a valid session as not logged in. H3ALY 2025-10-28 22:22:17 +00:00
  • e1fa6c502e Centralize audit SQL + writers H3ALY 2025-10-28 15:26:43 +00:00
  • aa20652abc Moved admin only to middleware. H3ALY 2025-10-28 15:24:25 +00:00
  • c9f3863a25 Fix: apply schema: Error 1064 (42000) H3ALY 2025-10-28 14:38:50 +00:00
  • 76cdb96966 update signup html H3ALY 2025-10-28 14:37:21 +00:00
  • 29cb50bb34 Update users table and fix potential panic as fk references users before its created. H3ALY 2025-10-28 14:37:05 +00:00
  • ffcc340034 remove flash from layout. H3ALY 2025-10-28 13:49:55 +00:00
  • af581a4def Fix ob: type not registered for interface: map[string]string & superfluous response.WriteHeader, as well as wired up to go to custom 500 messages. H3ALY 2025-10-28 13:16:29 +00:00
  • e0b063fab0 Remove comments and update path. H3ALY 2025-10-28 12:43:41 +00:00
  • 4a6bfad880 readme file. H3ALY 2025-10-28 12:01:52 +00:00
  • 04c3cb3851 Current config structure H3ALY 2025-10-28 11:59:04 +00:00
  • c911bf9151 Ignore main.exe H3ALY 2025-10-28 11:57:27 +00:00
  • 86be6479f1 Stack of changes to get gin, scs, nosurf running. H3ALY 2025-10-28 11:56:42 +00:00
  • 07117ba35e No longer required. H3ALY 2025-10-24 13:19:55 +01:00
  • ac1f6e9399 refactor(template): delegate handler-level RenderError to helpers package H3ALY 2025-10-24 13:15:12 +01:00
  • fb07c4a5eb Refactoring for Gin, NoSurf and SCS continues. H3ALY 2025-10-24 13:08:53 +01:00
  • 7276903733 refactor(config): move Config struct from business layer to platform/config H3ALY 2025-10-24 08:35:39 +01:00
  • 0f60be448d Refactoring continues. H3ALY 2025-10-23 21:51:15 +01:00
  • 82f457c5a4 New packages for MySQL. H3ALY 2025-10-23 19:53:06 +01:00
  • b098915ab9 Update import paths H3ALY 2025-10-23 19:51:28 +01:00
  • 21ebc9c34b Refactor and remove sqlite and replace with MySQL H3ALY 2025-10-23 18:43:31 +01:00
  • d53e27eea8 Switching to MySQL H3ALY 2025-10-22 22:43:35 +01:00
  • 752db0b89d New statistics related models and handlers. H3ALY 2025-10-22 20:58:25 +01:00
  • 8d06a7a962 Remove log output and updated comment H3ALY 2025-10-22 20:57:03 +01:00
  • 7597fff8b1 routes.SetupStatisticsRoutes H3ALY 2025-10-22 20:56:04 +01:00
  • 58dd313703 Forgot to add draw IDs to tables. H3ALY 2025-10-20 14:48:33 +01:00
  • e0a2e5430e Change greeting to include user related dropdown items. H3ALY 2025-04-23 15:30:23 +01:00
  • 7d26f6cf48 Update footer so copyright start year is displayed and evaluated. H3ALY 2025-04-23 15:30:02 +01:00
  • 0634876b75 Add in context to dashboard for user to topbar loads all items & refactor for clarity of variable extraction. H3ALY 2025-04-23 15:29:34 +01:00
  • b5f1b17684 Fix loading of tickets missing range class. H3ALY 2025-04-23 11:54:45 +01:00
  • f9853c921d Refactoring finalised ... I think. H3ALY 2025-04-23 11:30:03 +01:00
  • e938828a8c fix loading ofr login form and redirects. H3ALY 2025-04-23 10:06:55 +01:00
  • 2ce810a4dd Refactoring cont. H3ALY 2025-04-23 09:44:19 +01:00
  • 5c3a847900 Massive refactor! H3ALY 2025-04-22 23:26:11 +01:00
  • 05bb05d45c Move admin.go this is a storage task, updated routes to use proection H3ALY 2025-04-16 10:41:06 +01:00
  • 7f91771166 Implement a stronger, reusable session timeout H3ALY 2025-04-16 10:32:34 +01:00
  • f7e9fe7794 make shutting down graceful H3ALY 2025-04-16 10:24:54 +01:00
  • 2440b3a668 Rewiring CSRF protection and movign some functionality to the bootstrapping stage. H3ALY 2025-04-16 09:50:58 +01:00
  • 4bb3b58ddb Bootstrapped the creation and loading of session keys to lighten main. H3ALY 2025-04-16 08:21:02 +01:00
  • 0a21973237 rework to lighten the main, refactor wrappers. Rehandle csrf and pull config items. H3ALY 2025-04-15 22:19:55 +01:00
  • 0a5d61ea1e Re-work loading of configuration, introduce a loader for start up & and custom logging wrapper. H3ALY 2025-04-15 21:10:57 +01:00
  • d7c15141b8 Been too long since i did anything, can't remember what the hell is in all this.... H3ALY 2025-04-15 20:56:21 +01:00
  • 152c5cb18c Add Syndicate Invite Token System (Secure Links) H3ALY 2025-04-04 22:33:40 +01:00
  • 8b02a3137d Filter out syndicates where the user is both the owner and a member in syndicate veiw. H3ALY 2025-04-04 11:19:45 +01:00
  • f6350b1d7f more link fixes. H3ALY 2025-04-04 11:12:54 +01:00
  • 292db01011 Fix issue creating syndicates, accepted should not be set when creating. H3ALY 2025-04-04 11:10:15 +01:00
  • 02300c69d8 Fix Syndicate paths. H3ALY 2025-04-04 10:57:06 +01:00
  • 22fbf59157 Forgot to remove handler. H3ALY 2025-04-04 10:30:28 +01:00
  • ef4478e8a6 Added syndicate creation and invite logic H3ALY 2025-04-04 10:26:24 +01:00
  • df6608dda5 forgot to stage H3ALY 2025-04-02 23:53:40 +01:00
  • 053ccf3845 **Untested! ** Add restore functionality for archived messages H3ALY 2025-04-02 23:53:29 +01:00
  • db5352bc9c Add restore functionality for archived messages H3ALY 2025-04-02 22:18:02 +01:00
  • dd83081271 Added full message handling system with archive view, pagination, and send support H3ALY 2025-04-02 21:29:54 +01:00
  • e3428911b9 Messages: Add archive (soft-delete) support + dropdown UI polish H3ALY 2025-04-02 17:15:57 +01:00
  • 2fd053777d Feature: complete message inbox, view, and topbar integration H3ALY 2025-04-02 13:41:51 +01:00
  • b630296b8c Add message system (inbox, read view, dropdown) and truncate helper H3ALY 2025-04-02 11:56:11 +01:00
  • ab1d9abc72 Refactor: Recover middleware now uses RenderError + add full notifications view H3ALY 2025-04-02 09:54:20 +01:00
  • 2498b33a9c Refactor: Centralize template loading and improve error handling H3ALY 2025-04-02 09:12:13 +01:00
  • f5653f737d Delete synlotto.db Ross Healy 2025-04-01 22:22:46 +00:00
  • e5bf12ad77 Feature: Full notification read view with conditional mark-as-read logic H3ALY 2025-04-01 23:08:58 +01:00
  • 06e647d00f Feature: Add account-protected route to mark notifications as read H3ALY 2025-04-01 22:12:41 +01:00
  • 1e372da57d adjust count mechanism. H3ALY 2025-04-01 21:39:57 +01:00
  • d5b953475c schema update, no sender name required. H3ALY 2025-04-01 21:38:08 +01:00
  • 5ea780fcab Cleanup: Finalize template context integration and remove legacy code H3ALY 2025-04-01 21:20:05 +01:00
  • 03b1e095ce Refactor: Centralize template context using unified TemplateData struct H3ALY 2025-04-01 21:08:00 +01:00
  • 6dbac8ab14 Already exists in helpers. H3ALY 2025-04-01 16:02:59 +01:00
  • b79621cf9f Should not be in template.go should be template functions. H3ALY 2025-04-01 16:01:33 +01:00
  • e68559ad3d thing this are broken but checking in so i have a state to revert too. H3ALY 2025-04-01 15:52:31 +01:00
  • 8469f02eb8 add db to ignore. H3ALY 2025-04-01 15:50:39 +01:00