Commit Graph

17977 Commits (a46779a65b431b0060abbcec3600af18111e6371)

Author SHA1 Message Date
https://id.koumbit.net/anarcat 71d744d56c this plugin even works, and it is awesome. 2013-11-29 03:44:21 -04:00
https://id.koumbit.net/anarcat 47325c33dd some more ideas 2013-11-29 03:16:32 -04:00
https://id.koumbit.net/anarcat 62e16c41f5 a new bug 2013-11-29 03:11:36 -04:00
https://id.koumbit.net/anarcat 5a148e5f3a fixed in 3.20130711, maybe backport? 2013-11-29 02:36:21 -04:00
Antoine Beaupré cda64f643e i rebased all my branches to the latest release and renamed some branches, 2 bugs still await merging to be fixed 2013-11-29 01:30:29 -05:00
https://id.koumbit.net/anarcat 4757ee1ab7 2013-11-29 02:01:14 -04:00
https://id.koumbit.net/anarcat 7b90d9d55b indicate origin of the copy-paste 2013-11-29 02:00:43 -04:00
https://id.koumbit.net/anarcat ea33ebfc69 i believe showdown is free, yet WMD is clearly not, let's switch! 2013-11-29 01:59:05 -04:00
https://id.koumbit.net/anarcat 010855ae26 move pagedown conversation to the pagedown_plugin page 2013-11-29 01:54:12 -04:00
https://id.koumbit.net/anarcat 3e4350a4ef move conversation about licenses here 2013-11-29 01:53:11 -04:00
https://id.koumbit.net/anarcat 65c4c8ee77 2013-11-29 00:46:50 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlSFgIlytGZgMLh_Cw4IA011V8pLKk5dVg 426ed67b32 Start of thread 2013-11-28 17:19:13 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlSFgIlytGZgMLh_Cw4IA011V8pLKk5dVg 1159e4de07 Move to forum 2013-11-28 17:17:33 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlSFgIlytGZgMLh_Cw4IA011V8pLKk5dVg 2bb08aa589 Possible code for converting static assets 2013-11-28 16:56:28 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlSFgIlytGZgMLh_Cw4IA011V8pLKk5dVg 888fc6b2c3 Questions about transforming binary assets 2013-11-28 14:10:11 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlSFgIlytGZgMLh_Cw4IA011V8pLKk5dVg 115caedf96 Note 'xapian-omega' package 2013-11-28 11:20:44 -04:00
Antoine Beaupré c44d59a5f6 make dot_cgi clearly optional 2013-11-26 00:15:52 -05:00
Antoine Beaupré 9a008cc243 fix error in git_wrapper path i introduced 2013-11-26 00:14:14 -05:00
Antoine Beaupré b2cce39036 be more explicit about which options to configure on your laptop 2013-11-26 00:08:21 -05:00
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