Fossil

Timeline
Login

Timeline

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

74 check-ins using file src/alerts.c version e66cf827

2019-01-02
07:24
Oops, fallen for testing built-in versus customized skin, fix the previous check-in. ... (Closed-Leaf check-in: dac9293b user: florian tags: js-hamburger-menu)
07:03
Less rigid string-to-number conversion for the custom "data-anim-ms" attribute. ... (check-in: e4a18b67 user: florian tags: js-hamburger-menu)
2018-11-30
13:07
Allow the Admin user to modify the skin. ... (check-in: 257318c1 user: drh tags: trunk)
13:00
Fix to the sizing of the iframe for HTML in the /info page so that it works with CSP unsafe-inline. ... (check-in: 4675fc70 user: drh tags: trunk)
01:11
Add the backoffice-disable setting to completely disable all backoffice processing. ... (check-in: 2467a356 user: drh tags: trunk)
2018-11-29
22:55
The /setup_adunit, /setup_logo, and /setup_skin pages now give full rights to Admin-only users, not just to Setup users, since it seems sensible for a Setup user to delegate cosmetic matters to "mere" Admins. ... (Closed-Leaf check-in: a4265ae8 user: wyoung tags: setup-delegates-cosmetics-to-admin)
21:38
Update custom mingw makefile. Update openssl version ... (check-in: 71399243 user: jan.nijtmans tags: trunk)
11:09
Improvements to the command-line comment formatter so that it works better with non-ASCII characters. ... (check-in: 1c84a0c1 user: drh tags: trunk)
2018-11-28
23:43
Minor stylistic changes to the comment formatter. ... (Closed-Leaf check-in: cc9c422d user: drh tags: comment-formatter-utf8)
18:57
The /setup page can now be seen by both Admin and Setup users, as requested by drh via private email. The set of links shown is culled for Admin-only users. Also changed some comments to match the code with respect to Admin vs Setup capability. The only change to user capability interpretation in this checkin is to the /setup page. ... (check-in: 7d034d34 user: wyoung tags: trunk)
18:48
The /setup_modreq page was limited to Setup users, but since it controls what users with Moderator capability can do, made it available to Admin users as well. ... (check-in: 6242e24d user: wyoung tags: trunk)
18:42
Found several more pages protected with "!g.perm.Setup && !g.perm.Admin" guards: changed them all to "!g.perm.Admin" only for the same reason as [558952c8]. ... (check-in: 42c3364f user: wyoung tags: trunk)
18:34
The /secaudit0 page was checking for both Admin and Setup capabilities, which means it was only accessible to users with Setup users, since that is the only class that can have both capabilities. Since it's documented as being available to Admin users, changed the logic to allow access to Admin *OR* Setup users. ... (check-in: 558952c8 user: wyoung tags: trunk)
13:19
Update the built-in SQLite to the latest 3.26.0 beta for testing. ... (check-in: c523d0a9 user: drh tags: trunk)
2018-11-24
07:49
Minor optimizations: drop a few redundant comparisons and calculations, and take advantage of the logical AND short-circuit by testing the least expensive and most unlikely condition first. Also fold away the iterative comments into cross references. ... (check-in: 490d38ff user: florian tags: comment-formatter-utf8)
07:16
Fix two bugs (introduced with this branch) that become manifest with invalid UTF-8 sequences. ... (check-in: b86a2fc7 user: florian tags: comment-formatter-utf8)
2018-11-16
19:39
Fix a bug (already present on trunk) with the (non-legacy) comment printing algorithm, detected while running the regression tests from test/comment.test with UTF-8 text: the function to print the indent (modified to a calculate-only function on this branch) was handed a pointer to the current line index and the current line index, thus performing checks at (current line index * 2), causing random increments of the current line index. ... (check-in: 70dd8f74 user: florian tags: comment-formatter-utf8)
14:02
More coding style fixes. ... (check-in: 2dca9b82 user: florian tags: comment-formatter-utf8)
11:26
Coding style fixes. ... (check-in: aadbbb38 user: florian tags: comment-formatter-utf8)
11:14
For better word breaking results with the (non-legacy) comment printing algorithm, make sure the lookahead to the next space character is UTF-8-aware. Also make sure the per-line remaining character count is decremented properly for UTF-8 sequences. The neuralgic points now handle UTF-8 sequences correctly, and they could be enhanced to work with the effective display width, if required (to handle combining characters, and East Asian Wide and Fullwidth characters). ... (check-in: c9ec3d18 user: florian tags: comment-formatter-utf8)
2018-11-15
15:32
Ensure the line buffer for the legacy comment printing algorithm can hold maximum-length UTF-8 sequences. ... (check-in: 29d3a2ed user: florian tags: comment-formatter-utf8)
15:16
Fix a problem with initial indent introduced by the previous check-in, so that all regression tests from test/comment.test now succeed. Also eliminate three more calls to fossil_print(). Regarding performance, the legacy comment printing algorithm is outnumbered by factor 2-3, with these changes. ... (check-in: b029ed22 user: florian tags: comment-formatter-utf8)
12:43
Add output buffering to the (non-legacy) comment printing algorithm, to reduce calls to fossil_print(). The resulting performance improvement can be up to factor 10, with a perceptible difference even for short comments (measured and tested on Windows with MSVC builds, and on Ubuntu with GCC builds). (For comparison: for the legacy comment printing algorithm, the extra UTF-8 checks added by this branch impair performance by 0.12-1.8%, depending on whether the input contains predominantly multi-byte vs. ASCII-only sequences.) ... (check-in: 16fde3ff user: florian tags: comment-formatter-utf8)
2018-11-13
16:20
Update the built-in SQLite to the latest 3.26.0 beta. This is beta-testing for SQLite. ... (check-in: d3f454fa user: drh tags: trunk)
16:14
Fix a bug in the skin edit pages that can result in an infinite loop. ... (check-in: 995e184c user: drh tags: trunk)
2018-11-10
14:17
Do not run backoffice if the "--in" option is used on the "fossil http" command. ... (check-in: afb1e5f6 user: drh tags: trunk)
13:49
Do not attempt to run backoffice if the repository is read-only. ... (check-in: 4f15d34f user: drh tags: trunk)
2018-11-09
19:18
Merged login-on-post branch to trunk ... (check-in: c0e384cf user: wyoung tags: trunk)
19:16
Another attempt to fix non-constant format complaint. ... (Closed-Leaf check-in: 725630f3 user: wyoung tags: login-on-post)
19:11
Fix to previous for the "non-constant format" complaint from some compilers. I can't see what they're yelling about, but this fixes it. ... (check-in: 095333fc user: wyoung tags: login-on-post)
18:52
The "New Thread" button in /forum is no longer restricted to those with forum write capability: if you lack it, we now send you to the login page instead. Without this, users without the capability to post are left looking in through the window of a building without obvious doors. This change pairs especially nicely with the self-registration feature, but it doesn't require it, since /login also allows anonymous login, which should be enabled for Fossil forums on sites where non-users are expected to visit. ... (check-in: cdb7f3b9 user: wyoung tags: login-on-post)
2018-11-08
02:38
Improve grep documentation ... (check-in: 4af31f11 user: andygoth tags: trunk)
2018-11-07
12:04
When running a bisect, show the span between the two extremes and the number of steps remaining after each step. ... (check-in: b45dd1c7 user: drh tags: trunk)
2018-11-05
14:35
Fix the /brlist page so that branches are (once again) shown in time order. ... (check-in: c21c7742 user: drh tags: trunk)
2018-11-02
16:10
Enhance the "fossil branch ls" command with two new options. The -t option sorts the branch list with the most recent branch first. The -r option reverses the sort order. ... (check-in: db2682dc user: drh tags: trunk)
15:21
Enhance makeheaders so that it is able to deal with static_assert() statements. (These do not come up in Fossil itself. This check-in is in response to use of Makeheaders by external projects.) ... (check-in: 8cecc544 user: drh tags: trunk)
13:48
Enhance the repository list page so that it shows the name of project for each repository, and so that the "Last Modified" time is based on the most recent event in the repository, not the repository file mtime. ... (check-in: cdea59dc user: drh tags: trunk)
13:08
Split out the repo_list_page() routine, used to generate the repository list for "fossil all ui" and similar, into a separate source file "repolist.c" to make it easier to enhance and maintain. ... (check-in: 45a71349 user: drh tags: trunk)
2018-10-21
18:38
Update custom MinGW makefile. ... (check-in: 1c32c5b8 user: mistachkin tags: trunk)
2018-10-20
15:00
Fixed an off-by-one error in the error log header printer, resulting in the day number being for the next day past the call time. Bug diagnosis and fix from https://fossil-scm.org/forum/forumpost/0d5933da4c ... (check-in: cf9b44a9 user: wyoung tags: trunk)
2018-10-19
22:37
Now that type has changed due to [d0fa9eee56], cast back to match total variable. ... (check-in: 77371043 user: andybradford tags: trunk)
22:12
Use a signed type to avoid an infinite loop in socket_send(); socket_receive() is already fine. ... (check-in: d0fa9eee user: andybradford tags: trunk)
2018-10-17
23:53
Enhance the security-audit page to detect insecurities resulting from having self-registration enabled. This is a work in progress. More testing and more checks are needed in this area. ... (check-in: 724ccc46 user: drh tags: trunk)
14:16
Modify the comment formatter to avoid output of incomplete UTF-8 sequences, and to avoid line breaks inside UTF-8 sequences. See https://fossil-scm.org/forum/forumpost/1247e4a3c4 for detailed information and tests. ... (check-in: 1bbca2c3 user: florian tags: comment-formatter-utf8)
2018-10-14
06:46
Backout [4d384ed875] and [5677271a1c] to simplify the hamburger menu customization template. ... (check-in: bf8946a1 user: florian tags: js-hamburger-menu)
06:44
Remove leftover IE8 compatibility code, as the hamburger menu never worked with this browser. (The hamburger button would be replaced with a non-scripted link to the sitemap, if JS processing got this far.) ... (check-in: b0043203 user: florian tags: js-hamburger-menu)
2018-10-12
16:18
For consistency, HTMLize another TH1 variable, though not sure if this is required, see https://fossil-scm.org/forum/forumpost/bc0b6ce4a1. ... (check-in: 5677271a user: florian tags: js-hamburger-menu)
16:16
Switch away from classic (bubbling-only) event handling to simplify management of temporary handlers, and to have the ESC key listener use a priority (capturing) handler, to prevent any other keydown handlers or default actions for the ESC key while the panel is open. This does not change the compatibility test results summarized here: https://fossil-scm.org/forum/forumpost/f425a1756c. (IE8 halts JS processing at JSON.parse in antiRobotDefense, anyway.) Also, for non-compatible browsers, there's a new fallback to transform the hamburger button into a simple (non-scripted) link to the sitemap. ... (check-in: e3376829 user: florian tags: js-hamburger-menu)
16:14
Fix a comment on the "html" and "puts" TH1 commands. Before this fix, the meanings of the two commands were reversed. ... (check-in: 35563f3d user: drh tags: trunk)
16:08
Alternative name for the "customskin" document in the document index. ... (check-in: 2aa4ef94 user: drh tags: trunk)
2018-10-11
16:36
Cancel the timer to remove the border of the hamburger menu panel after the closing animation, if the menu is closed and immediately reopened by double-clicking the hamburger button. ... (check-in: c73deeb6 user: florian tags: js-hamburger-menu)
16:36
Recalculate the dimensions of the hamburger menu if the browser window is resized. ... (check-in: 7c724cf7 user: florian tags: js-hamburger-menu)
16:36
Fix the hamburger menu template from the documentation to ensure TH1 variables are properly HTMLized. ... (check-in: 4d384ed8 user: florian tags: js-hamburger-menu)
16:36
Enable customization of the hamburger menu through the default skin header.txt. ... (check-in: 497dbb35 user: florian tags: js-hamburger-menu)
16:36
Extend the CSS fixes to avoid column breaks inside list items, [dc5e06ff71] and [51da396650], as Firefox classifies 'break-inside' as an 'invalid property name'. This affects the sitemap and the hamburger drop-down menu. ... (check-in: 5bd8d6fe user: florian tags: js-hamburger-menu)
16:36
Read the CSS transition style to be restored later directly from the (previously initialized) style property, as window.getComputedStyle() seems to return null with Firefox, in this specific case. This fixes a problem introduced with the previous check-in. ... (check-in: c6735b38 user: florian tags: js-hamburger-menu)
16:36
Allow the hamburger menu to be closed instantly by pressing ESC or by clicking outside. This is the patch initially submitted to https://fossil-scm.org/forum/forumpost/2abe305c2d, with the interim changes incorporated. ... (check-in: a44fdd17 user: florian tags: js-hamburger-menu)
09:39
Fix minor inaccuracy in the number of years in the human_readable_age() function. ... (check-in: e93ae526 user: drh tags: trunk)
2018-10-10
19:49
Applied a patch by forum user vor0nwe to allow the WYSIWYG wiki page editor to work in the face of the new CSP restrictions on inline JavaScript. The patch and explicit license for inclusion in Fossil are here: https://fossil-scm.org/forum/forumpost/6985a4754e ... (check-in: 543cdd47 user: wyoung tags: trunk)
16:42
Removed a period at the end of a sentence ending in a URL to avoid the need for cleverness in URL handling to get the correct document to open. (Affects "fossil help grep" output.) Problem noticed by jungleboogie on the forum, /forumpost/13332107cc.) ... (check-in: fac3d6b0 user: wyoung tags: trunk)
2018-10-09
16:06
Added a nonce attribute to the <script> tag for the inline JavaScript backing the WYSIWYG wiki editor feature. Without this, modern browsers throw a CSP violation. ... (check-in: 12a90ff4 user: wyoung tags: trunk)
15:21
Bolded the card letters in fileformat.wiki and normalized 'X card' vs 'X-card' vs '"X" card' to make it easier to search for a given card type in the document. ... (check-in: a1437b24 user: wyoung tags: trunk)
13:57
Update to SQLite 3.25.2 final ... (check-in: 04a21428 user: jan.nijtmans tags: trunk)
12:28
Fix a conflict when syncing forum posts. ... (check-in: 8a980fde user: drh tags: trunk)
12:22
Fix a minor hyperlink problem in the bootstrap skin. ... (check-in: 7ca68af0 user: drh tags: trunk)
2018-10-06
23:02
Added the mv/rm files change to the 2.7 changelog ... (check-in: be1bc912 user: wyoung tags: trunk)
17:10
Fixed an HTML typo in the /help page, reported by "Z03": (https://fossil-scm.org/forum/forumpost/13c80e13e2 ... (check-in: 1f4a9eb9 user: wyoung tags: trunk)
14:14
The "fossil help -o" command shows command-line options that are common to all commands. ... (check-in: 50eb6bd5 user: drh tags: trunk)
2018-10-04
18:35
Activate CSP for the bootstrap skin. ... (check-in: a762ba1f user: drh tags: trunk)
14:56
On the /setup_ucap_list page, show the number of users having each capability, with a link to a list of users. This only works for administrators. ... (check-in: 59442179 user: drh tags: trunk)
14:08
Update list of common commands in man page ... (check-in: cc6f7a92 user: andygoth tags: trunk)
13:45
Allow users with Forum Supervisor permission ('6') to add Forum Write Trusted permission ('4') to users as they are approving a post by that user. ... (check-in: d33d446f user: drh tags: trunk)
12:52
Remove the SQLITE_ENABLE_FTS3_PARENTHESIS compile-time option from default builds. This avoids problems that might arise when users type parentheses in search boxes that use FTS. ... (check-in: 9dc49e61 user: drh tags: trunk)
07:36
Avoided a crash in Fossil > Admin > Notification > Send Announcement triggered when no subscribers are set up, causing it to fail on Submit if you tell it to send the announcement to all subscribers. The check also guards against sending such things before email alerts are set up. In either case, the "Send Announcmeent" page gives an error pointing you to the docs, rather than a form that cannot be successfully submitted. ... (check-in: ea646955 user: wyoung tags: trunk)