CVSTrac Legacy Code

Timeline
Login

Timeline

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

50 ancestors of 2845a5cc32fb7512

2011-09-13
21:59
Add the www/index.html document. (check-in: 2845a5cc32 user: drh tags: trunk)
21:48
Add the "directory:" and "project:" lines to the CGI invocation file to allow operation from a chroot CGI without access to a shell. (check-in: 27a4d13d4f user: drh tags: trunk)
2011-02-18
13:43
(#823) MAX() isn't a good function to use on numeric values stored as text. "Force" fields to numbers first. (check-in: d199007454 user: cpb tags: trunk)
2010-11-26
15:55
(#822) add a secondary sort by date as default. Adding a "Sort by date"/"Sort by Relevance" toggle should be trivial from here. (check-in: d339dba99a user: cpb tags: trunk)
2009-12-23
14:03
check for valid ticket and cn before trying to output anything (check-in: 7b0e1f76c7 user: cpb tags: trunk)
14:03
oops... make sure it's a valid ticket number (check-in: 79dd28a1ad user: cpb tags: trunk)
2009-12-09
15:42
minor fixups to the RSS HTML, cleans up inspections a touch (check-in: d3b0aa6518 user: cpb tags: trunk)
2009-12-06
15:57
(#789) searching on a ticket or checking number in the appropriate format will take the user directly to the appropriate page. Implemented =is_ticket()= and =is_chng()= functions to simplify the process and use them in /cvstrac/format.c as well. (check-in: 167d2fdefd user: cpb tags: trunk)
2009-10-24
11:23
(#810) identify milestones in the ticket history (check-in: c0f2ef4f33 user: cpb tags: trunk)
2009-06-19
13:56
(#802) oops, we don't use that yet, if ever. (check-in: 4277e77c9b user: cpb tags: trunk)
2009-06-04
16:42
(#800) end transaction when no GIT repo defined (check-in: 0991d26569 user: cpb tags: trunk)
2009-05-15
21:59
(#39) diff coloring using DIVs and stylesheets classes =diffx= where =x= is *h*eader, *c*hunk, *t*ext, *a*dded, *r*emoved (check-in: 864223dd4b user: ono tags: trunk)
13:55
(#797) make sure we get latest change date relative to specified directory (check-in: 1bdc8232d2 user: ono tags: trunk)
12:32
*: Download tarball is now directory browse action, rather than separate link *: Tarball now contains version and subdirectory only if necessary *: Determines modification date using filechng table *: Subversion now fixed for UNIX environment, also supports pure =tar=, =tar.gz= and =tar.bz2= *: GIT implementation using =git archive= (check-in: 8c8238f05e user: ono tags: trunk)
2009-05-14
12:25
(#799) properly escape %%. (check-in: dab276db97 user: ono tags: trunk)
12:11
(#534, #567) ensure we are not sending Content-Length with value of 0 (zero), that may happen on some actions and confuse browsers. (check-in: 73773e45d3 user: ono tags: trunk)
12:01
(#798) Remove trailing spaces from rlog Author/Committer names, drop Commiter info if is the person as Author. (check-in: e811e9226a user: ono tags: trunk)
11:48
(#797) download current folder as tarball feature, structure for all SCM, Subversion implementation trough =svntar=. (check-in: 0538777a0b user: ono tags: trunk)
11:22
(#740) take the SRCDIR path from the platform.mk file placement, a do not hardcode SRCDIR anymore. (check-in: 586b227c9a user: ono tags: trunk)
2009-03-27
23:53
some style cleanups, get rid of unused variables, etc. (check-in: d8dd0972d4 user: cpb tags: trunk)
13:40
add support for incoming {link:http://trac.edgewall.org/wiki/InterTrac InterTrac} links. This allows Trac sites to reference CVSTrac objects most naturally.

Outgoing InterTrac links _from_ a CVSTrac install can be accomplished with custom markup, as in:

{quote:%x}

which would be referenced via something like:

{quote:{<markup>: ticket:451 #451}} {quote:{trac: wiki:InterTrac InterTrac}}
(check-in: ede2546f24 user: cpb tags: trunk)
2009-03-14
02:07
(#791) fine tune the report RSS output. This makes it reasonably functional, although I'm not entirely happy with how dates are(n't) managed. (check-in: 340df5c3bf user: cpb tags: trunk)
2009-03-13
02:22
(#783) direct inspections to the appropriate positions in chngview from both the timeline, RSS, as well as after sumitting them. (check-in: 3b02e5ca7d user: cpb tags: trunk)
02:00
(#783) when we append to a ticket we get bounced back to the ticket view. Might as well get bounced back to the anchor we just added. (check-in: fb194a19a2 user: cpb tags: trunk)
2009-03-10
03:06
(#791) first stab at a generic report RSS feed. Item titles need some fine tuning and there's no way to determine dates, but otherwise it seems sane. (check-in: afb2fee9b7 user: cpb tags: trunk)
01:19
the dashed-forms of the git commands are now not reliably avaiable. (check-in: ec1de0af03 user: cpb tags: trunk)
2009-03-08
00:14
(#791) allow individual pages to have their own RSS feeds

This means we need to allow generic RSS substitutions in the header. To that end, we add %R for the URL and %F for the title (a distinct feed needs a distinct title).

Figuring out whether a page has its own RSS feed is done by looking for an "RSS" entry in the action bar. The title is built from the project name and the current page title.

Then, to override the default (timeline) RSS feed on any given page, it's just a matter of doing something like:

common_add_action_item(mprintf("tkthistory.rss?tn=%d",tn), "RSS");

and the header output logic will just pick it up. (check-in: c72535f17c user: cpb tags: trunk)

2009-03-07
00:42
(#231) ditch the opaque class names like "border2" and "bkgnd1" and replace with more meaningful class names, and related cleanups. (check-in: 64a9390abe user: cpb tags: trunk)
2009-03-06
03:06
(#177) makes HTML entities _work_ in wiki markup and (maybe) other places

In order to allow it to work in both normal web browsing and the encoding needed for RSS (where we _need_ to encode even entities), I modified htmlize (%h) to take an "allow entities" flag, and added a new %R formatting option which disables this flag. %R is used by the RSS formatter to do the final content generation. This means anywhere wiki content is allowed someone can write é and, apparently, it works.

Keep in mind that I don't normally use anything except ASCII in my day-to-day environment, so someone who cares about this stuff should maybe test it out a bit more than myself. (check-in: 14e235cdd5 user: cpb tags: trunk)

2009-03-02
00:07
(#787) append/add remarks should be hidden for users without ticket write permissions (check-in: 10e5c9bba7 user: cpb tags: trunk)
2009-02-25
02:04
(#786) ensure local attachments links from the {quote:{image:}} tags aren't broken in the RSS feed. This requires adding an appropriate page id to the formatting calls. (check-in: 4149691655 user: cpb tags: trunk)
2009-02-19
03:38
(#783) when dealing with remarks in the timeline, break them out separately and (try to) link directly to a new remark in the ticket. This won't work perfectly when dealing with direct edits to the remark field, but for normal use it should be fine. (check-in: 743d4611de user: cpb tags: trunk)
03:23
(#783) generate the link to appended remarks by targetting what should be the anchor. Doing so from the timeline will be a little more complicated. (check-in: 52ecfd6559 user: cpb tags: trunk)
02:59
(#783) when appending a ticket comment, write an HTML anchor based on the change time so we can find it later. (check-in: 7c22978975 user: cpb tags: trunk)
02:33
(#781) don't run the external diff filter if the output is supposed to be _raw_ (check-in: 488fc0db1e user: cpb tags: trunk)
2009-01-17
16:31
(#777) an index on filechng(vers) speeds the update quite a bit for larger projects. (check-in: c6b04561ea user: cpb tags: trunk)
2008-12-28
15:03
(#774) make external tools work in reports (check-in: 976179c75a user: cpb tags: trunk)
2008-11-27
17:49
oops, that's supposed to be a call, not output (check-in: d78282a902 user: cpb tags: trunk)
2008-11-14
15:33
(#768) printf argument needs escaping, and it's the wrong one anyways (check-in: d04d9de48b user: cpb tags: trunk)
2008-10-29
18:45
(#766) handle missing f parameter (check-in: 4b004e65d5 user: cpb tags: trunk)
2008-10-23
16:24
we need to armour the cookie value. Otherwise, it can contain values which aren't legal in a CGI parameter name. (check-in: 89bfff7fd9 user: cpb tags: trunk)
2008-10-21
02:05
add some CSRF (http://en.wikipedia.org/wiki/Cross-site_request_forgery) prevention. It's a little over-engineered in places, but the patch itself is non-intrusive enough that this isn't a huge problem. (check-in: 8a6641cd16 user: cpb tags: trunk)
2008-10-11
01:02
(#764) _setup_ permissions should also imply wiki permissions. Simplify the Windows condition slightly. (check-in: e1b44eb962 user: cpb tags: trunk)
2008-10-09
22:59
(#764) merge [1010]: don't use CGI output stuff when we don't have a URL. This may not be needed in HEAD, but it certainly won't hurt. (check-in: d0137d8b19 user: cpb tags: trunk)
2008-09-16
15:12
Carriage returns, line feeds and tabs in the command line may make the Windows command line incomplete. (check-in: 79df195944 user: ono tags: trunk)
15:10
(#118) %c using owner when no contact specified was broken by 1.111 commit. (check-in: 5e407f9cfd user: ono tags: trunk)
14:23
(#762) fix order of month/date in output. (check-in: bf7c25aa02 user: cpb tags: trunk)
2008-09-15
14:40
Update MinGW makefiles so they work fine with latest code. (check-in: c0b4bd2396 user: ono tags: trunk)
14:36
(#761) correct project name to correct case for case-insensitive Windows (check-in: 3fa5c26da1 user: ono tags: trunk)
13:12
In order to actually _apply_ a patchset, you really want to have the relative name in the context section. Some versions of patch don't seem to want to pick it up from Index. This is fine for shallow projects (i.e. all files in one directory) but it doesn't work for deep projects. So change the rcsdiff command line so we get full relative pathnames in the patch. (check-in: 88cdf75093 user: cpb tags: trunk)
2008-06-30
21:31
(#759) when putting the id in the hidden field for deletion, use the right formatting (%h vs %t). (check-in: f6072b91dd user: cpb tags: trunk)