Commit Graph

10988 Commits (7cb620d0e8ed922184d3f1cc38d849665cf8d742)

Author SHA1 Message Date
Joey Hess 7cb620d0e8 img: Fix dependency code for full size images.
I had assumed that an image shown full size did not need add_depends, since
a change would not need a change to the displaying page.

But this is not true if the image is modified and its size changes. Then
the page needs to update its img tag to reflect the current size.
2009-09-27 20:57:27 -04:00
Joey Hess f42215cb65 img: Correct bug in image size calculation code.
If an image was resized smaller, with width and height specified to values
that did not fit its aspect ratio, the image tag with/height were not
adjusted to the actual size imagemagick chooses.

This was broken by 03449610d6.

To fix it right, it unfortunatly needs to always read the src image now,
in order to determine if the image is being displayed larger, or resized
smaller. When resized smaller, it then always uses the size of the
thumbnail, while for larger it calculates the size.

(Only way to get rid of this sometimes extra image read would be to change
it to not allow displaying images larger.)
2009-09-27 20:53:02 -04:00
Joey Hess 1a366910d3 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-09-27 18:34:50 -04:00
Joey Hess 2acaa15830 parentlinks: Add has_parentlinks template parameter to allow styling the toplevel index differently etc. 2009-09-27 18:29:16 -04:00
http://certifi.ca/lunix ba4071bde2 updated with nginx solution 2009-09-27 18:06:19 -04:00
http://certifi.ca/lunix bfad3f23d0 rename forum/missing_pages_redirected_to_search.mdwn to forum/missing_pages_redirected_to_search-SOLVED.mdwn 2009-09-27 18:05:52 -04:00
http://bruno.boulgour.com/ 40947d522c 2009-09-27 16:49:43 -04:00
http://bruno.boulgour.com/ 362033885f 2009-09-27 16:48:04 -04:00
http://bruno.boulgour.com/ 217141eb1a 2009-09-27 16:43:50 -04:00
http://openid2.kisikew.org/simonraven 3440a015ba 2009-09-26 15:05:57 -04:00
http://openid2.kisikew.org/simonraven cd296bb776 2009-09-26 15:02:52 -04:00
121.21.240.138 490b17dc15 poll vote (Accept only OpenID for logins) 2009-09-25 23:25:19 -04:00
95.88.220.68 5b14129e0b poll vote (Accept only password logins) 2009-09-25 18:59:26 -04:00
Joey Hess 1c04440018 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-09-25 17:03:21 -04:00
Joey Hess 9d96253d2b add comments page to example blog, listing all comments 2009-09-25 15:41:13 -04:00
http://smcv.pseudorandom.co.uk/ be47e501c3 reply to potential album user 2009-09-25 14:19:49 -04:00
David Riebenbauer 9106d3218c fix email address linking 2009-09-25 06:48:39 +02:00
David Riebenbauer 0b0116cb98 create myself a user page
and link from my signatures so far
2009-09-25 06:37:15 +02:00
Joey Hess 9540b7e571 add news item for ikiwiki 3.14159265 2009-09-24 19:05:58 -04:00
Joey Hess 095a385c99 releasing version 3.14159265 2009-09-24 19:04:42 -04:00
NicolasLimare 655e2ddc1f images are not always scaled *down* 2009-09-24 06:22:13 -04:00
Joey Hess 34991b7d35 otl: Avoid globally filtering non-otl pages
Through a complex chain of circumstances, that filtering was causing
dumpsetup to trigger undefined warning messages from the po plugin. But
anyway, munging the otl in htmlize is less error-prone and less expensive,
a win all around.
2009-09-23 15:11:51 -04:00
Joey Hess 3f5a646a41 avoid ugly messages when running ikiwiki -setup on a *directory* 2009-09-23 14:56:18 -04:00
Joey Hess 01a9a12bbf auto.setup, auto-blog.setup: Fix sanitization of entered wikiname. Closes: #547378 2009-09-23 13:46:32 -04:00
Joey Hess 82ad4f57d6 response 2009-09-23 13:33:15 -04:00
brush bac0174b78 installation attachments q's 2009-09-22 18:49:03 -04:00
http://kaizer.se/ 92b3be2f3e rst-wikilinks uses 'htmllink' 2009-09-22 17:17:11 -04:00
http://kaizer.se/ d163b06cd6 What is missing: Create-links, htmllink 2009-09-22 07:52:10 -04:00
http://kaizer.se/ c399f65b62 a remark about pproc-indent: I'm not a perl coder. 2009-09-21 19:39:03 -04:00
Ulrik Sverdrup 254046edcb Posting patch series for rst Wikilinks and Preproc indent 2009-09-21 23:50:42 +02:00
http://bob-bernstein.myopenid.com/ d51ea7ae56 2009-09-19 23:53:58 -04:00
http://bob-bernstein.myopenid.com/ 76871bb052 2009-09-19 20:37:27 -04:00
http://davrieb.livejournal.com/ 8ae7356b09 some script cleanup 2009-09-19 19:46:06 -04:00
http://certifi.ca/lunix 3b33b3cc3f question about using 404 and search 2009-09-19 05:32:22 -04:00
http://davrieb.livejournal.com/ f8bc52eea3 fix a typo and remove commneted out ctime line 2009-09-19 01:49:16 -04:00
http://davrieb.livejournal.com/ 6c4a2a88a8 2009-09-19 01:45:55 -04:00
http://kaizer.se/ ada46376cc Toggle inserts javascript in wrong place 2009-09-18 20:07:34 -04:00
Ulrik Sverdrup 18151b8152 about default-role 2009-09-18 20:07:18 +02:00
Ulrik Sverdrup 25eafa8522 Refactor, and Propose :wiki: syntax for rST wikilinks 2009-09-18 16:46:41 +02:00
Ulrik Sverdrup 5cd338fe16 escape markup (oops) 2009-09-18 16:10:43 +02:00
Ulrik Sverdrup e19d0c5bbd on caching 2009-09-18 16:08:16 +02:00
http://kaizer.se/ 2fc62b2787 raw escape with roles 2009-09-17 16:44:33 -04:00
http://kaizer.se/ b7db2ca37f word use, equivalent is better. 2009-09-17 15:42:34 -04:00
http://kaizer.se/ fc1cc57cdc about replacements in rst (renaming links) 2009-09-17 15:38:40 -04:00
Joey Hess 28f893d120 reduce name to \w+ so gitremotes will parse it 2009-09-17 12:45:04 -04:00
Joey Hess 356188f7c6 response 2009-09-17 12:42:40 -04:00
http://kaizer.se/ 4707126184 The page is rST-parsed once in 'scan' and once in 'htmlize' (the first to generate backlinks). Can the parse output be safely reused? 2009-09-17 12:07:23 -04:00
http://kaizer.se/ 5946a54ec7 see Resolve native reStructuredText links to ikiwiki pages 2009-09-17 11:33:12 -04:00
http://kaizer.se/ b9d2ee880c Resolve native reStructuredText links to ikiwiki pages 2009-09-17 11:29:23 -04:00
http://kaizer.se/ 628f07f4c8 add repo with one patch 2009-09-17 11:18:19 -04:00