max
|
de4a217c5f
|
Update extended crypto library
|
2024-02-09 14:47:29 -06:00 |
|
max
|
c4e83d06b9
|
Bump go version to 1.22
|
2024-02-09 14:21:45 -06:00 |
|
max
|
51da24be9b
|
Small formatting fix
|
2024-02-09 13:44:21 -06:00 |
|
Maximilian
|
e497f4d2f0
|
Ignore fields that are zero value
|
2024-01-20 16:32:07 -06:00 |
|
Maximilian
|
b30af86e58
|
Prebuild templates (base.html + content) at startup to avoid a file parse every page load
|
2023-12-22 21:03:15 -06:00 |
|
Maximilian
|
3ffd548623
|
Fix ordering for html attributes
|
2023-12-21 00:14:28 -06:00 |
|
Maximilian
|
cb4f10e0b4
|
Better alignment for memory
|
2023-12-19 16:41:31 -06:00 |
|
Maximilian
|
878ce01b29
|
Get the sha256 hash of password before passing to bcrypt to avoid character limit
|
2023-12-19 16:06:00 -06:00 |
|
Maximilian
|
c82cdb4f13
|
Use best naming practices
|
2023-12-18 23:04:31 -06:00 |
|
Maximilian
|
ce81c36e9f
|
Update x/crypto
|
2023-12-18 23:01:19 -06:00 |
|
Maximilian
|
ab1b82c680
|
Update x/crypto
|
2023-10-10 21:37:54 -05:00 |
|
Maximilian
|
d8b1a5c999
|
Remove unnecessary comparison
|
2023-09-26 11:32:39 -05:00 |
|
Maximilian
|
0f59a6eba9
|
Go mod tidy and update x/crypto
|
2023-09-17 19:23:57 -05:00 |
|
Maximilian
|
bb69c16cdf
|
Update How to use section
|
2023-09-03 16:18:48 -05:00 |
|
Maximilian
|
e87f14bcbf
|
Make all slog errors uniform (lowercase)
|
2023-09-03 15:56:35 -05:00 |
|
Maximilian
|
ed712a5344
|
Clean up error handling, migrate to log/slog, add todo for flash message system in post controller
|
2023-09-03 15:45:12 -05:00 |
|
Maximilian
|
ee4c9f9199
|
Clean up error handling, begin migration to log/slog
|
2023-08-17 21:13:17 -05:00 |
|
Maximilian
|
1d400efa19
|
Update x/crypto and Go version
|
2023-08-12 14:30:12 -05:00 |
|
Maximilian
|
b36cbf4b9e
|
Comment cleanup
|
2023-08-12 14:28:21 -05:00 |
|
Maximilian
|
fa3165d317
|
Use proper error comparison
|
2023-08-03 12:13:37 -05:00 |
|
Maximilian
|
7cb36db3c2
|
Handle errors
|
2023-08-03 12:13:15 -05:00 |
|
Maximilian
|
eda5344685
|
Fix spelling
|
2023-08-03 12:11:01 -05:00 |
|
Maximilian
|
9670b7d717
|
Better naming of functions and files, delete less than helpful comments
|
2023-08-03 12:09:40 -05:00 |
|
Maximilian
|
a1438f4fe2
|
Update README.md
|
2023-07-31 20:18:11 -05:00 |
|
Maximilian
|
052fa689c7
|
Merge branch 'middleware'
|
2023-07-31 18:41:49 -05:00 |
|
Maximilian
|
f1fad7e4e3
|
Pass in handler to middleware, create definition for MiddlewareFunc
|
2023-07-31 18:37:54 -05:00 |
|
Maximilian
|
b475da66da
|
Fix nil error for GET requests
|
2023-07-26 13:09:01 -05:00 |
|
Maximilian
|
d0085ab2c3
|
Update crypto dependency
|
2023-07-25 15:36:25 -05:00 |
|
Maximilian
|
58514f4c5f
|
Update client to handle GET (no body) requests, multipart requests, and JSON requests
|
2023-07-25 15:34:11 -05:00 |
|
Maximilian
|
606f5df45a
|
Refactor name
|
2023-07-22 23:37:38 -05:00 |
|
Maximilian
|
2a32a1b3ce
|
Add restclient package, and a simple function to send HTTP requests
|
2023-07-21 16:35:18 -05:00 |
|
Maximilian
|
eb36156c52
|
Change function name to ProcessGroup
|
2023-07-21 16:26:43 -05:00 |
|
Maximilian
|
bada24884a
|
Use ungrouped CSRF middleware on register and login POST routes
|
2023-07-21 11:59:55 -05:00 |
|
Maximilian
|
05397c2b61
|
Initial middleware implementation for CSRF and update comment
|
2023-07-21 11:59:01 -05:00 |
|
Maximilian
|
3d80b95f55
|
Initial wrapper implementation
|
2023-07-07 18:05:17 -05:00 |
|
Maximilian
|
6da7d408f9
|
Add .gitattributes to force LF line endings
|
2023-05-05 12:19:17 -05:00 |
|
max
|
e993bcf317
|
Update dependency versions
|
2023-05-04 09:00:35 -05:00 |
|
Maximilian
|
9b231a73d6
|
Update README.md
|
2023-04-07 21:32:39 -05:00 |
|
Maximilian
|
34acd0fa8d
|
Remove old session query
|
2023-04-07 21:27:14 -05:00 |
|
Maximilian
|
71d3bd77d0
|
Add ability to get session given an AuthToken, fix GetCurrentUser()
|
2023-04-07 21:23:46 -05:00 |
|
Maximilian
|
1451abcca4
|
Formatting
|
2023-04-06 12:01:29 -05:00 |
|
max
|
53a780343f
|
Fix scheduler by adding a wait group
|
2023-04-06 09:55:56 -05:00 |
|
max
|
8e4c5e3268
|
Fix wrong query for clearing 6-hour old sessions
|
2023-04-06 09:35:53 -05:00 |
|
max
|
f18f512fea
|
Properly set the name of the checkbox for parsing
|
2023-04-06 09:31:12 -05:00 |
|
max
|
58328fe505
|
Fix some SQL errors
|
2023-04-06 09:30:53 -05:00 |
|
max
|
10e7830349
|
Remember me checkbox on login form
|
2023-04-06 08:57:17 -05:00 |
|
max
|
5f7e674d32
|
Add remember me functionality, handle both types of sessions appropriately
|
2023-04-06 08:56:48 -05:00 |
|
max
|
ec9c1a8fb5
|
Initial clear old sessions implementation
|
2023-04-04 14:37:36 -05:00 |
|
max
|
242029f2e5
|
Initial task scheduler implementation
|
2023-04-04 14:37:23 -05:00 |
|
Maximilian
|
b1c65f2ab1
|
Remove erroneous SetCookie (leftover from redundant remove)
|
2023-03-27 15:05:11 -05:00 |
|