Commit Graph

12279 Commits (b66f9026177639d06ebbd1134886d37e2451b3a8)

Author SHA1 Message Date
Joey Hess af85f62d6f linkmap: Use a combination of presence and link dependencies.
This makes the map be regenerated much less frequently, so larger maps are
more practical to use now.
2009-10-06 17:47:10 -04:00
Joey Hess 2494a23fdd fix handling of links+content dependency
Such a dependency is unlikely, but can happen.
2009-10-06 04:45:57 -04:00
Joey Hess 2a0e6b782c refactor 3
Only left one new global
2009-10-06 02:00:34 -04:00
Joey Hess 96b1f95192 refresh refactor 2
killed one global
2009-10-06 00:10:20 -04:00
Joey Hess 577eed0e7e split up refresh
I'd rather have the global variables than the 300 line function
2009-10-05 23:54:29 -04:00
Joey Hess 9f4c5d2466 new todo 2009-10-05 22:59:33 -04:00
Joey Hess 534518792d update 2009-10-05 22:30:14 -04:00
Joey Hess fd7b5767d3 new link change detection method and general code rework
This new method for determining when links on pages
have changed should be more efficient, since it avoids
double calculation of the bestlinks.

It also allows collecting data about the old links, before
the scan pass, so the data is accurate when pages move around
and bestlinks change.

Also got some code back to a saner indent level.
2009-10-05 22:21:25 -04:00
Joey Hess 0cb9e588e4 add among limit to pagestats 2009-10-05 21:24:02 -04:00
Joey Hess 7a520974b5 uh oh, this affects link deps 2009-10-05 17:44:15 -04:00
Joey Hess cdd7334c31 close 2009-10-05 17:15:37 -04:00
Joey Hess 4dd289ba31 fixed a while ago 2009-10-05 17:12:38 -04:00
Joey Hess 7ee7773e2a Merge branch 'master' into dependency-types 2009-10-05 17:11:08 -04:00
Joey Hess bf10130165 close 2009-10-05 17:11:03 -04:00
Joey Hess ba71687077 note that this old bug affects more stuff now 2009-10-05 17:10:00 -04:00
Joey Hess 031d1bf504 use among limit for correctness 2009-10-05 17:03:16 -04:00
Joey Hess a4df28f42a add rebuild handing 2009-10-05 16:51:33 -04:00
Joey Hess f1864a64ee typo 2009-10-05 16:48:15 -04:00
Joey Hess ff2aa982c3 Merge branch 'master' into dependency-types 2009-10-05 16:47:40 -04:00
Joey Hess 786dcf15c4 responses, questions, ideas 2009-10-05 16:47:12 -04:00
Joey Hess 34c72f2162 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-05 16:19:58 -04:00
Joey Hess 4b2eaac156 response 2009-10-05 16:18:54 -04:00
http://smcv.pseudorandom.co.uk/ 3a188c047b thoughts about renaming the actual images to .albumimage 2009-10-05 16:08:19 -04:00
Joey Hess c21f9e7093 pagestats: Use a combination of precense and link dependencies.
This makes it more efficient.

It also fixes the same bug that I fixed in orphans recently,
that only changes to the set of displayed pages were considered (or amoung),
which missed changes to links on other pages to those.

Probably this bug was never noticed because pagestats is most often put
on a blog type page, which gets updated anyway when posts change,
and thus the tag cloud was updated.
2009-10-05 15:44:26 -04:00
Joey Hess c869398e2b typo 2009-10-05 15:43:37 -04:00
Joey Hess 61a36de432 closures 2009-10-05 15:40:18 -04:00
Joey Hess e7144e918f clarify amoung
I found it really hard to understand from the old description..
2009-10-05 15:36:51 -04:00
Joey Hess f7d04d1067 switch plugins page to use a map instead of an inline
A map just seems a better fit for reference, since it deliniates the
contrib plugins better, and orders better.

It also has the advantage of being less expensive, since the plugins page
does not need to update when eg, the pagecount page changes.

Only downside is, no rss feed of new plugins. Which I know a few people
were subscribed to.
2009-10-05 15:26:15 -04:00
Joey Hess d6cdced589 fix documentation of quick
It *always* turns off feeds, because feeds require a look
at all pages.
2009-10-05 15:22:17 -04:00
Joey Hess dc6fab3824 syntax 2009-10-05 15:17:36 -04:00
Joey Hess fc864515b8 omit forum and javascript from list 2009-10-05 15:16:14 -04:00
Joey Hess 7123178732 oprhans: Use a combination of precense and link dependencies.
This makes it more efficient.

It also fixes a longstanding bug, where if only a small set of pages were
considered by orphans, changes to links on other pages failed to cause an
update.
2009-10-05 15:14:18 -04:00
Joey Hess f41caf57ea use links dependency 2009-10-05 15:09:09 -04:00
Joey Hess 846026b20b update 2009-10-05 15:08:57 -04:00
Joey Hess c6bf4228d5 make links dependencies fire if broken links change 2009-10-05 15:01:05 -04:00
Joey Hess e96992bbc8 fix add_depends to new api 2009-10-05 14:33:42 -04:00
Joey Hess 666a9613a1 implement links dependencies
Involved some code refactoring so that same code that detects
link changes for backlinks updating can be used for link dependency
checking. The nice thing is that link dep checking is thus
comopletly free!
2009-10-05 14:33:23 -04:00
Joey Hess 89b65695e7 typos 2009-10-05 13:40:35 -04:00
Jon Dowland b8fae0ec39 another UI issue I'm interested in 2009-10-05 15:27:41 +01:00
Jon Dowland bccea01c07 would you accept patches for this? 2009-10-05 15:27:03 +01:00
Jon Dowland 204e733d79 good work, thank you! 2009-10-05 15:17:11 +01:00
Joey Hess 36c605cada add test suite for add_depends
and found a bug in my bitmath..
2009-10-04 23:27:00 -04:00
Joey Hess d3e0a54344 Merge branch 'master' into dependency-types 2009-10-04 20:37:09 -04:00
Joey Hess bcad00b046 update, add spec for link dependencies 2009-10-04 20:35:26 -04:00
Joey Hess d797b9ab0e remove /i from regexp
Nothing case-oriented going on in here.
2009-10-04 20:35:02 -04:00
Joey Hess d0f116478c update 2009-10-04 20:34:43 -04:00
Joey Hess be032a7b87 rework dependency types code
Simplify, change default content depends number to 1,
change interface to make more sense.
2009-10-04 20:30:21 -04:00
Joey Hess b4c8cc9072 update 2009-10-04 17:38:10 -04:00
Joey Hess b0314296a8 update 2009-10-04 16:40:36 -04:00
Joey Hess 4a20402ba0 update 2009-10-04 16:36:39 -04:00