Decided after finishing with my imageboard
>>27187, and some complaints from testing my torrent package to try to spin the imageboard into a production calendar, forum, and discussion platform. The idea is to keep it very event focused, where the only way to discover threads is through a system of calendars, or private messages. There might also be various views for keeping statistics of various sorts for the users. Already have a mobile site, and some time localization working, as well as logins, and signup from my other project. Haven't decided whether or not this will be FOSS or proprietary. Anyway the previous project log was helpful enough in motivating, and talking through my software that decided to make another one.
Was thinking to make a general but thought would love to see this place spammed with personal project logs and so decided not to.>>27280Most of what got done today was the functionality of all the buttons in the footer, but also the pagination, and front-end for the completed and delete buttons (not sure why didn't make these refreshes like everything else). The footer has sorting (by start and end time), the timezone button in the bottom right, and a view selector in the bottom left. The other major change was in reprogramming the way timezones were handled so as to prevent many errors that were occurring. In addition to these changes did a lot of tweaks to the CSS, making the navigation look a little less like that of an imageboard, and to make everything look nice.
Unlike my previous application am not going to pains presently to make this application work without JavaScript. It's riddled with hidden forms, and JavaScript, even the textarea, and accessing the page without a GET parameter, is JavaScript only, making it unusable on text browsers. It should be theoretically possible to add back most of the functionality for noscript users at some point in the future, if and only if the user knows the GET parameters. It may not be worth it.
So far today fleshed out the rest of the interface for the kanban view. This meant adding a maximize button to the editor (last night), an optional text input form for groups, and a drop down for importance of the event together with the backend work necessary for this. An edit button was also implemented. Lastly a compressed view was added which will be the basis for a search functionality, though pagination is presently broken for this view. Further the groups do not yet have their backend implemented. My present goal is to have the kanban view relatively complete within the next two days making it seven days total for its implementation. After this the plan is to move to the three-sixty-five display assuming don't get more negative feedback on it
>>27300 (though even this would be much appreciated).
Mostly been doing system administration things today see
>>27383 but got a very small amount of programming done too. This was implementing the basics of the event system for the calendar views. It should be fairly easy to flesh this system out sense there is a lot of source that can be reused from the kanban view. Hopefully in a few days the system administration is all done and am feeling energized enough to resume some good work on this program.
I like the idea. Are you properly handling anti-XSS sanitization? Also: if you keep all CSS and JS in separate files you can set a very strict Content Security Policy
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP which is a very strong defense against XSS. Upstream we've been looking into making vichan compatible with it, but it will take a lot of work
>>27452>Are you properly handling anti-XSS sanitization?Will certainly need to look into this, it seems like it might be very helpful. There is a very trivial XSS as the WYSIWG editor outputs HTML into an input form, and this is used without escaping by the application
this was not the case in the imageboard which had standard vichan formatting and did HTML escaping.
>>27452>Content Security PolicyThis reminds me of the OpenBSD pledge some, and seems like a good idea. There is apparently middleware support for my AGSI
https://github.com/tmotagam/Secweb too.
Yesterday added a "start end" sort option to the search view. Got a few more small things done on this project today. Namely added a search bar, filter based on importance, fixed a bug that was causing all the match statements matching an enum.Enum in the program to default to the first entry, and some other minor bug fixes. This was most of the open tasks that needed to implemented in the calendar system. The other three major systems are the group system for inviting and accepting invitations to groups (needs to be written from scratch), the forum component which needs to be rewritten for reddit style threading (found this not too long ago:
https://gist.github.com/bokwoon95/4fd34a78e72b2935e78ec0f40e7e49e1), and lastly the assessment component, which will not yet be documented here in detail.
Seems like this project might be put on pause while looking for bigger fish. In the mean time put up a source-available-style repository here:
https://codeberg.org/jung/fasti Only update that have made since the previous message was to make the agenda class immutable with a builder subclass handling all the construction state. (this can be seen here:
https://codeberg.org/jung/fasti/src/branch/main/fasti/agenda.py#L43). Might make a new thread soon with a new project or otherwise with a project ideas thread; have a few (typically) very large projects in mind in fact together they make up the bulk of a userland, but not sure which to pick, or if another idea might suite me better.
Bumping since slid, even though it's likely the final post of the thread.>>29663Got the rest of the icons converted to SVG.
Implemented a continuous mode for the events.
Switched the post form to use datetime-local.
Going forward think the post form needs to be split into two parts:
- One part for the type, dates, and groups to be submitted.
- A second part for the actual entry of the OP or web form.
Further there needs to be confirmation windows to confirm event removal and edits.
Two "gestures" need to be added to the yearly view:
- Click to select date ranges.
- Click on event to open them.
There is a ton that needs to be done to have various kinds of threads supported.
>>29668Probably going to bail on the gestures, and got a popup to confirm event deletion, and setup the two step post form. The next major step would be to copy and paste the forum software from:
https://codeberg.org/jung/arsvia This is the second major part of the application which has roughly the mantra "everything is an event, everything is a conversation."
>>29679Got week alignment to work when there's more than a week to display and to adjust as appropriate based on locale.
Realize there is a
very large number of parameter combinations most of which have hundreds of states.
Further many of them interact or overlap in nontrivial ways that hasn't been sorted yet.
Mainly in that there are days, months, but also start, and end dates; it's unclear what specifying combinations should do.
Think if it's refined it may even result in a simplification or improved understanding of the queries.
>>29682>Realize there is a very large number of parameter combinations most of which have hundreds of states.Through the power of mathematics was able to find seven cases one of which was a pass which weren't wiped out by (tacit) assertions.
This process also clarified the way modes, sorts, days, months, start, and end all interact, to the great prosperity of all (even fixed a bug).
>>29693Have a nascent (if not complete) reverse_search mode now.
Am unpleased with how the two search modes interact with month, start, and end.
Am thinking of a rather ugly extension to the arrows at the top such that it is similar to:
< 5/1/25 5/30/25 >
And having an additional numeric area for specifying the number of time units together with a drop down for the time units to the right.
>>29699This is what that looks like, am satisfied.
Think the main functionality of this view is complete.
Need to reflect a little on the design of the groups page.
Or decide on whether to start on the threads next.
Groups are more central and should be easier, but threads are more thought and worked out.
>>29704Am seemingly too cooked to work on this today.
Can't even decide how to arrange the POST endpoints.
>>29715Haven't made any really progress on the project today or yesterday, but did some administration.
Updated the project page and moved over all my commits and everything to a new username.
My old one is still visible here and on some parts of codeberg, but you have to start somewhere.
Think it's just better to have different usernames for different platforms; for things you don't want to associate.
Might also avoid posting the link to the source here in the future as a basis of further separating these persona.
Will probably continue with updates and images however, and no doubt it will be discoverable on this basis. >>29831>Something to do with flexboxes no doubt.Had the idea that when clicking the expand also expanding horizontally to fill the width of the body; so implemented this.
Also setup the flexbox stuff, so if the screen is small it takes full, otherwise it attempts to divide into thirds and flex-grow: 1;
Next up are the SVG icons, Websocket scripts, (backend) group specific calendar, (backend) combined groups calendar, and (optional) trash can.
>>29867Got the SVGs dialed in and then decided it was better off with simple text buttons.
It seems to look best in landscape on mobile atm, though in general mobile is not entirely well supported.
Namely there are issues with the menu button overlapping the content and making it inaccessible.
Not sure about the best way to go about fixing that is.
Also wrote some checks to see if the user is a member of a group before displaying it to them.
And also to add them automatically to a group if they're creating it.
And another set of checks to make sure only the creator of a group can edit it.
And to make sure there aren't duplicate members or subgroups.
>>29873Had several ideas for something like
https://memex.garden (before knew of it), a microEmacs, an RCS chat.
Probably a skill issue that what was implemented was only a calendar and forum in python.
Unique IPs: 6