Fossil

Timeline
Login

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

79 check-ins using file src/db.c version bf08dd51a0

2020-08-06
20:31
Improved ETags caching information in replies, to help browser avoid unnecessary HTTP requests. check-in: ec5a063bdc user: drh tags: trunk
20:26
Fix self-registration so that it can work even if email alerts are not enabled. See forum post [https://www.fossil-scm.org/forum/info/e012e702de4ed1e2]. check-in: 02c3080bb2 user: drh tags: trunk
2020-08-04
14:00
/wikiedit now embeds a copy of the page list JSON at page-render time to save an XHR request at startup. check-in: bc6651331a user: stephan tags: trunk
00:48
Added an ETag to the /style.css page, so it benefits from the far-future expiry stuff on this branch. Closed-Leaf check-in: 80097abc82 user: wyoung tags: etag-always
00:40
Changed the default ETag expire age from 1 day to 10 years. See included comment for defense. check-in: af848dce95 user: wyoung tags: etag-always
2020-08-03
22:54
Rearranged the order and conditional status of paths leading to ETag HTTP header generation to cause them to be generated in more cases. This improves caching in my testing, but it needs to be vetted before it can be merged down to trunk. The main risk is that it causes over-aggressive caching, resulting in stale data delivery. check-in: bc0b20356a user: wyoung tags: etag-always
01:16
Added a missing db_finalize() in piechart_render() for the empty chart case. check-in: 7913bba610 user: stephan tags: trunk
2020-08-02
13:23
Tiny style tweak for the wikiedit list filter toggles. check-in: b0a38d5fb3 user: stephan tags: trunk
2020-08-01
23:38
fossil.message() and friends now use local timestamps instead of UTC. Fixed a bug in wikiedit which caused a newly-created page to disappear from the page selection list after it was saved. Other minor cleanups in adjacent code. check-in: 3dc4613d19 user: stephan tags: trunk
22:25
Minor CSS tweak for mobile browsers. check-in: bfd79af058 user: stephan tags: trunk
21:31
Ported several features between wikiedit and fileedit, improving them both a bit. check-in: 0d5006bed5 user: stephan tags: trunk
18:47
Updated the wiki CLI command to account for the sandbox pseudo-page and removed an obsolete TODO. check-in: 7bc942704d user: stephan tags: trunk
17:56
Style tweaks and re-did how the OPTION elements are marked is-new/is-modified so that the mobile browsers can show that state. check-in: d9f4b6dbed user: stephan tags: trunk
16:07
Reworked how /wikiedit edit status is displayed, added history/attachment links to the new info bar, and remove attachment links from the Help tab. check-in: fb77abd3b5 user: stephan tags: trunk
13:53
Merged in the Ajax-based /wikiedit reimplementation. check-in: 19f2753522 user: stephan tags: trunk
13:23
Minor help text additions for --jsmode. Closed-Leaf check-in: cb2563de17 user: stephan tags: ajax-wiki-editor
04:30
Remove an unused variable in mkindex.c check-in: bf1984428f user: ashepilko tags: trunk
01:40
Removed a stray HR tag left over by the previous commit's excision of the wysiwyg option. Removed a dangling doc reference to TinyMCE. check-in: b3f3cf6930 user: stephan tags: ajax-wiki-editor
01:37
Removed the legacy /wikiedit implementation and the wysiwyg option it supported/sported. Updated the change log. check-in: 336afe8e91 user: stephan tags: ajax-wiki-editor
2020-07-31
23:54
Fix caching for bundled access to /builtin. Add a missing semicolon to the end of graph.js. check-in: 139db4c54e user: drh tags: trunk
23:33
Merged in trunk for builtin_request_js() changes and ported wikiedit/fileedit/forumpost to use those. check-in: 2ec332a0c2 user: stephan tags: ajax-wiki-editor
22:04
Simplify the internal interfaces used for injecting built-in Javascript files onto a web page. check-in: 036a9d5c58 user: drh tags: trunk
21:57
Further simplification of the javascript loading code. Closed-Leaf check-in: b7f70ffc14 user: drh tags: refactor-js-handling
21:51
Permit the 'favicon.ico' image to be customized. check-in: 37262b8387 user: mistachkin tags: trunk
21:47
Replace various style_emit_script...() calls with builtin_request_js(). check-in: 699a977cfc user: drh tags: refactor-js-handling
21:32
Reduce the number of jsmode options to three: inline, separate, bundled. check-in: 38f3d9785b user: drh tags: refactor-js-handling
20:16
Fix lines for separate JS modes. check-in: 314bb1579e user: drh tags: refactor-js-handling
20:02
Begin integrating the builtin_request_js() interface. check-in: 13caa6e61e user: drh tags: refactor-js-handling
18:49
Made all tab elements hidden on /fileedit to lessen the impact of FOUC before JS assembles the tabbed interface. check-in: 99f288d2a5 user: stephan tags: ajax-wiki-editor
17:31
Reordered /builtin a bit to allow it to respond with a 304 *without* generating extraneous output if etag_check() says it can. check-in: 8c9ea22419 user: stephan tags: ajax-wiki-editor
16:58
Add routines for standardized loading of javascript resources. check-in: 01d96c6b45 user: drh tags: refactor-js-handling
16:49
Pedantic function rename, as it will become relevant when work on the ajaxifying the forum start. check-in: 41ce65fc31 user: stephan tags: ajax-wiki-editor
16:44
Corrected doc falsehoods. check-in: 1f0a3354aa user: stephan tags: ajax-wiki-editor
16:40
Added style_emit_script_bundle() to simplify page-level bundle usage a small bit. /forumpost, /wikiedit, /fileedit now use that routine. check-in: 0c233bc697 user: stephan tags: ajax-wiki-editor
16:14
Extended /builtin/filename to support /builtin/:filename for packing up cacheable bundles of page-specific code. /wikiedit, /fileedit, and /forumpost now serve their JS that way. check-in: 18da05b903 user: stephan tags: ajax-wiki-editor
16:06
Move the /builtin webpage from style.c over to builtin.c. Add the new "m=" query parameter enabling it to return multiple JS files in a single request. check-in: 956d2f8db9 user: drh tags: trunk
14:44
/wikiedit and /fileedit now dump all of their common static JS into a single SCRIPT tag instead of making numerous requests, per forum feedback. Fixed/expanded some of the newer script-emitting logic in style.c to handle these. wikiedit no longer mangles the page-level header. check-in: a4b73fd081 user: stephan tags: ajax-wiki-editor
14:20
Always regenerate the VERSION.h file, and hence change the FOSSIL_BUILD_HASH value, every time "make" is run. check-in: 01c03ca16a user: drh tags: trunk
12:35
Minor style tweaks after trying the editor in different skins. check-in: 7418144b3f user: stephan tags: ajax-wiki-editor
12:26
Ardoise skin: reset SELECT height to "initial" because its default otherwise breaks selects with size greater than 1. check-in: ef38f0d7ca user: stephan tags: trunk
12:03
Merge enhancements from trunk into the ajax-wiki-editor branch. check-in: a8cb9b1a7b user: drh tags: ajax-wiki-editor
09:57
The save button now is now moved to the current tab when switching tabs, for the save/preview/diff tabs. check-in: acdd76539c user: stephan tags: ajax-wiki-editor
05:14
Minimize the FOUC effect before the tabs are re-assembed in JS by initially hiding all tabs. check-in: d8f18bc54e user: stephan tags: ajax-wiki-editor
04:55
Renamed the 'sandbox' automagical page to 'Sandbox' (upper case) for consistency with the historical sandbox links. Both names work equivalently, but now the selection list matches up with the name passed in via the external links to the sandbox. check-in: a95dd98e81 user: stephan tags: ajax-wiki-editor
04:46
Corrected sandbox page always getting tagged as 'new' in the page header and title. check-in: c3c9a14365 user: stephan tags: ajax-wiki-editor
04:33
Moved Save button to the Preview tab, as that follows the common app-wide pattern of not enabling a save until a preview has first been triggered. check-in: 31296ec204 user: stephan tags: ajax-wiki-editor
03:50
Can now create new pages without leaving the editor. Numerous layout tweaks. Improved the help tab. check-in: d5e4d7a9a9 user: stephan tags: ajax-wiki-editor
02:21
Update the tests to reflect recent code changes check-in: 981049f798 user: ashepilko tags: trunk
02:02
Renamed the fileedit/wikiedit stash index keys to avoid breakage if they edit a file/page named 'index' (this unfortunately invalidates any local-storage edits in /fileedit). Minor wiki page selection list style tweak. check-in: 8975f7247a user: stephan tags: ajax-wiki-editor
01:44
Minor layout/style improvements. check-in: 31c5e1fd86 user: stephan tags: ajax-wiki-editor
01:31
Moved the hard-coded edit state markers to fossil.page.config so that skins can change them. check-in: 4c1a2dd4e1 user: stephan tags: ajax-wiki-editor
01:21
Renamed /fileedit's setFileContentMethods() to setContentMethods() to consolidate the naming convention for this client hook across pages which use it (which now includes the ajax wiki editor). check-in: bdfbc9f912 user: stephan tags: trunk
01:11
Mis-declared C var fix. check-in: d7d231c933 user: stephan tags: ajax-wiki-editor
01:09
Added filter checkboxes to show/hide to filter the wiki page list by page type(s). Related internal API additions. check-in: 9edf5e7dd6 user: stephan tags: ajax-wiki-editor
2020-07-30
23:30
Added links to the wiki page's add-attachment and list-attachment pages. check-in: 01ab924155 user: stephan tags: ajax-wiki-editor
22:09
Update the built-in SQLite to the latest 3.33.0 alpha, for testing. check-in: 38d1b32bde user: drh tags: trunk
22:02
Implemented wiki page saving. Corrected order of the versions in the diff. Various cleanups. check-in: 63376a80fc user: stephan tags: ajax-wiki-editor
19:48
New/unsaved pages can now be discarded. check-in: 2ccdf326cd user: stephan tags: ajax-wiki-editor
19:12
Added ability to create new pages passed to the editor via /wikinew and integrated them into the local edit stash. check-in: 7894674dd4 user: stephan tags: ajax-wiki-editor
01:45
Permissions checks improvements. Added a couple TODOs, notably for how to integrate handling of new/as-yet-unsaved pages into the UI. check-in: 044e2b55a5 user: stephan tags: ajax-wiki-editor
00:11
Revive branch, since it turns out there is still a problem with cloning local filesystem repositories. See the previously-linked forum post for details. check-in: cbd52334ef user: andygoth tags: multi-remote-fix
00:05
All major features except saving are implemented. check-in: 5d61cec568 user: stephan tags: ajax-wiki-editor
2020-07-29
20:19
Initial bits for the ajax-powered wiki editor. There's still much to do here, but most of the basics are in place. check-in: 20636c936f user: stephan tags: ajax-wiki-editor
20:08
Fixed %j encoding to backslash-escape double-quotes. It was accounting for them in its allocation but not actually escaping them. check-in: caa51decb8 user: stephan tags: trunk
18:10
Corrected a 'for' attribute in a generated LABEL tag used by the fileedit page. check-in: b82cb27514 user: stephan tags: trunk
16:15
Removed the SameSite=strict cookie setting in order to rule out whether it is the cause for the login cookie not being submitted when reaching the site via a GMail-induced redirect. (Follow-up: that was indeed the problem. SameSite=strict cookies are not sent when they belong to a page which is the target of a redirect from another site.) check-in: 1ac2e7326b user: stephan tags: trunk
14:56
Minor format tweak for consistency check-in: 0cda82eb2f user: andygoth tags: trunk
2020-07-28
19:47
Update the change log for the "Remember me" session login-cookie enhancement. check-in: d650eea348 user: drh tags: trunk
19:45
Add the "Remember me?" checkbox to the login page. If not checked, you get a session cookie for the login. check-in: 6b7b3232df user: drh tags: trunk
2020-07-27
15:56
Remember-me toggle defaults to off, per forum feedback. Closed-Leaf check-in: 587cd77e00 user: stephan tags: login-session-cookie
12:29
Put the "remember me" checkbox on a line by itself. Omit extra explanatory text. Move the non-SSL login warning to the top of the login dialog. check-in: 8efba52b97 user: drh tags: login-session-cookie
2020-07-26
22:29
Corrected some no-longer-true docs about the login cookie. check-in: 3989c385ef user: stephan tags: login-session-cookie
20:30
Re-added SameSite=strict cookie flag and update user.cexpire even for session cookies, otherwise non-anonymous session-only logins do not "stick" past the login process. check-in: 5c84a72907 user: stephan tags: login-session-cookie
20:10
Removed the newly-added SameSite=strict cookie setting to test whether it is the cause of session-cookie login grief on my hoster. check-in: 80025e706d user: stephan tags: login-session-cookie
19:57
Added "Remember me?" checkbox to login (default=on). Corrected cgi_set_cookie() to immediately expire the cookie for a negative lifetime (it was previously re-setting the cookie as a session cookie for that case). check-in: 32975aabe7 user: stephan tags: login-session-cookie
14:04
Minor internal API changes to support using a session cookie for logins, but there are side effects which still need to be investigated before exposing that option to the UI, e.g. login groups and any other use of the user.cexpire field. check-in: ba3cf9c4de user: stephan tags: login-session-cookie
2020-07-24
16:15
Fix an issue with the /timeline bid= query parameter on servers. check-in: d0749d7886 user: drh tags: trunk
12:56
Add the deltabg query parameter to /timeline. check-in: 6b9d57a04c user: drh tags: trunk
12:02
Improved documentation of the forbid-delta-manifests setting. check-in: 6dc17a5760 user: drh tags: trunk