Commit Graph

5292 Commits (9d54cc4659248f9820f47a021b694405d75404a8)

Author SHA1 Message Date
Joey Hess 9d54cc4659 implement aggregate_locking design
Now aggregation will not lock the wiki. Any changes made during aggregaton are
merged in with the changed state accumulated while aggregating. A separate
lock file prevents multiple concurrent aggregators. Garbage collection
of orphaned guids is much improved. loadstate() is only called once
per process, so tricky support for reloading wiki state is not needed.

(Tested fairly thuroughly.)
2008-02-03 16:48:26 -05:00
Joey Hess 38affb0c1c add aggregate locking functions 2008-02-03 15:17:15 -05:00
Joey Hess d8d2b31692 fix broken link 2008-02-03 15:05:31 -05:00
Joey Hess ac58aa804e update po files 2008-02-03 15:02:34 -05:00
Joey Hess e57749b702 * recentchanges: Exipre all *._change pages, even if the directory
they're in has changed.
2008-02-03 14:51:03 -05:00
Joey Hess 340fe9707c * recentchanges: Improve handling of links on the very static changes pages
by thunking to the CGI, which can redirect to the page, or allow it to be
  created if it doesn't exist.
2008-02-03 14:48:20 -05:00
Joey Hess 42e5b8dfdc prototype fix 2008-02-03 14:22:25 -05:00
Joey Hess 858d955acf Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2008-02-03 13:56:34 -05:00
Joey Hess 6afbd9939a late night thoughts on fixing aggregation locking
(still seem to make sense this morning)
2008-02-03 13:56:10 -05:00
Joey Hess 6c1cb3f985 web commit by tschwinge: Another minor bug. 2008-02-03 12:18:26 -05:00
Joey Hess 58ef55c798 web commit by tschwinge: Thanks!, and a bug report. 2008-02-03 12:16:06 -05:00
Joey Hess 97dfdf8c64 web commit by http://edward.myopenid.com/: fix broken link to http://git.or.cz/gitwiki/GitFaq 2008-02-03 04:28:37 -05:00
Joey Hess 09187f83bc clear %pagestate in loadindex
This is to handle the case where loadindex is called multiple times in one run,
as when aggregating.
2008-02-03 03:25:47 -05:00
Joey Hess 1f6591f0a6 * aggregate: Revert use of forking to not save state, that was not the right
approach.
2008-02-03 03:04:19 -05:00
Joey Hess 72bbc41520 rm 2008-02-03 00:32:38 -05:00
Joey Hess 89000b48f3 Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2008-02-03 00:32:15 -05:00
Joey Hess f77de93291 web commit by http://joey.kitenet.net/: poll vote (It's too slow!) 2008-02-03 00:30:38 -05:00
Joey Hess 1992d87153 web commit by http://joey.kitenet.net/: poll vote (No opinion) 2008-02-03 00:30:06 -05:00
Joey Hess 0dd4fb5d36 web commit by http://joey.kitenet.net/ 2008-02-03 00:29:17 -05:00
Joey Hess 9f60272831 * poll: This plugin turns out to have edited pages w/o doing any locking.
Oops. Convert it from a cgi to a sessioncgi hook, which will work
  much better.
2008-02-03 00:26:00 -05:00
Joey Hess 80915c830a * cgi hooks are now run before ikiwiki state is loaded.
* This allows locking the wiki before loading state, which avoids some
  tricky locking code when saving a web edit.
2008-02-03 00:23:04 -05:00
Joey Hess 77fc69f4ee web commit by http://joey.kitenet.net/ 2008-02-03 00:10:28 -05:00
Joey Hess 7a7794c72e test3 2008-02-03 00:08:30 -05:00
Joey Hess 293b5558cb web commit by http://joey.kitenet.net/ 2008-02-03 00:07:24 -05:00
Joey Hess 8f18699fe2 web commit by http://joey.kitenet.net/ 2008-02-03 00:07:00 -05:00
Joey Hess 1ef7d6de12 thoughts on mtime setting 2008-02-03 00:02:49 -05:00
Joey Hess 0779013683 * aggregate: Forking a child broke the one state that mattered: Forcing
the aggregating page to be rebuilt. Fix this.
2008-02-02 23:56:13 -05:00
Joey Hess 06841ed6b3 Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2008-02-02 23:41:33 -05:00
Joey Hess 6a7c3d1209 * Revert preservation of input file modification times in output files,
since this leads to too many problems with web caching, especially with
  inlined pages. Properly solving this would involve tracking every page
  that contributes to a page's content and using the youngest of them all,
  as well as special cases for things like the version plugin, and it's just
  too complex to do.
2008-02-02 23:40:57 -05:00
Joey Hess 23068244e7 web commit by http://pung96.myid.net/ 2008-02-02 21:51:01 -05:00
Joey Hess 09e7c15ed6 web commit by cva: test page creation 2008-02-02 21:33:31 -05:00
Joey Hess 4569ae8ec0 web commit by cva 2008-02-02 21:27:12 -05:00
Joey Hess e61cf0b7dc more formatting 2008-02-02 17:56:55 -05:00
Joey Hess c575df1657 formatting 2008-02-02 17:55:21 -05:00
Joey Hess 4820dfe4e0 cleanups 2008-02-02 17:54:42 -05:00
Joey Hess dcee011058 add news item for ikiwiki 2.30 2008-02-02 17:52:29 -05:00
Joey Hess 05e180096c Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2008-02-02 17:51:47 -05:00
Joey Hess e3c21fd5e8 releasing version 2.30 2008-02-02 17:51:04 -05:00
Joey Hess 3e085d938a web commit by http://joey.kitenet.net/ 2008-02-02 17:49:05 -05:00
Joey Hess 07abbabd6a remove mention of commit mails 2008-02-02 17:41:06 -05:00
Joey Hess 4e72736fe0 Revert "web commit by AdamMeyars"
This reverts commit e32772dd1b.

Spam. Welcome the the banlist, "AdamMeyars".
2008-02-02 17:31:44 -05:00
Joey Hess e32772dd1b web commit by AdamMeyars 2008-02-02 12:42:10 -05:00
Joey Hess 374b8c413f web commit by http://edward.myopenid.com/: correct spelling mistakes and vote 2008-02-02 09:38:27 -05:00
Joey Hess 965efbb441 web commit by http://perolofsson.myopenid.com/ 2008-02-02 06:59:00 -05:00
Joey Hess c6d223bdd0 web commit by http://perolofsson.myopenid.com/: add title 2008-02-02 06:55:26 -05:00
Joey Hess 7f17dad399 web commit by http://perolofsson.myopenid.com/ 2008-02-02 06:54:06 -05:00
Joey Hess bc119adc11 web commit by http://willu.myopenid.com/: doxygen support wishlist entry 2008-02-01 18:42:06 -05:00
Joey Hess a9da9fcd25 web commit by http://users.itk.ppke.hu/~cstamas/: typo 2008-01-31 17:05:29 -05:00
Joey Hess 6e639dccd1 web commit by http://users.itk.ppke.hu/~cstamas/: add unaccent todo and link to patch 2008-01-31 17:04:45 -05:00
Joey Hess 3f8858445c web commit from 134.2.66.50: poll vote (It's fast enough) 2008-01-31 08:29:03 -05:00