Fossil

Timeline
Login

Timeline

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

54 check-ins for the month beginning 2020-07-01 by user stephan

Following month ↑
2020-07-31
23:33
Merged in trunk for builtin_request_js() changes and ported wikiedit/fileedit/forumpost to use those. ... (check-in: 2ec332a0 user: stephan tags: ajax-wiki-editor)
18:49
Made all tab elements hidden on /fileedit to lessen the impact of FOUC before JS assembles the tabbed interface. ... (check-in: 99f288d2 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: 8c9ea224 user: stephan tags: ajax-wiki-editor)
16:49
Pedantic function rename, as it will become relevant when work on the ajaxifying the forum start. ... (check-in: 41ce65fc user: stephan tags: ajax-wiki-editor)
16:44
Corrected doc falsehoods. ... (check-in: 1f0a3354 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: 0c233bc6 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: 18da05b9 user: stephan tags: ajax-wiki-editor)
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: a4b73fd0 user: stephan tags: ajax-wiki-editor)
12:35
Minor style tweaks after trying the editor in different skins. ... (check-in: 7418144b 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: ef38f0d7 user: stephan tags: trunk)
09:57
The save button now is now moved to the current tab when switching tabs, for the save/preview/diff tabs. ... (check-in: acdd7653 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: d8f18bc5 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: a95dd98e user: stephan tags: ajax-wiki-editor)
04:46
Corrected sandbox page always getting tagged as 'new' in the page header and title. ... (check-in: c3c9a143 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: 31296ec2 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: d5e4d7a9 user: stephan tags: ajax-wiki-editor)
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: 8975f724 user: stephan tags: ajax-wiki-editor)
01:44
Minor layout/style improvements. ... (check-in: 31c5e1fd 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: 4c1a2dd4 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: bdfbc9f9 user: stephan tags: trunk)
01:11
Mis-declared C var fix. ... (check-in: d7d231c9 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: 9edf5e7d 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: 01ab9241 user: stephan tags: ajax-wiki-editor)
22:02
Implemented wiki page saving. Corrected order of the versions in the diff. Various cleanups. ... (check-in: 63376a80 user: stephan tags: ajax-wiki-editor)
19:48
New/unsaved pages can now be discarded. ... (check-in: 2ccdf326 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: 7894674d 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: 044e2b55 user: stephan tags: ajax-wiki-editor)
00:05
All major features except saving are implemented. ... (check-in: 5d61cec5 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: 20636c93 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: caa51dec user: stephan tags: trunk)
18:10
Corrected a 'for' attribute in a generated LABEL tag used by the fileedit page. ... (check-in: b82cb275 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: 1ac2e732 user: stephan tags: trunk)
2020-07-27
15:56
Remember-me toggle defaults to off, per forum feedback. ... (Closed-Leaf check-in: 587cd77e user: stephan tags: login-session-cookie)
2020-07-26
22:29
Corrected some no-longer-true docs about the login cookie. ... (check-in: 3989c385 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: 5c84a729 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: 80025e70 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: 32975aab 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: ba3cf9c4 user: stephan tags: login-session-cookie)
2020-07-21
12:52
Trivial makeheaders patch from https://fossil-scm.org/forum/forumpost/0fc3f6b8d8, plus a small typo fix. ... (check-in: 00ad7ef3 user: stephan tags: trunk)
02:47
Corrected [b2ac2183] to work with CGI directory-serving mode. Renamed the two JSON bootstrap routines to be more descriptive and made it a harmless no-op to call json_bootstrap_early() (formerly json_main_bootstrap()) multiple times in order to simplify some code. Several minor code style fixes in related code. ... (check-in: e7f13b82 user: stephan tags: trunk)
2020-07-14
14:39
Added 'skip' to bisect's one-line help summary. ... (check-in: 4689ec45 user: stephan tags: trunk)
2020-07-13
12:49
Small typo fix in the change log. ... (check-in: cfbfdd1e user: stephan tags: trunk)
2020-07-10
11:11
Ardoise skin: removed 'appearance' CSS attributes (non-standard and not supported by modern FF), reset textarea height from 32px to initial (otherwise forum and skin editor are next to useless), updated a couple light-on-lighter colors to make the forum more legible. ... (check-in: 78487dfc user: stephan tags: trunk)
10:02
Forum post collapse/expand: 1) Is now full width to balance visibility and mobile accessibility. 2) Use arrows (instead of words) to convey intent. 3) When collapsing, scroll the collapser widget to the top of the viewport so that the next post is in view (avoids manual scrolling back up). 4) double-click on a large post toggles expand/collapse (avoids scrolling when expanded). ... (check-in: a30a6db4 user: stephan tags: trunk)
2020-07-09
20:39
Added a tiny margin above the forum expand/collapse button. Docs and minor cleanups to the new forum JS code. Added a disabled, but potentially interesting, long-press handler in the forum code to toggle expand/collapse. ... (check-in: 8de6b908 user: stephan tags: trunk)
18:31
Moved expand/collapse toggle to the bottom of the post, per forum feedback. That required changing it to a button because of CSS limitations. Fixed a few mis-used P tags in the FORM part of each post (P cannot hold a FORM). ... (Closed-Leaf check-in: eb392f97 user: stephan tags: forum-expand-poc)
18:06
For expanded view, use max-height:initial instead of some arbitrarily large value. That will effectively disable max-height. Change the pointer for the expand toggle to 'cursor'. ... (check-in: c824d1dc user: stephan tags: forum-expand-poc)
17:36
/forumthread: dynamically determine which posts have scrollbars (i.e. are taller than div.forumPostBody's max-height) and only add the expand/collapse toggle to those posts. ... (check-in: 1d467dcb user: stephan tags: forum-expand-poc)
15:59
Expand/collapse toggle is no longer 100% wide. ... (check-in: bb333b0b user: stephan tags: forum-expand-poc)
15:35
Very rough proof-of-concept for a pure-CSS expand/collapse option for forum posts. Demonstrates the capability but is far from polished enough to bring online. ... (check-in: be157e46 user: stephan tags: forum-expand-poc)
12:53
Refactored [23e138e808] a bit to move some new json-only code from main.c to json.c. ... (check-in: b2ac2183 user: stephan tags: trunk)
03:13
JS fossil.fetch(): moved an XHR.setRequestHeader() call to after the XHR.open() call because FF now says it must be done in that order. ... (check-in: 98f3c05c user: stephan tags: trunk)
02:15
Refactored [dd490d17be] into a separate routine and applied it to the POST parsing handler to fix problem reported at https://fossil-scm.org/forum/forumpost/f3e11f5629. ... (check-in: 23e138e8 user: stephan tags: trunk)
2020-07-08
20:26
Fix for problem reported at https://fossil-scm.org/forum/forumpost/e4953666d6 which triggered a JSON-mode assertion when trying to access a /json path via a server running in directory-serving mode (which prefixes such paths with the repo name). Such paths are now recognized as routes into the JSON API. ... (check-in: dd490d17 user: stephan tags: trunk)
Previous month ↓