Commit Graph

6440 Commits (5aee8d937d694dc5ae43b85c6d81ce9d268d1626)

Author SHA1 Message Date
Joey Hess 5aee8d937d bugfixes 2008-07-01 13:39:02 -04:00
Joey Hess a78a981792 attachment location
Put the attachment in a subdir of the page it's attached to,
unless that page is an "index" page.
2008-07-01 13:31:09 -04:00
Joey Hess b4296a4943 simplification 2008-07-01 13:31:03 -04:00
Joey Hess de6ed410bc reorder
canedit should fail first as it's a less expensive and harder to pass test
2008-07-01 13:22:11 -04:00
Joey Hess dbf23748dd call check_canedit
Needed to prevent uploads of locked pages as attachments.
2008-07-01 13:20:42 -04:00
Joey Hess cec45b69da bugfix; support pagetype of "0" 2008-07-01 00:43:19 -04:00
Joey Hess 4fa115fdb5 copy the attachment into srcdir 2008-07-01 00:42:42 -04:00
Joey Hess 0f8ea7ecca break out fast_file_copy 2008-07-01 00:42:23 -04:00
Joey Hess 2ca1e12c5f changelog 2008-06-30 23:38:07 -04:00
Joey Hess 49514f39f6 fix some messages 2008-06-30 23:32:08 -04:00
Joey Hess b01ee9b3b3 add an ispage limit 2008-06-30 23:17:01 -04:00
Joey Hess 622033f5d6 minor improvements 2008-06-30 23:04:37 -04:00
Joey Hess 0a37c45f32 basic attachment plugin, unfinished
Currently includes UI, and a few tests of the attachment, as well as the
framework to extend pagespecs to test attachments. Does not actually save
the file yet.
2008-06-30 22:58:33 -04:00
Joey Hess 6643db0cd2 add support for an attachment upload field
FormBuilder makes it annoyingly hard to move a submit button to a
nonstandard place. The button name has to be "_submit" or FormBuilder will
ignore it.
2008-06-30 21:29:37 -04:00
Joey Hess dbab5e9b85 disable cgi uploads earlier
This allows plugins that want to enable uploads to do so by changing the
value of $CGI::DISABLE_UPLOADS at some point before the cgi hook is run.
2008-06-30 21:13:41 -04:00
Joey Hess e1d9747be1 remove unused editpage title
The title was set to editpage, but then always changed.
And some code tested for this. Remove this dead code.
2008-06-30 20:33:39 -04:00
Joey Hess 8e43bc0e0f Configure CGI.pm to disable file uploads by default. 2008-06-30 20:01:10 -04:00
Joey Hess 23eb492c60 web commit by https://id.mayfirst.org/jamie/ 2008-06-30 15:37:38 -04:00
Joey Hess ed88d219d7 web commit by https://id.mayfirst.org/jamie/: woops - forgot the patch 2008-06-30 15:34:13 -04:00
Joey Hess 6cc12f559a web commit by https://id.mayfirst.org/jamie/ 2008-06-30 15:29:26 -04:00
Joey Hess b64ca35f8a web commit by https://id.mayfirst.org/jamie/ 2008-06-30 15:19:22 -04:00
Joey Hess c6d04bfd35 web commit by https://id.mayfirst.org/jamie/: Moving discussion to discussion page. 2008-06-30 15:18:44 -04:00
Joey Hess 822495d23f add news item for ikiwiki 2.51 2008-06-29 14:19:03 -04:00
Joey Hess 2e42045539 releasing version 2.51 2008-06-29 14:18:33 -04:00
Joey Hess 524ee496e3 remove bad link 2008-06-29 14:18:00 -04:00
Joey Hess b219656aef remove map, was added for testing and committed by accident 2008-06-29 14:15:33 -04:00
Joey Hess 92b04db883 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-06-29 14:09:52 -04:00
Joey Hess 8ab0d60271 web commit by http://ptecza.myopenid.com/: * Plural 2008-06-29 11:15:38 -04:00
Joey Hess c44ae04702 web commit by http://ptecza.myopenid.com/: * Thanks! 2008-06-29 11:02:55 -04:00
Joey Hess 4a46e91147 web commit by http://hendry.iki.fi/: feeds === sitemaps 2008-06-29 07:58:44 -04:00
Joey Hess 3bd4592326 web commit by bremner: response to Joey, segue into musing about replacing tagged addresses with pseudoheaders 2008-06-29 06:12:48 -04:00
Joey Hess b2eceeb7b9 improve wording 2008-06-28 23:13:42 -04:00
Joey Hess b66f9a1981 call format hooks when generating page previews
* toc: Revert change in 2.45 that made it run at sanitize time. This breaks
  use of toc in a sidebar.
* Call format hooks when generating page previews, thus fixing toc display
  there, as well as fixing inlins to again display in page previews, since
  it's started using format hooks. This also allows several other things,
  like embed, that use format hooks, to work during page preview time.
* Format hooks should not rely on getting an entire html document, as they
  will only get the body during page preview.
* toggle: Deal with preview mode when adding javascript.
2008-06-28 23:08:24 -04:00
Joey Hess f8fe1247bd bug 2008-06-28 22:46:12 -04:00
Joey Hess 9c41769673 idea 2008-06-28 20:50:48 -04:00
Joey Hess f26a6e152f web commit by http://bremner.myopenid.com/: cosmetic changes 2008-06-28 18:10:13 -04:00
Joey Hess 17e96f6248 web commit by http://bremner.myopenid.com/: musings about encodings 2008-06-28 18:03:52 -04:00
Joey Hess 20359c493c patch review 2008-06-28 17:16:08 -04:00
Joey Hess 00503f25cd smiley: Generate links relative to the destpage. (Fixes a reversion from 2.41.) 2008-06-28 16:58:43 -04:00
Joey Hess 1ab9eb3420 web commit by simon: link fix 2008-06-28 16:51:57 -04:00
Joey Hess c19fa8fbb0 response 2008-06-28 16:51:18 -04:00
Joey Hess 4bd101204e web commit by simon: link fix 2008-06-28 16:50:59 -04:00
Joey Hess a43b5ecf0a rm 2008-06-28 16:43:46 -04:00
Joey Hess 1bb80f7d32 web commit by simon 2008-06-28 16:42:39 -04:00
Joey Hess 1a1c0c03b1 web commit by simon 2008-06-28 16:41:23 -04:00
Joey Hess 706bcbfe66 web commit by simon: argh, horrible namespaces 2008-06-28 16:39:09 -04:00
Joey Hess e2c22608a0 web commit by simon 2008-06-28 16:38:24 -04:00
Joey Hess 0d2d780946 web commit by simon 2008-06-28 16:32:46 -04:00
Joey Hess d6933ac3a8 web commit by simon: updated darcs backend, patches welcome 2008-06-28 16:31:19 -04:00
Joey Hess ac36a6b50a web commit by simon 2008-06-28 15:23:20 -04:00