Commit Graph

  • ce03926ce6 Rename app->internal structure_refactor Maximilian 2024-07-10 17:45:04 -0500
  • ce85d6b77b Begin refactoring structure Maximilian 2024-07-01 21:19:48 -0500
  • 86ff949eae Update x/crypto master max 2024-06-25 18:17:21 -0500
  • 8476e37499 Update x/crypto max 2024-04-19 11:40:15 -0500
  • 783ddaf553 Merge branch 'master' into enhanced_routing_and_logout_fixes enhanced_routing_and_logout_fixes max 2024-02-28 10:06:56 -0600
  • b8b64968bb Merge remote-tracking branch 'origin/enhanced_routing_and_logout_fixes' into enhanced_routing_and_logout_fixes max 2024-02-28 09:52:47 -0600
  • aad9cdfaf5 Merge remote-tracking branch 'origin/master' max 2024-02-28 09:52:10 -0600
  • 3738ba689e Update x/crypto max 2024-02-28 09:51:56 -0600
  • 65be302aa4 Update x/crypto max 2024-02-28 09:51:26 -0600
  • 8ab50cb37c Merge branch 'master' into enhanced_routing_and_logout_fixes Maximilian 2024-02-18 17:23:46 -0600
  • a833823ad6 Fix wording Maximilian 2024-02-18 17:23:23 -0600
  • 6d6aff50b3 Only show logout (now CSRF protected) if user is authenticated, include relevant authentication logic in GET controllers (this should be moved to middleware) max 2024-02-14 13:20:35 -0600
  • a6be73765a Add GET verb to static handler max 2024-02-14 13:16:52 -0600
  • ddc9e51831 Fix boolean column migration example max 2024-02-14 13:16:15 -0600
  • dc450e26dd Move logout to POST route and controller with CSRF middleware. Add CsrfToken to home for logout max 2024-02-12 14:46:26 -0600
  • de4a217c5f Update extended crypto library max 2024-02-09 14:47:29 -0600
  • c4e83d06b9 Bump go version to 1.22 max 2024-02-09 14:21:45 -0600
  • 51da24be9b Small formatting fix max 2024-02-09 13:44:21 -0600
  • e497f4d2f0 Ignore fields that are zero value Maximilian 2024-01-20 16:32:07 -0600
  • b30af86e58 Prebuild templates (base.html + content) at startup to avoid a file parse every page load v1.5.1 Maximilian 2023-12-22 21:03:15 -0600
  • 3ffd548623 Fix ordering for html attributes Maximilian 2023-12-21 00:14:28 -0600
  • cb4f10e0b4 Better alignment for memory Maximilian 2023-12-19 16:41:31 -0600
  • 878ce01b29 Get the sha256 hash of password before passing to bcrypt to avoid character limit Maximilian 2023-12-19 16:06:00 -0600
  • c82cdb4f13 Use best naming practices Maximilian 2023-12-18 23:04:31 -0600
  • ce81c36e9f Update x/crypto Maximilian 2023-12-18 23:01:19 -0600
  • ab1b82c680 Update x/crypto Maximilian 2023-10-10 21:37:54 -0500
  • 308198ee8b Merge branch 'master' into toml_config toml_config Maximilian 2023-09-26 11:32:52 -0500
  • d8b1a5c999 Remove unnecessary comparison Maximilian 2023-09-26 11:32:39 -0500
  • ac19e2515a Go mod tidy and update x/crypto Maximilian 2023-09-17 19:25:38 -0500
  • 0f59a6eba9 Go mod tidy and update x/crypto Maximilian 2023-09-17 19:23:57 -0500
  • 60006b6e4e Use TOML for config Maximilian 2023-09-04 15:21:26 -0500
  • 72e9ee3e43 Use TOML for config tfasano1 2023-09-04 15:20:21 -0500
  • bb69c16cdf Update How to use section Maximilian 2023-09-03 16:18:48 -0500
  • e87f14bcbf Make all slog errors uniform (lowercase) Maximilian 2023-09-03 15:56:35 -0500
  • ed712a5344 Clean up error handling, migrate to log/slog, add todo for flash message system in post controller Maximilian 2023-09-03 15:45:12 -0500
  • ee4c9f9199 Clean up error handling, begin migration to log/slog Maximilian 2023-08-17 21:13:17 -0500
  • 1d400efa19 Update x/crypto and Go version Maximilian 2023-08-12 14:30:12 -0500
  • b36cbf4b9e Comment cleanup Maximilian 2023-08-12 14:28:21 -0500
  • fa3165d317 Use proper error comparison Maximilian 2023-08-03 12:13:37 -0500
  • 7cb36db3c2 Handle errors Maximilian 2023-08-03 12:13:15 -0500
  • eda5344685 Fix spelling Maximilian 2023-08-03 12:11:01 -0500
  • 9670b7d717 Better naming of functions and files, delete less than helpful comments Maximilian 2023-08-03 12:09:40 -0500
  • a1438f4fe2 Update README.md v1.5.0 Maximilian 2023-07-31 20:18:11 -0500
  • 052fa689c7 Merge branch 'middleware' Maximilian 2023-07-31 18:41:49 -0500
  • f1fad7e4e3 Pass in handler to middleware, create definition for MiddlewareFunc Maximilian 2023-07-31 18:37:54 -0500
  • b475da66da Fix nil error for GET requests Maximilian 2023-07-26 13:09:01 -0500
  • d0085ab2c3 Update crypto dependency Maximilian 2023-07-25 15:36:25 -0500
  • 58514f4c5f Update client to handle GET (no body) requests, multipart requests, and JSON requests Maximilian 2023-07-25 15:34:11 -0500
  • 606f5df45a Refactor name Maximilian 2023-07-22 23:37:38 -0500
  • 2a32a1b3ce Add restclient package, and a simple function to send HTTP requests Maximilian 2023-07-21 16:35:18 -0500
  • eb36156c52 Change function name to ProcessGroup Maximilian 2023-07-21 16:26:43 -0500
  • bada24884a Use ungrouped CSRF middleware on register and login POST routes Maximilian 2023-07-21 11:59:55 -0500
  • 05397c2b61 Initial middleware implementation for CSRF and update comment Maximilian 2023-07-21 11:59:01 -0500
  • 3d80b95f55 Initial wrapper implementation Maximilian 2023-07-07 18:05:17 -0500
  • 37391190fb Merge branch 'master' into file_uploads file_uploads Maximilian 2023-05-05 12:19:55 -0500
  • 6da7d408f9 Add .gitattributes to force LF line endings Maximilian 2023-05-05 12:19:17 -0500
  • 1fb8fdef81 Merge branch 'master' into file_uploads max 2023-05-04 09:00:53 -0500
  • e993bcf317 Update dependency versions max 2023-05-04 09:00:35 -0500
  • baef0cbe78 Fix a couple deprecated calls and handle errors max 2023-05-04 08:40:35 -0500
  • d0da1a9114 File Uploading feature by tfasano1 tfasano1 2023-05-04 08:26:44 -0500
  • 9b231a73d6 Update README.md Maximilian 2023-04-07 21:32:39 -0500
  • 34acd0fa8d Remove old session query v1.4.1 Maximilian 2023-04-07 21:27:14 -0500
  • 71d3bd77d0 Add ability to get session given an AuthToken, fix GetCurrentUser() Maximilian 2023-04-07 21:23:46 -0500
  • 1451abcca4 Formatting Maximilian 2023-04-06 12:01:29 -0500
  • 53a780343f Fix scheduler by adding a wait group v1.4.0 max 2023-04-06 09:55:56 -0500
  • 8e4c5e3268 Fix wrong query for clearing 6-hour old sessions max 2023-04-06 09:35:53 -0500
  • f18f512fea Properly set the name of the checkbox for parsing max 2023-04-06 09:31:12 -0500
  • 58328fe505 Fix some SQL errors max 2023-04-06 09:30:53 -0500
  • 10e7830349 Remember me checkbox on login form max 2023-04-06 08:57:17 -0500
  • 5f7e674d32 Add remember me functionality, handle both types of sessions appropriately max 2023-04-06 08:56:48 -0500
  • ec9c1a8fb5 Initial clear old sessions implementation max 2023-04-04 14:37:36 -0500
  • 242029f2e5 Initial task scheduler implementation max 2023-04-04 14:37:23 -0500
  • b1c65f2ab1 Remove erroneous SetCookie (leftover from redundant remove) Maximilian 2023-03-27 15:05:11 -0500
  • 965139ea18 Remove redundant session cookie clear max 2023-03-16 08:40:50 -0500
  • cf8aea5115 Update README.md v1.3.0 Maximilian 2023-03-06 21:34:12 -0600
  • c510646c84 Make username text placeholder instead of value Maximilian 2023-03-06 21:27:05 -0600
  • a4366c7395 Add more to .gitignore Maximilian 2023-03-06 21:23:56 -0600
  • 073dfafb28 Change log message Maximilian 2023-03-06 21:10:09 -0600
  • 3fa5cf46d2 Update experimental crypto library Maximilian 2023-03-06 21:08:56 -0600
  • bd8b015f44 Update README.md Maximilian 2023-03-06 21:02:41 -0600
  • 5a1cd77676 Update README.md Maximilian 2023-03-06 13:10:50 -0600
  • 012906eee2 Update README.md Maximilian 2023-03-06 13:00:11 -0600
  • 2a705483d9 Add README.md Maximilian 2023-03-06 12:58:58 -0600
  • be2c3ae178 Add default theme and apply to pages Maximilian 2023-03-06 12:44:20 -0600
  • f32223f12c Fix static file handling for the embedded filesystem Maximilian 2023-03-06 12:43:54 -0600
  • eff740072d Decouple SQL queries from logic Maximilian 2023-03-05 15:46:43 -0600
  • 75d8996cf9 Fix some queries, comments, and error logging Maximilian 2023-02-28 15:02:21 -0600
  • ac2b5262fd Remove print Maximilian 2023-02-28 14:57:15 -0600
  • b9ac6fbd5f Add session migration Maximilian 2023-02-28 14:55:09 -0600
  • baa8eb2b93 Move to a session based system for AuthTokens Maximilian 2023-02-28 14:54:55 -0600
  • 402c514970 Add checks to skip table and column creation if they already exist Maximilian 2023-02-17 19:01:59 -0600
  • 89d1b96400 Change CreatedAt and UpdatedAt to type Time and update migrations.go accordingly Maximilian 2023-02-17 18:55:27 -0600
  • 2b46385126 Fix time.Time matching to timestamp postgres type (reflection just gives "Time") Maximilian 2023-02-17 18:52:15 -0600
  • 0a77813360 Fix postgres type matching Maximilian 2023-02-17 18:47:29 -0600
  • f7eb852c66 Gracefully shut down server when interrupt signal is received and remove panic when creating log directory Maximilian 2023-02-17 18:25:14 -0600
  • 5ae84c1995 Remove unneeded comments Maximilian 2023-02-15 19:13:05 -0600
  • 3336bd0b3f Remove default condition Maximilian 2023-02-15 19:10:50 -0600
  • f2a7336283 Fix user queries and a logical error in GetCurrentUser max 2023-02-14 09:43:02 -0600
  • 204971d40a AutoMigrate changed to DbAutoMigrate to match correctly max 2023-02-14 08:31:13 -0600
  • fcd6477ec3 Migration implementation, auto migrate when starting program Maximilian 2023-02-13 23:41:45 -0600