Fossil

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2026-06-04
11:40
Add attachment size info to the attachments-as-json state and filter empty files from that list (the UI has never allowed empty attachments and size 0 denotes 'deleted'). Add attachment_resolve_target(). Leaf check-in: 3bc2b92104 user: stephan tags: attach-v2
10:07
Refactor /wikiedit's attachment-list-as-JSON routine to work with other artifact types for re-use elsewhere. Teach /wikiedit's attachment list to use the new file-attach interface. check-in: 275c586426 user: stephan tags: attach-v2
09:23
Merge trunk for a larger diff -tk. check-in: c6c86ebd20 user: stephan tags: attach-v2
09:22
Move two initializations which could have been skipped when rendering a forum post in raw mode. check-in: dfc58f12f9 user: stephan tags: attach-v2
08:56
On tall-ish screens, experimentally resize diff -tk's view to some appreciable fraction of the screen size. This is arguable but is expected to save me many future manual window resizings. Down-side is that it's overkill for small diffs. Leaf check-in: 7f2f04c835 user: stephan tags: trunk
08:34
Doc additions and add sensible type-dependent redirect defaults for /attachadd. check-in: ae89edbc93 user: stephan tags: attach-v2
2026-06-03
20:27
Correct redirection of /attachadd after attach to target=WikiPageName. Add some pieces to hypothetically support a NOSCRIPT fallback for file attachment using the legacy form, but it's completely untested. check-in: 31d882879a user: stephan tags: attach-v2
19:25
Teach tickets and tech-notes to use the new attachment approach. Document a shortcoming of the new approach compared to the old, namely that the new one requires that X in target=X be a full ID rather than an event/ticket prefix. check-in: 2f71c2bb50 user: stephan tags: attach-v2
18:05
Minor doc and style tweaks. check-in: 766755a3f9 user: stephan tags: attach-v2
17:49
Ensure there's enough contrast to read the text when the mouse is dropping over the attachment widget. Experimentally relable the Remove button as X. check-in: 05865c2310 user: stephan tags: attach-v2
17:37
Have /attachadd_ajax_post disallow size-0 attachments to match historical behavior. check-in: 4a8a290676 user: stephan tags: attach-v2
17:21
Make the 'awaiting approval' label on forum posts more prominent for those who can see their content despite them being pending. check-in: 41823b0aec user: stephan tags: attach-v2
16:59
Remove /attachaddv2 in favor of having /attachadd?target=X implement that behavior. check-in: bcdd98b891 user: stephan tags: attach-v2
15:54
Slight layout tweaks to the forum Attach button. Avoid rendering a /forumpost's attachment list when rendering in raw mode. check-in: 59ac3a461c user: stephan tags: attach-v2
15:32
Add missing Attach submenu to wiki pages. Fix broken permissions logic in attach_user_may(). check-in: 1f49b39374 user: stephan tags: attach-v2
15:11
Merge trunk and add a todo which requires refactoring. check-in: 032d684d9b user: stephan tags: attach-v2
15:09
Do not show the Close Post button for private/pending-moderation posts to avoid tagging what will turn into a phantom if it's rejected. check-in: f1c281dd46 user: stephan tags: trunk
14:15
Do not show the status-change control in the forum if the post is still pending moderation, as setting the status then will tag an artifact which will be deleted if moderation rejects the post. check-in: 449bb3bc6e user: stephan tags: trunk
14:13
Various minor cleanups. check-in: f850be30ff user: stephan tags: attach-v2
13:09
Re-add CSRF check when posting attachments. Touchups in the post-attach redirection support. Fix a mem leak in attach_commit(). Make whether to show the description field an option to the attacher widget constructor and hide the description fields for now because we apparently do nothing with them. check-in: 059760519f user: stephan tags: attach-v2
12:24
If /attachadd is invoked with target=ID instead of a type-specific typeX=ID, behave like /attachaddV2 so that we can incrementally migrate /attachadd links to the v2 behavior by changing the type-specific argument to target=ID. When invoked via older links, /attachadd behaves like it always has, including the single-file attachment form (the plan is to phase that out). There's still some work to do regarding telling it where to redirect to after saving. check-in: 0f071d0f88 user: stephan tags: attach-v2
12:00
/attachaddV2 now handle multiple attachments concurrently. check-in: c499f7f59d user: stephan tags: attach-v2
08:45
Add an error message to each attached file which exceeds the attachment-size-limit setting. This tentatively won't prevent it from being submitted because the limit may have changed since the page was loaded (and the limit recorded). check-in: ee430462c4 user: stephan tags: attach-v2
08:05
Simplify CSS selectors. Improve handling of attaching a given filename twice. check-in: 13d99044c8 user: stephan tags: attach-v2
06:38
Factor out extraneous thumbnail element creation when re-assigning an attachment slot to a different image. Add attachment size limit to JS's fossil.config for use in client-side validation. check-in: b3814a431a user: stephan tags: attach-v2
06:30
Back out [639e2cf0b7c6861], as the the attachment N-card is the mimetype of the comment, not the attachment. check-in: 7795074a1a user: stephan tags: attach-v2
2026-06-02
21:44
Add a note for a potential TODO. check-in: 4c79520864 user: stephan tags: attach-v2
21:29
Make the new attachment form legible in dark mode. Correct the enabling/disabling of the submit button, broken in recent refactoring. check-in: d906a8dc10 user: stephan tags: attach-v2
21:14
Reorder some styles to ensure that the drag-over style effect happens for populated attachment slots. check-in: 58d98eed18 user: stephan tags: attach-v2
21:12
When pasting images multiple times in the same attachment slot, remove stale thumbnails. Use timestamps instead of slot numbers when generating a name for pasted content. check-in: 307213a063 user: stephan tags: attach-v2
20:48
Add image attachment thumbnails to the attachment widget. check-in: 81389347e5 user: stephan tags: attach-v2
20:25
Plug the new attachment widget into /attachaddV2, an intermediary step in updating /attachadd. It does not yet post attachments. check-in: c3c649c92c user: stephan tags: attach-v2
16:42
Add options to limit the number of selected attachments and to optionally start with a selection widget visible. check-in: 675a722a24 user: stephan tags: attach-v2
15:56
Internal API refactoring to allow for recording the mimetype of attachments. check-in: 639e2cf0b7 user: stephan tags: attach-v2
15:38
When attaching a given file name a second time, replace the first instance, as uploading two copies of the same name would not have the desired effect (it's treated as two revs of the same attachment). check-in: 98c65d8dec user: stephan tags: attach-v2
14:25
Try to avoid a generic paste-screenshot name of 'image.png'. Cosmetic tweaks. check-in: c51c545faf user: stephan tags: attach-v2
13:14
Incremental work on the dynamic attachment selector. Add a new file missing from the previous checkin. check-in: e7f2da1886 user: stephan tags: attach-v2
12:37
Initial pieces for extending attachment input to support multiple attachments at a time, drag-and-drop, and clipboard paste. WIP and currently requires the dev console to try out. check-in: 2d39f60670 user: stephan tags: attach-v2
10:54
Doc typo fix. check-in: b6b08b6d86 user: stephan tags: trunk
09:15
Add the -x/--crosslink flag to test-content-put, which causes it to treat all inputs as artifacts and crosslink them. check-in: ff6b9dbe84 user: stephan tags: trunk
2026-06-01
08:22
www/forum.wiki: document the file attachment capability and add some developer notes regarding current limitations and overcoming them. check-in: ff4caf13ba user: stephan tags: trunk
07:45
Fix /forum filtering for the case that the repo has a forum-statuses setting but no posts have a status tag. check-in: 0f934bb075 user: stephan tags: trunk
07:26
Add a few mkdir calls to makemake.tcl to address the report at [forum:8cd0d4c814|2026-05-31T12:07:24Z]. Edit: search term make --shuffle=reverse check-in: 7796221f38 user: stephan tags: trunk
2026-05-31
19:04
Enhance the change descriptions in the "Changes" accordion panel title to provide information on the number of added and deleted files and similar. check-in: 94e94bc3a6 user: drh tags: trunk
10:49
In main.mk use = instead of :=, which is not POSIX-portable. check-in: 4151ae9722 user: stephan tags: trunk
2026-05-30
13:54
Update the built-in SQLite to the latest version with the diskused() SQL function support. Add an option (accessible to Admin users only) to view the output of diskused() as the "Details" submenu on the /repo-tabsize page, if Fossil is linked against SQLite 3.54.0 or later. check-in: 71439dc76a user: drh tags: trunk
06:35
Remove the unused description field from the forum-statuses setting. check-in: c56de3f19a user: stephan tags: trunk
2026-05-29
10:13
Update the built-in SQLite to the latest trunk version for beta testing. check-in: 3b2d0c9f59 user: drh tags: trunk
10:10
Support for status in forums. check-in: 4c4c28dafe user: drh tags: trunk
00:30
Fix a minor typo. Leaf check-in: 16c894034b user: drh tags: forum-statuses