ngoomie nu
nu closed issue nu/CharmBoard#21 2024-08-24 04:46:11 +00:00
Change variable name $self to more descriptive names depending on where it gets used
nu closed issue nu/CharmBoard#20 2024-08-24 04:46:01 +00:00
Change all instances of $_set in namespace CharmBoard::Model::Schema::Set to $set
nu pushed to main at nu/CharmBoard 2024-08-24 04:45:38 +00:00
c8c1b7aeb1 Change `$self` var names in accordance with #21 and #20
6cf65a8edd Session verification-related changes
Compare 2 commits »
nu opened issue nu/CharmBoard#21 2024-08-24 04:39:02 +00:00
Change variable name $self to more descriptive names depending on where it gets used
nu commented on issue nu/CharmBoard#20 2024-08-23 03:49:17 +00:00
Change all instances of $_set in namespace CharmBoard::Model::Schema::Set to $set

I should clarify why: $set inherits from the ResultSet the given sub is a part of, so it's not a private, subroutine-only variable.

nu pushed to main at nu/CharmBoard 2024-08-23 03:47:06 +00:00
cf91c02ba0 Add session verification helper (#19)
nu opened issue nu/CharmBoard#20 2024-08-23 02:39:35 +00:00
Change all instances of $_set in namespace CharmBoard::Model::Schema::Set to $set
nu commented on issue nu/CharmBoard#19 2024-08-22 09:40:34 +00:00
Session verificaton helper function

Should probably run on index too, since that will effect listing of userclass-restricted forums (once that feature is implemented)

And before even calling $self->session_validate there should…

nu opened issue nu/CharmBoard#19 2024-08-22 09:22:40 +00:00
Session verificaton helper function
nu closed issue nu/CharmBoard#18 2024-08-22 09:09:16 +00:00
Move session management into some sort of reusable format
nu pushed to main at nu/CharmBoard 2024-08-22 09:08:59 +00:00
dca1e2bca5 Push session management into helper functions as per #18
nu pushed to main at nu/CharmBoard 2024-08-22 08:41:05 +00:00
f246841ca2 Adjust URLs in `thread_compose.html.ep`
nu commented on issue nu/CharmBoard#18 2024-08-21 23:41:29 +00:00
Move session management into some sort of reusable format

I guess destroying a session if its invalid is pretty straightforward, and session creation should only happen once. So maybe a Model that just does the database part of things should suffice?

nu commented on issue nu/CharmBoard#18 2024-08-21 23:19:24 +00:00
Move session management into some sort of reusable format

No yeah, a CharmBoard::Controller::Session doesn't make sense actually when I think about it harder, knowing what I know about what the Controller namespace is even used for. So Util namespace…

nu commented on issue nu/CharmBoard#18 2024-08-21 22:46:18 +00:00
Move session management into some sort of reusable format

...Or the other option would be putting it in CharmBoard::Util::Session. I think I need to learn more about how MVC architecture works, I guess.

nu commented on issue nu/CharmBoard#18 2024-08-21 22:44:07 +00:00
Move session management into some sort of reusable format

Looks like things in the Model namespace aren't allowed access to HTTP request data directly, so this may have to actually be split into two modules, CharmBoard::Controller::Session for the…

nu opened issue nu/CharmBoard#18 2024-08-21 05:36:35 +00:00
Move session management into its own module, CharmBoard::Model::Session
nu pushed to main at nu/CharmBoard 2024-08-21 04:39:48 +00:00
b4326d75b9 Delete public/htmx.2.0.2.js
nu pushed to main at nu/CharmBoard 2024-08-21 04:39:31 +00:00
ada2e8337f Actually, exclude htmx from the repo
nu pushed to main at nu/CharmBoard 2024-08-21 04:35:16 +00:00
185a5bb6e1 Include htmx, make some doc changes