Fossil

File History
Login

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

History of src/forum.c

2018-09-06
03:06
Typo fix; patch by jungleboogie in forum post ID 775e4c0771. file: [ba0d0f21] check-in: [c8ef388b] user: wyoung branch: trunk, size: 31690
2018-09-03
16:12
Do away with compiler warning about uninitialized variable. file: [c7e514e6] check-in: [af39da6d] user: andybradford branch: trunk, size: 31691
2018-08-31
11:32
Omit the Forum Search at the top of the /forum page if search is disabled. file: [86ff3ee3] check-in: [d4281bbc] user: drh branch: trunk, size: 31687
2018-08-25
16:06
Added new CSS class forumPosts to the containing the list of posts on the /forum page so that skins can target elements of this list differently than others. One immediate use for this is styling read threads differently via a:visited styling. Currently, only one of the stock skins ships with an unconditional a:visited change, so that all links show in the same color regardless of their state. That's fine in most areas of the UI, but in the forum, a skin developer may want something special, so we need a way to mark them differently. This was already using the broadly-used "fileage" style, but we don't want changes to a:visited and such to affect all other users of fileage, so we need a unique style to this page. file: [36fe4f14] check-in: [77782490] user: wyoung branch: trunk, size: 31576
2018-08-16
16:45
Do not show posts that are awaiting moderation to users without moderator privilege unless they are the same user that generated the post in the first place. file: [12808e50] check-in: [16c42a08] user: drh branch: trunk, size: 31565
16:13
Adjust the /forum page so that it for users without forum moderator privilege, it pretends that unmoderated posts do not exist, and for user with moderator privilege it paints an "Awaiting Moderator Approval" message on posts that need moderation. file: [a63e4181] check-in: [ef7f85ee] user: drh branch: trunk, size: 30908
12:31
Fix the /forum page so that it links to the most recent post. file: [3a531495] check-in: [b0ae37c0] user: drh branch: trunk, size: 30345
07:21
Improved locality of a variable. No functional change. file: [5b280b25] check-in: [09103fd2] user: wyoung branch: trunk, size: 30251
07:06
Posts are now hidden on the /forum page if they're marked as private (i.e. needing moderator attention) and they were posted by another user, except when the user is a moderator.    (Closed because a different method was implemented on trunk.) file: [f7c0ac56] check-in: [779eaaae] user: wyoung branch: hide-post-if-needmod, size: 30675
06:36
Replaced a declare-and-init line pair with a single define-with-value line. No functional change. file: [013fb928] check-in: [8f47c3f6] user: wyoung branch: trunk, size: 30270
2018-08-15
20:50
Improved title on on the /forum page. file: [3339e583] check-in: [dbd96b2c] user: drh branch: trunk, size: 30286
20:41
On the main /forum screen, provide the new n= and x= query parameters to enable access to older threads. file: [a876f455] check-in: [aff20904] user: drh branch: trunk, size: 30037
20:17
On the "Recent Threads" page (/forum) show the number of messages and the duration of each thread. file: [c47abe0c] check-in: [a50dfe6f] user: drh branch: trunk, size: 29268
12:09
Change the default markup language for Forum to Markdown. file: [779c605f] check-in: [5f3cb278] user: drh branch: trunk, size: 28611
2018-08-11
19:28
Zeroed a pointer in its declaration to squish a warning from GCC 4.8.4 on Ubuntu 14.04 about use of a potentially uninitted pointer. I don't think it's actually possible for the current code to use the pointer in the window between its declaration and first use, but I think we can afford the extra machine instruction this will cost us. (I assume newer GCCs are smart enough to analyze this situation correctly, which is why the warning hasn't been squished earlier.) file: [3c0b3664] check-in: [892781cb] user: wyoung branch: trunk, size: 28512
2018-08-10
16:51
Fix the /forum webpage so that it works even if the forumpost table does not exist in the repository. file: [d33e207b] check-in: [d73c5fd2] user: drh branch: trunk, size: 28508
2018-08-07
17:48
Fix the separate-process backoffice so that it works smoothly on linux. Still work to be done on Windows. file: [d38f5bcf] check-in: [af7d67c6] user: drh branch: fork-backoffice, size: 28415
2018-07-31
17:13
Only show the "Moderation Requests" submenu button if there exist one or more posts in need of moderation. file: [4039e670] check-in: [397c32b6] user: drh branch: forum-v2, size: 28396
17:05
Try to make moderation a little easier, as recent experience suggests that will be a big deal with the forum. file: [65d942b4] check-in: [a9e5a1ee] user: drh branch: forum-v2, size: 28373
15:49
Fix the redirect that occurs after a forum post is rejected by the moderator. file: [63f9c748] check-in: [6a667edb] user: drh branch: forum-v2, size: 28281
04:08
Add the /forum page with search and a list of recent threads. file: [4a886a05] check-in: [05105248] user: drh branch: forum-v2, size: 28061
01:03
If the user is not logged in, prompt them to do so before continuing to the forum entry pages. file: [d105e2c3] check-in: [009ca1f7] user: drh branch: forum-v2, size: 26616
2018-07-27
13:52
Separate /forumpost and /forumthread pages. file: [f0acb4ea] check-in: [2dfb8873] user: drh branch: forum-v2, size: 24799
13:29
Improvements to forum thread display. file: [6c92a162] check-in: [fd06544c] user: drh branch: forum-v2, size: 24155
2018-07-26
01:33
Automatic scroll to the specific message of the thread when calling /info on a forum message. file: [3e3625bc] check-in: [8f0e18f4] user: drh branch: forum-v2, size: 23405
01:02
Fixes to the forum hierarchical display algorithm. file: [1e370d0f] check-in: [9757488a] user: drh branch: forum-v2, size: 23379
2018-07-25
22:34
Begin adding style to the forum display. file: [2cf144b4] check-in: [8eccd9a2] user: drh branch: forum-v2, size: 22507
21:00
Hierarchical display of forum threads. file: [f085ad96] check-in: [7da12996] user: drh branch: forum-v2, size: 21543
19:00
Improved timeline messages for forum events. file: [e9398d42] check-in: [e9b13d68] user: drh branch: forum-v2, size: 13617
17:53
Further improvements to webpage_error() and webpage_assert(). Fix forum processing so that moderator approval and disapproval work. Add the "Delete" feature to forum that simply nulls out the page using an edit. file: [2e032aef] check-in: [32bbb9a9] user: drh branch: forum-v2, size: 13425
16:10
Add the website_assert() macro. Fixes to forum post editing. file: [44373807] check-in: [e67efdd7] user: drh branch: forum-v2, size: 12481
15:02
If the user has the 'D' capability and the "showqp" query parameter exists, then all query parameters are shown at the top of the webpage. Also, fix some issues with forum. file: [6af774e2] check-in: [b48068de] user: drh branch: forum-v2, size: 11129
13:48
Make forum posts visible to object_description(). Add new diagnostics visible to users with the new "D" capability. file: [55c85a47] check-in: [2883fb80] user: drh branch: forum-v2, size: 10907
13:09
Initial implementation of the forum reply screen. file: [872627bd] check-in: [c35fe945] user: drh branch: forum-v2, size: 10677
11:25
Enhance the webpage_error() routine to show the complete calling environment to authorized users. Also, continuing work on forum. file: [2dc7d9c8] check-in: [5fcf49f1] user: drh branch: forum-v2, size: 8326
2018-07-24
23:37
Forum posts appear in the timeline. The /info command displays posts. file: [17f5cd3c] check-in: [449f06c2] user: drh branch: forum-v2, size: 7272
19:44
Work toward pages to enter forum posts. This is an incremental check-in to save state and definitely does not work. file: [274f2fd6] check-in: [7b5099ea] user: drh branch: forum-v2, size: 6479
2018-07-22
18:14
Begin reimplementing the forum webpages. This is a non-functional incremental check-in. file: [c8f00986] check-in: [2b8b1894] user: drh branch: forum-v2, size: 2785
2018-06-26
11:54
Fix compiler warnings on windows. Fix the file_directory_size() function so that it works on windows. file: [0fbb5ecb] check-in: [6a7d2ad8] user: drh branch: trunk, size: 11166
2018-06-22
01:28
Fix harmless compiler warnings. file: [13cff4cd] check-in: [5fde17bb] user: drh branch: email-alerts, size: 11155
2018-06-20
01:35
Fix the mimetype selector. Improved styling of the forum display. file: [fc8ffcb6] check-in: [837b1cb5] user: drh branch: forum-brainstorm-1, size: 11272
2018-06-16
15:08
Fix minor issues with Forum editing. file: [ed2140b2] check-in: [c626d1c0] user: drh branch: forum-brainstorm-1, size: 11216
13:36
Progress toward getting the forum to actually work. This is an incremental check-in. file: [080d7f7e] check-in: [4814c41a] user: drh branch: forum-brainstorm-1, size: 10802
2018-06-15
20:48
Rough and untested implementation for forum display and reply. Add two new capabilities for posting to the forum not subject to moderation, and for the ability to edit posts from others. file: [9c9605d8] check-in: [f8927901] user: drh branch: forum-brainstorm-1, size: 8695
2018-06-14
19:17
This code demonstrates ideas on how to implement a Forum feature in Fossil. This is just ideas - it is not even a working prototype. This change was originally stashed, but then I thought it better to check it in on a branch for the historical record. file: [05f5536c] check-in: [1e363739] user: drh branch: forum-brainstorm-1, size: 3213 Added