Fossil

File History
Login

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

History of src/attach.c

2018-07-31
17:05
Try to make moderation a little easier, as recent experience suggests that will be a big deal with the forum. file: [13d3f5c1] check-in: [a9e5a1ee] user: drh branch: forum-v2, size: 25783
2018-06-21
19:10
The /subscribe page now creates entries in the subscriber table and sends verification emails. file: [ea835751] check-in: [31be2e17] user: drh branch: email-alerts, size: 25963
2017-11-30
17:58
Refactor the symlink processing logic so that most of the file access routines take a new parameter indicating the conditions under which symlinks should and should not be followed. This should fix a few bugs related to symlink processing. Lots of testing required before merging to trunk. file: [b5b15783] check-in: [e7767de2] user: drh branch: symlink-refactor, size: 25962
2017-02-27
18:26
Manifest parser supports various hash sizes. file: [702f7071] check-in: [80f9b68e] user: drh branch: fossil-2.0, size: 25953
2017-01-07
19:29
Update the manifest parser so that it accepts remark artifacts. file: [56ce89ce] check-in: [e40143aa] user: drh branch: remarks-on-checkins, size: 25954
2016-11-04
21:32
Remove unused, undocumented zTitle argument to style_submenu_element(). This argument appears to have been unused all the way back to [dbda8d6ce9]. file: [b2f9bbde] check-in: [187424e8] user: andygoth branch: trunk, size: 25951
2016-08-12
22:45
Improved documentation of the date and time stamps understood by most fossil commands and web pages. No non-documentation changes were made, but comments in eight source files were edited. file: [c27c749e] check-in: [cd77e064] user: rberteig branch: trunk, size: 26048
2016-08-01
12:40
Use C89 comments (not C99 style). Only the comment delimiters have been changed. file: [ac8b171c] check-in: [c665a2f2] user: dave.vines branch: djvfixcommentstyle, size: 25755
2016-06-15
08:38
More consistancy in using <br /> and <hr /> HTML tags file: [3d0f4416] check-in: [bd559ff0] user: jan.nijtmans branch: trunk, size: 25752
2016-05-27
21:03
Compiler warning and coding style fixes. file: [88373a8d] check-in: [d0374689] user: mistachkin branch: trunk, size: 25760
2016-05-03
08:17
Merged trunk and resolved conflicts. Passes all current tests, except for tests wiki-15 and wiki-15.1 in wiki.test. file: [5a850f69] check-in: [8c8ccac9] user: rberteig branch: technoteattachcli, size: 25760
2016-04-18
13:36
add TECHNOTEID to fossil attach command file: [a547e2d8] check-in: [70131d08] user: dave.vines branch: technoteattachcli, size: 25750
2016-04-01
20:21
Work in progress on spell-check and proof-reading sweep over the help text. file: [238d36f9] check-in: [2a4e31bd] user: rberteig branch: ross-spellcheck, size: 21679
2016-03-28
12:12
Stop using 10h as the format for tech note ids. Note that the comment for any existing attachments to tech notes won't change as the comment is generated when the attachment is made (since this change is new, I'd expect there to be none outside of my own personal fossil repositories) file: [f205c829] check-in: [4ce3c62b] user: dave.vines branch: technoteattachcli, size: 25262
2016-03-24
18:28
Fixed inconsistent calls to usage() in the attachment command which result in printing the fossil command name twice in the Usage: message. file: [9604a458] check-in: [420a5fc0] user: rberteig branch: technoteattachcli, size: 25262
2016-03-13
23:55
Merged trunk for changes since January and test suite improvements. file: [f4b6f2f7] check-in: [8fa24960] user: rberteig branch: technoteattachcli, size: 25295
2016-02-29
21:23
Show the number of bytes for image artifacts and attachments as well. file: [f35c7421] check-in: [f4c6e49a] user: mistachkin branch: trunk, size: 21669
2016-02-20
13:21
Initial go at replacing URLs in the form ?name=xyz with /xyz except in places where doing so is either known to break (style_set_current_page() calls) or would require notable refactoring (/dir hyperlink generation). file: [8883f675] check-in: [e8735d6a] user: stephan branch: slash-name-links, size: 21515
2016-01-05
08:40
[c541b6e734] Move attachment command from wiki.c to attach.c file: [4edbb452] check-in: [64a5ef28] user: dave.vines branch: technoteattachcli, size: 25171
2016-01-02
10:46
[c541b6e734] Add cli for attaching to wiki pages and tech notes file: [ea4baddc] check-in: [b208bf75] user: dave.vines branch: technoteattachcli, size: 22127
2015-12-31
11:31
[c541b6e734] Add attachments to technotes file: [5f6f5ccc] check-in: [67288e93] user: dave.vines branch: technoteattach, size: 21545
2015-12-23
11:10
Improvements to handling of localtime. The 'utc' and 'localtime' query parameters now work on all web pages. Timestamps can be expressed with a timezone modifier and that works correctly. file: [b238694c] check-in: [ea63a2d1] user: drh branch: trunk, size: 18986
2015-04-27
13:19
Provide help text for all commands and webpages. file: [5b713ffe] check-in: [7ab03289] user: drh branch: trunk, size: 19007
2015-02-26
03:12
Additional changes associated with check-in [43b30dcfc330b] on 2014-10-20: Change the %!w format to %!W. file: [ecad9be1] check-in: [3b92154a] user: drh branch: trunk, size: 18954
2015-02-14
12:24
When the user is "nobody", make the g.anon permission vector for "anonymous" available in addition to g.perm. Hyperlinks to pages that would be available to anonymous are shown rather than suppressed. When permission is denied and control jumps to login_needed() a new flag shows whether or not logging in as "anonymous" would help. Work in progress. file: [b7c3b237] check-in: [2f50d427] user: drh branch: login-enhancements, size: 18954
2015-02-13
09:03
A few more places where displayed UUID length should be configurable. file: [0fbede46] check-in: [c62e94f8] user: jan.nijtmans branch: trunk, size: 18623
2015-02-11
11:09
Use the "%S" formatting option for human-readable SHA1 hashes and "%!S" for SHA1 hashes in URLs. The length of these hashes are compile-time configurable using FOSSIL_SHA1_PREFIX_LEN and FOSSIL_SHA1_URLPREFIX_LEN, respectively. Defaults: 10 and 16. file: [b36e6e39] check-in: [1fee0377] user: drh branch: trunk, size: 18621
2015-01-21
17:38
Fix internal links on the 'attachlist' page. Reported via the mailing list. Ticket [c899dd567b0dc871d] file: [e9186b7e] check-in: [0438d066] user: mistachkin branch: trunk, size: 18649
2014-10-20
15:01
Add a custom static analysis program that verifies the arguments to printf-style varargs routines used in Fossil. Adjust the source code to be more robust for printf format errors and to fix a few minor problems found by the static checker. file: [e92ad3e5] check-in: [0a7e326f] user: drh branch: compile-time-print-checking, size: 18645
2014-09-18
22:02
Experimental changes to permit easier debugging of the moderation subsystem. file: [6e597747] check-in: [bcb44436] user: mistachkin branch: please-review, size: 18628
2014-08-27
16:20
Added menu entry to toggle ln=0 on /info and /artifact pages. file: [82ab7ae8] check-in: [a5b1bef9] user: stephan branch: trunk, size: 18688
2014-07-17
07:04
Use "%S" format in stead of "%.10s" in more places, where UUID's are referenced. file: [79f43308] check-in: [275457ad] user: jan.nijtmans branch: trunk, size: 18447
2014-03-28
08:18
Use full UUID's in more hyperlinks, e.g. regarding attachments. Remove unused function. file: [238aa5c7] check-in: [ec03c314] user: jan.nijtmans branch: trunk, size: 18459
2014-03-08
16:14
Clean up and standardize the handling of user "nobody" and the g.zLogin global variable. file: [57c8ef54] check-in: [840b7622] user: drh branch: trunk, size: 18459
2013-12-28
22:41
Eliminate the need to compile SQLite with -Dlocaltime=fossil_locatime. This makes the timeline-utc setting work when fossil is configured with --disable-internal-sqlite. file: [b010c385] check-in: [d7fd72dc] user: jan.nijtmans branch: timeline-utc, size: 18495
2013-10-15
01:21
Centralize and simplify the commit/ticket hook integration. file: [fc2d3200] check-in: [6cf28968] user: mistachkin branch: tkt-change-hook, size: 18486
2013-10-04
09:30
Better error-message in case of "manifest file is malformed" file: [75a89ba4] check-in: [1eb438d6] user: jan.nijtmans branch: pending-review, size: 18468
2013-09-18
12:56
Always allow the administrator to moderate attachments. file: [7b9f0df4] check-in: [41d9de6e] user: drh branch: trunk, size: 18465
2013-08-26
20:42
If an event/attachment comment ends with spaces, strip them from the C-card file: [5cc1ab08] check-in: [ff87296f] user: jan.nijtmans branch: trunk, size: 18416
2013-08-25
02:11
Spiders and robots are presented with a captcha if they request the annotation page. file: [a044ca85] check-in: [f8a2aa0c] user: drh branch: trunk, size: 18412
2013-05-29
14:01
Fix two cases where a string value might be used after being freed. file: [657e139a] check-in: [04ab1af3] user: drh branch: trunk, size: 18411
2013-02-28
20:10
Show check-in comments in block style in all contexts other than timeline regardless of the timeline-block-markup setting. The timeline-block-markup setting only effects the timeline. file: [008bdd9b] check-in: [cae8b696] user: drh branch: trunk, size: 18426
2012-11-27
16:26
Enhancements to ticket processing. There are now two tables: TICKET and TICKETCHNG. There is one row in TICKETCHNG for each ticket artifact. Fields from ticket artifacts go into either or both of TICKET and TICKETCHNG, whichever contain matching column names. Default ticket edit and viewing scripts are updated to use TICKETCHNG. The TH1 scripting language is enhanced to support this, including the new "query" command for doing SQL queries against the repository database. All changes should be backwards compatible. file: [6bbd7e39] check-in: [4f8c8975] user: drh branch: trunk, size: 18425
2012-11-26
22:51
Merge byte-order-mark handling enhancements to trunk. file: [eb58d2e6] check-in: [9b800ee4] user: mistachkin branch: trunk, size: 18354
2012-11-24
00:04
Improvements to hyperlinks showing details of tickets and attachments. file: [6ad2ea4e] check-in: [ceda22ac] user: drh branch: ticket-enhancements, size: 18420
2012-11-21
00:51
Optionally require a CAPTCHA (controlled by Admin/Access) when a user who is not logged in tries to edit wiki, or a ticket, or an attachment. file: [15769594] check-in: [82b8587a] user: drh branch: trunk, size: 18349
2012-11-20
22:13
Change the action= attribute of <form> elements using javascript, as an additional defense against spam-bots. file: [b96464f0] check-in: [dfa35794] user: drh branch: trunk, size: 18167
2012-11-19
23:58
Prevent blank user names from being displayed for items awaiting moderation. file: [47263861] check-in: [89ed7dc5] user: mistachkin branch: modDispUser, size: 18217
04:39
Modularize byte-order-mark and blob UTF-8 conversion handling. file: [b49ab04d] check-in: [d29dd544] user: mistachkin branch: convert_before_commit_v2, size: 18076
2012-11-08
16:09
Add a new test script that runs 10,000 web pages without valgrind looking for performance issues or fatal errors. Fix one incorrect SQL statement found by this script. Update the valgrind test script to run discovered web pages in a random order. file: [44e077ed] check-in: [a1064042] user: drh branch: trunk, size: 18071
2012-11-02
02:41
Clean up some harmless compiler warnings. file: [303e7d45] check-in: [0a4193be] user: drh branch: trunk, size: 18069
02:26
Additional tweaks to the wiki/ticket editing logic with moderation control. file: [4ff8d3a6] check-in: [d3d094ff] user: drh branch: moderation, size: 18123
2012-11-01
22:54
All aspects of Wiki and Ticket moderation and attachments are working better. But there are still room for improvement before merging this enhancement sprint into trunk. file: [557f31b9] check-in: [628c4024] user: drh branch: moderation, size: 17953
17:56
Add moderator approval for attachments. file: [4730bf48] check-in: [9ac46731] user: drh branch: moderation, size: 12187
2012-10-31
12:12
Enhance the control-artifact parser to optionally return an error when the parse fails. Fix a bug in the artifact parser which caused it to ignore Z-card checksum failures. file: [646853e6] check-in: [aab9e66b] user: drh branch: trunk, size: 11287
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [97a7b5e5] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 11283
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [c0f29f55] check-in: [0328d681] user: drh branch: sqlite4, size: 11285
2012-06-11
17:33
merge trunk again... (previous merge was not from latest trunk from fossil-scm.org) file: [304f3a46] check-in: [7a57ab64] user: mgagnon branch: mgagnon_fix, size: 11326
2012-04-28
08:03
Refinements to the new hyperlink logic and spider defense. file: [7a2d5239] check-in: [d9c8a7dd] user: drh branch: spider-defense, size: 11284
2012-04-17
20:37
If a user tries to add an attachment which is a valid control artifact, compress the attachment and append ".gz" to its names, to prevent it from being interpreted as a real control artifact. Also fix an unrelated comment typo. file: [396959ed] check-in: [cd4e0880] user: drh branch: trunk, size: 11292
2012-03-29
14:54
Add vim modline everywhere file: [fa02d993] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 11024
2011-09-14
17:45
Refactored g.okXXX perms flags to g.perm.XXX. file: [990a6f35] check-in: [34b4dec0] user: stephan branch: stephan-hack, size: 10982
2011-02-24
17:11
Infrastructure changes: Simplify content_put() to a single parameter. Add content_put_ex() with lots of extra parameters. Add isPrivate parameters to content_put_ex() and content_new(). file: [775a4640] check-in: [1b451616] user: drh branch: trunk, size: 10937
2011-02-17
20:44
Make sure manifest_crosslink() resets its input blob and that callers know this and do not attempt to reuse that blob. file: [6fb0e21e] check-in: [d22519e5] user: drh branch: trunk, size: 10964
2011-01-07
16:20
Record fractional seconds for artifact times. file: [f2fe2160] check-in: [722d7cac] user: drh branch: trunk, size: 10924
2010-12-23
02:22
Add new function fossil_strcmp() that works like strcmp() except that it handles NULL arguments correctly. Use fossil_strcmp() in place of strcmp() in many places in the code. file: [11e7b183] check-in: [31c52c7b] user: drh branch: trunk, size: 10978
2010-12-16
14:46
Use relative URLs for hyperlinks whereever possible, so that Fossil can work better behind a reverse proxy. file: [52c31302] check-in: [daeb10f6] user: drh branch: trunk, size: 10971
2010-12-09
15:52
New cloning algorithm appears to be much faster at the cost of slightly more network bandwidth. Fully backwards compatible. Need to look at the network bandwidth issue prior to merging with trunk. Perhaps a command-line option for the clone command to select between slow-and-small or fast-and-larger. file: [fbb76e05] check-in: [8bb8be26] user: drh branch: experimental, size: 10979
2010-10-14
19:14
Remove all use of ctypes.h in order to avoid compiler warnings and other problems associated with changing locales. file: [61213054] check-in: [2fac8091] user: drh branch: trunk, size: 10970
2010-10-03
17:25
corrected HTML-validator problems file: [0838826d] check-in: [32e85b66] user: wolfgang branch: wolfgangFormat2CSS_2, size: 10949
2010-09-26
12:25
some more htm validation file: [09d4c5e4] check-in: [e5bf291e] user: wolfgang branch: wolfgangFormat2CSS_2, size: 10945
2010-09-12
12:49
corrected some & chars in hyperlinks and added missing quotes in attribute values file: [5b8bfc30] check-in: [214d2faf] user: wolfgang branch: wolfgangFormat2CSS, size: 10895
08:47
correct all unclosed br and hr tags, skipped sqlite.c file: [a185e6c2] check-in: [692b67bd] user: wolfgang branch: wolfgangFormat2CSS, size: 10887
2010-05-21
16:21
Fix issues with attachments on tickets. In the artifact viewer, do a better job of detecting JPEG images from the content prefix. file: [69326025] check-in: [3343450e] user: drh branch: trunk, size: 10875
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [4da6ad15] check-in: [c06edd23] user: drh branch: clear-title, size: 10832
2010-03-21
21:51
Avoid the use of rowids in URLs, since they can change on a rebuild. Use SHA1-derived artifact IDs instead. file: [3a5d1aaa] check-in: [a4b10f43] user: drh branch: trunk, size: 11108
2010-03-18
13:47
Some minor performance improvements on timeline. file: [6550aa9e] check-in: [edea06ee] user: drh branch: trunk, size: 10888
02:11
Add the ability to delete attachments and fix issues with timelines. file: [2733d7ad] check-in: [01c0180b] user: drh branch: experimental, size: 10884
2010-03-17
23:15
Basic functionality of attachments is now in place. file: [e2a776af] check-in: [dd2d3177] user: drh branch: experimental, size: 8090
19:57
Added screens for adding and listing attachments. file: [73e72e83] check-in: [1fcfa000] user: drh branch: experimental, size: 6095
2010-03-16
21:33
Work toward adding support for attachments. Keep this on an experimental branch until it is actually working. file: [44eaa95a] check-in: [c3d7df65] user: drh branch: experimental, size: 2526 Added