fossil
repo
Explore
Sign in
Fossil SCM
Overview
Code
Branches
Timeline
Tickets
Wiki
Forum
← Back to file
src/fossil.attach.js
33 commits
Docs. Add a help tab and move the markup format reference link into there to save toolbar space.
stephan
205d80ed0…
2026-06-06 18:10 UTC
Have /forumnew use the old editor form only in no-js environments, else the new form. Hook preview …
stephan
3addcc0ab…
2026-06-06 13:59 UTC
Move the attachments into their own tab and add a new option to Attacher to have it reverse its fle…
stephan
934e38793…
2026-06-06 12:24 UTC
Initial code for an ajax-friendly forum post editor. It does not yet speak to the backend but its U…
stephan
64169ebd8…
2026-06-06 11:56 UTC
General minor cleanups.
stephan
96cdaf93f…
2026-06-06 09:15 UTC
Wrap setup of the attachment-related controls into an onPageLoad() handler. Minor doc additions.
stephan
feb95e679…
2026-06-06 08:13 UTC
Doc additions. Resolve two corner-case bugs in the JS attachment widget.
stephan
7723db560…
2026-06-05 10:21 UTC
Move the 'image.png' filename workaround for pasted images to avoid that attaching via file selecti…
stephan
5fcc0dd39…
2026-06-04 19:19 UTC
Fix display of attached filename when an attachment slot is re-selected. When pasting image data in…
stephan
69f1fe3ec…
2026-06-04 19:10 UTC
Extend attachment_target_type() to optionally allow a prefix match, working towards historical comp…
stephan
33f610649…
2026-06-04 13:07 UTC
Refactor /wikiedit's attachment-list-as-JSON routine to work with other artifact types for re-use e…
stephan
275c58642…
2026-06-04 10:07 UTC
Correct redirection of /attachadd after attach to target=WikiPageName. Add some pieces to hypotheti…
stephan
31d882879…
2026-06-03 20:27 UTC
Ensure there's enough contrast to read the text when the mouse is dropping over the attachment widg…
stephan
05865c231…
2026-06-03 17:49 UTC
Have /attachadd_ajax_post disallow size-0 attachments to match historical behavior.
stephan
4a8a29067…
2026-06-03 17:37 UTC
Remove /attachaddv2 in favor of having /attachadd?target=X implement that behavior.
stephan
bcdd98b89…
2026-06-03 16:59 UTC
Various minor cleanups.
stephan
f850be30f…
2026-06-03 14:13 UTC
Re-add CSRF check when posting attachments. Touchups in the post-attach redirection support. Fix a …
stephan
059760519…
2026-06-03 13:09 UTC
If /attachadd is invoked with target=ID instead of a type-specific typeX=ID, behave like /attachadd…
stephan
0f071d0f8…
2026-06-03 12:24 UTC
/attachaddV2 now handle multiple attachments concurrently.
stephan
c499f7f59…
2026-06-03 12:00 UTC
Add an error message to each attached file which exceeds the attachment-size-limit setting. This te…
stephan
ee430462c…
2026-06-03 08:45 UTC
Simplify CSS selectors. Improve handling of attaching a given filename twice.
stephan
13d99044c…
2026-06-03 08:05 UTC
Factor out extraneous thumbnail element creation when re-assigning an attachment slot to a differen…
stephan
b3814a431…
2026-06-03 06:38 UTC
Back out [639e2cf0b7c6861], as the the attachment N-card is the mimetype of the comment, not the at…
stephan
7795074a1…
2026-06-03 06:30 UTC
Add a note for a potential TODO.
stephan
4c7952086…
2026-06-02 21:44 UTC
Make the new attachment form legible in dark mode. Correct the enabling/disabling of the submit but…
stephan
d906a8dc1…
2026-06-02 21:29 UTC
When pasting images multiple times in the same attachment slot, remove stale thumbnails. Use timest…
stephan
307213a06…
2026-06-02 21:12 UTC
Add image attachment thumbnails to the attachment widget.
stephan
81389347e…
2026-06-02 20:48 UTC
Plug the new attachment widget into /attachaddV2, an intermediary step in updating /attachadd. It d…
stephan
c3c649c92…
2026-06-02 20:25 UTC
Add options to limit the number of selected attachments and to optionally start with a selection wi…
stephan
675a722a2…
2026-06-02 16:42 UTC
Internal API refactoring to allow for recording the mimetype of attachments.
stephan
639e2cf0b…
2026-06-02 15:56 UTC
When attaching a given file name a second time, replace the first instance, as uploading two copies…
stephan
98c65d8de…
2026-06-02 15:38 UTC
Try to avoid a generic paste-screenshot name of 'image.png'. Cosmetic tweaks.
stephan
c51c545fa…
2026-06-02 14:25 UTC
Incremental work on the dynamic attachment selector. Add a new file missing from the previous check…
stephan
e7f2da188…
2026-06-02 13:14 UTC
Keyboard Shortcuts
Open search
/
Next entry (timeline)
j
Previous entry (timeline)
k
Open focused entry
Enter
Show this help
?
Toggle theme
Top nav button
Close