Fossil

Timeline
Login

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

50 most recent check-ins by user wyoung

2018-12-04
23:08
Fixed a use of fclose() on a handle opened with popen(), noticed by Stephan Beal. check-in: 1f4b4fcb user: wyoung tags: trunk
23:00
The new blockquote tinting feature of the default skin now works in the forum post editor screen as well, not just in the forum post display screen. check-in: 19bb3b88 user: wyoung tags: trunk
2018-12-01
06:19
Typo fix check-in: 572574d1 user: wyoung tags: trunk
06:17
Assorted small improvements to admin-v-setup.md. check-in: eadf2644 user: wyoung tags: trunk
05:49
The recent change that allows Admin-only users to edit the skin affected the setup.c side of things only: there were also several bits in skins.c that checked for g.perm.Setup, so an Admin-only user couldn't actually do anthing useful. check-in: 7b58c6fd user: wyoung tags: trunk
00:27
Added the "Setup-Only Features" section to admin-v-setup.md. check-in: 8ec908d1 user: wyoung tags: trunk
2018-11-30
23:37
Added www/admin-v-setup.md to the permuted index check-in: 969380a5 user: wyoung tags: trunk
23:34
Added the admin-v-setup.md document explaining the differences between the Setup and Admin user capabilities, and offering a philosophical argument for why these distinctions are drawn as they currently are. check-in: 2056e9f7 user: wyoung tags: trunk
23:18
Granted access to /setup_timeline to Admin users as well as Setup users. check-in: cd8c5df5 user: wyoung tags: trunk
21:24
Typo fix check-in: 91e8c121 user: wyoung 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
2018-11-28
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
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-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-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
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
2018-10-04
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
07:13
Fixed an off-by-one error affecting "fossil grep" when the final argument was left off. check-in: f6502e8c user: wyoung tags: trunk
06:20
Commented out the -lm option added to Makefile.classic recently: libm doesn't exist on all platforms. check-in: 729360ec user: wyoung tags: trunk
2018-10-03
22:23
Checkin [15e1dcd058b5b3e1] had no useful effect: we need to set this flag at the "make" level, not as a C preprocessor flag. Not backing it out because the change is harmless as well as useless. check-in: f08a09ca user: wyoung tags: trunk
21:52
Added -lm to LIB in Makefile.classic to allow src/piechart.c to build on systems where the trig functions are in libm. check-in: ba71b359 user: wyoung tags: trunk
21:51
Added -DUSE_LINENOISE to Makefile.classic, since it's built into Fossil, and that build system has no way to find or use libedit or libreadline intead. check-in: 15e1dcd0 user: wyoung tags: trunk
21:25
Listed the actual differences between fossil grep options and those defined by POSIX in www/grep.md. check-in: d5499091 user: wyoung tags: trunk
21:11
Added a spec reference to POSIX grep, and fixed a typo. check-in: 9fc411ab user: wyoung tags: trunk
20:20
Expanded a few of the sections in the new www/grep.md doc check-in: f984d331 user: wyoung tags: trunk
20:11
URL fix check-in: 186748ff user: wyoung tags: trunk
20:09
Moved the documentation for Fossil's grep implementation out of src/regexp.c into a new document with greatly-expanded content, www/grep.md, which is now referenced both from the source code and in the output for "fossil help grep". check-in: 2e1775e2 user: wyoung tags: trunk
20:09
Added an entry for `fossil grep` to the www/changes.wiki file in the 2.7 section. Somehow this addition wasn't noted prior to the release. check-in: 9e1faa02 user: wyoung tags: trunk
2018-10-01
06:21
Merged branch libbind-ns-alternative: I haven't found any platform where this won't build. It doesn't enable libbind or use libresolv better on every platform where it might possibly work, but at the very least it avoids build errors everywhere I've tried it. check-in: 71c298f3 user: wyoung tags: trunk
2018-09-26
18:45
"New Message" -> "New Thread" in forum. check-in: e11d3917 user: wyoung tags: trunk
18:39
Setup and Admin users that are in the subscriber table were getting email alerts only if they had explicit moderator capabilities set. Those with bare "s" or "a" weren't getting notified. check-in: 1d3dd1d9 user: wyoung tags: trunk
2018-09-22
17:02
Added a check for ns_parserr(), which we currently don't know how to find on OpenBSD. This also fixes a logic error in auto.def which would cause the warning that this feature won't be compiled to not be given. check-in: f99e7632 user: wyoung tags: libbind-ns-alternative
16:55
Removed the "Linux" platform test from the DNS MX stuff in src/smtp.c. You should always test for features, not platforms, and we've now got the feature tests we need to replace this too-broad platform test. check-in: 5358fe95 user: wyoung tags: libbind-ns-alternative
16:38
Replaced the call to the undocumented ns_name_uncompress() function with dn_expand(), which is documented, at least on OpenBSD, and it's shorter. Then made ns_name_uncompress() and __ns_name_uncompress() fallbacks for this, with suitable autosetup tests for all of it. check-in: d0fb5ac7 user: wyoung tags: libbind-ns-alternative
06:46
The previous checkin on this branch prevented src/smtp.c from both building and linking because the code previously assumed that it could only build against libresolv for MX lookups and such on Linux, but the checkin gave it enough slack to *attempt* to build on macOS. This checkin prevents that from happening if run on stock macOS, but if you install libbind via Homebrew, it also opens up the possibilty to biuld against it for the first time. It's a complicated sequence of checks due to the way libbind interacts with the stock libresolv. This means we have yet more reason to want to test this widely before merging it to trunk. check-in: 4d9970f6 user: wyoung tags: libbind-ns-alternative
05:47
Added autosetup checks for alternative libraries and names for the res_query() and ns_*() functions that module smtp.c previously depended on finding in libresolv/glibc. Checking it in on a branch because it needs multiplatform testing. This version solves the problem originally reported on the forum by Andy Goth, being that the current trunk doesn't build on CentOS 5. check-in: ed3b1e4d user: wyoung tags: libbind-ns-alternative
00:54
Second attempt at blockquote styling, this time restricting it to forum posts only. (Previous: [2190f86c324d0]) check-in: c285cd08 user: wyoung tags: trunk
2018-09-21
01:52
Replaced the "hasOwnProperty" test for CSS transition support in the animated hamburger menu JS code with a better test that not only works on old IE but also on some truly ancient versions of SeaMonkey, Firefox, Chrome, etc. check-in: ee074372 user: wyoung tags: trunk
2018-09-20
11:21
Fixed the panel.style.hasOwnProperty() test in the default skin's js.txt so that it will work on IE8 and below. See code comment for rationale. check-in: e54095f9 user: wyoung tags: trunk
2018-09-17
09:47
Wiki markup fixes in the recent edits to the www/forum.wiki doc check-in: 07943152 user: wyoung tags: trunk