Commit Graph

17958 Commits (5e741c434d72218f1608876d23b2ccd321955e11)

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawlYiXmRWVkntHp5khnWu3ooHBBf2d2juEQ 96b3448677 Remove jamestechnotes.com from index as it now uses org-mode instead. 2013-11-25 18:28:56 -04:00
RichardDaystrom 997e0071cf Changed `url` to `URL`. ;) 2013-11-24 22:29:36 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmp3ie1UcctC3m7Sm2u-NXWXifLNSzOuWs 32973a053b question about removing display of tags at bottom of page 2013-11-24 18:14:51 -04:00
http://smcv.pseudorandom.co.uk/ 1a990b26c7 Added a comment 2013-11-22 05:03:49 -04:00
http://smjn.myopenid.com/ 85c0a04040 2013-11-21 23:57:13 -04:00
Franek a6018f13fa 2013-11-20 02:42:22 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkwqKsWfFCk-NK99S77R2v1JorVCnpzXUA c228f21c6f Added a comment: site participation 2013-11-18 17:51:00 -04:00
Joey Hess 00629adcea Merge branch 'master' of ssh://git.ikiwiki.info 2013-11-18 16:37:58 -04:00
Joey Hess 6d95bd7e02 typo 2013-11-18 16:35:51 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkwqKsWfFCk-NK99S77R2v1JorVCnpzXUA 7a4c15aebb 2013-11-18 13:06:21 -04:00
Joey Hess 6e2d7735c5 Merge branch 'master' of ssh://git.ikiwiki.info 2013-11-18 11:18:13 -04:00
https://www.google.com/accounts/o8/id?id=AItOawk_ptms9fP_S8unm2OlnsNGX1bb7QEpQ8w f5ba29913c 2013-11-18 06:53:58 -04:00
Franek 587c7499ab 2013-11-18 05:11:04 -04:00
Franek 17fd529ca1 2013-11-18 05:10:25 -04:00
Franek 9c69f0f913 2013-11-18 05:07:09 -04:00
Joey Hess b48f616b7d typo 2013-11-17 16:39:50 -04:00
Joey Hess 002a97ffcd search: Added googlesearch option, which makes it search google rather than using the internal xapain database. (googlesearch plugin is too hard to turn on when xapain databases corrupt themselves, which happens all too frequently). 2013-11-17 16:37:18 -04:00
Joey Hess 5e5f602782 update with new features to deal with large sites 2013-11-17 15:25:38 -04:00
Joey Hess e918b6e01a note cgid 2013-11-17 15:18:36 -04:00
Joey Hess 81aa58e7ca comments: Write pending moderation comments to the transient underlay to avoid conflict with only_committed_changes. 2013-11-17 13:07:00 -04:00
Joey Hess e11a87acfa autoindex and tag use transient underlay when not committing, so do not need to disable only_committed_changes 2013-11-17 12:51:20 -04:00
Joey Hess 7dd110ba51 disable only_committed_changes when uncommitted files are created by plugins 2013-11-17 00:04:05 -04:00
Joey Hess 3cc260c775 minor opt 2013-11-16 20:51:09 -04:00
Joey Hess 49e0841ad5 guard against lastrev being "" just in case 2013-11-16 20:49:57 -04:00
Joey Hess 441002e3e6 deal with the case where oldrev is the same as newrev 2013-11-16 20:48:23 -04:00
Joey Hess 727d39b92a fix eq 2013-11-16 18:56:39 -04:00
Joey Hess 654530fa8b Added only_committed_changes config setting, which speeds up wiki refresh by querying git to find the files that were changed, rather than looking at the work tree. Not enabled by default as it can break some setups where not all files get committed to git. 2013-11-16 17:26:20 -04:00
Joey Hess 3aaa33064c Optmised loadindex by caching the page name in the index.
I have benchmarked the pagename() call this avoids taking up to 2 seconds
for a loadindex in a large wiki. The total loadindex for that wiki was
6.46s, so this is a significant improvment.
Even on a smaller site, this reduces the refresh time from 1.69 to 1.52
seconds.

The only breakage risk here is that pagename() can change the page name
it calculates due to setup changes. But in the case of a setup change, the
whole site is rebuilt. So the cached page name is not used in that
case.
2013-11-16 12:48:11 -04:00
Joey Hess fae7ed1429 remove test for page state saved for disabled plugin
My change did cause this state to be retained. I hope this is not a
problem.

Afaik, plugins test if they were disabled before by looking at the toplevel
plugin state, not the per-page plugin state. So the only remaining problem
might be

a) A plugin is disabled but its state keeps being saved. Which is not
   ideal, perhaps, but the large speedup of my optimisation seems worth it.
b) A plugin might have been enabled, be disabled, and get re-enabled, and
   see old state from before. I don't see how this would be different from
   the plugin seeing any other old state, though, so hopefully no breakage.

My optmisation looks a little more risky, but I still hope I can keep it.
2013-11-16 12:43:46 -04:00
Joey Hess 992d4f52ff Fixed unncessary tight loop hash copy in saveindex where a pointer can be used instead. Can speed up refreshes by nearly 50% in some circumstances.
I *think* this is ok, at least it results in close to the same index being
saved as before. The difference is that plugins that have a pagestate of {}
have that recorded this way, while with the tight loop, the key for the
plugin in not copied in that case. I cannot see how this could matter.
2013-11-16 12:28:01 -04:00
Joey Hess 38aebbdc06 major optimisation idea 2013-11-16 12:05:43 -04:00
Joey Hess 2f8bafb709 poll: Fix behavior of poll buttons when inlined. 2013-11-13 22:06:02 -04:00
Joey Hess 5ec2d2d40d Merge branch 'master' of ssh://git.ikiwiki.info 2013-11-13 20:55:42 -04:00
Joey Hess 1a8b4211c2 bug 2013-11-13 20:55:01 -04:00
https://id.koumbit.net/anarcat 62483fe5ca related ideas 2013-11-13 19:51:03 -04:00
Joey Hess 355569327b Merge branch 'master' of ssh://git.ikiwiki.info 2013-11-11 11:51:25 -04:00
ehj 141f5f5e91 mailto test 2013-11-11 04:39:22 -04:00
Joey Hess 85c1479a29 Merge branch 'master' of ssh://git.ikiwiki.info 2013-11-08 14:33:05 -04:00
http://smcv.pseudorandom.co.uk/ 3500632a49 revert spam
This reverts commit 5cf53ae0a9
2013-11-08 05:33:04 -04:00
http://smcv.pseudorandom.co.uk/ 1710dce06a escape markup 2013-11-08 05:30:48 -04:00
jimmy 5cf53ae0a9 2013-11-07 06:23:30 -04:00
hugo faa2d689e6 2013-11-06 12:57:14 -04:00
hugo 6914b975b8 proposal about class parameters for toggle 2013-11-06 12:56:20 -04:00
Joey Hess 53bf8ec710 Merge branch 'master' of ssh://git.ikiwiki.info 2013-11-06 10:51:45 -04:00
spalax 520faae54f How can one highlight recent changes diff? 2013-11-06 10:06:44 -04:00
http://jmtd.livejournal.com/ d8dd6e5692 thanks 2013-11-06 09:56:48 -04:00
waf 6af39252ce 2013-11-06 06:05:43 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlUQVv1tLm_aWTKoX36OqxUUkyowomdt4E 7414926a02 Added a comment: recipe 2013-11-06 03:50:27 -04:00
https://tincho.startssl.com/ f54b33b895 Added a comment 2013-11-05 15:36:05 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E b9f3e48d91 Added a comment 2013-11-05 15:18:30 -04:00