Commit Graph

6749 Commits (50a5ab3c4e1db5beb18d86873143e7715fd5b27e)

Author SHA1 Message Date
Joey Hess 0ffcafc130 attachment doc updates 2008-07-01 17:54:23 -04:00
Joey Hess c1e9e121b7 basic attachment list 2008-07-01 17:19:38 -04:00
Joey Hess 14cb2b0869 save attachments when page is saved too
A user might specify an attachment, but not click the upload button,
and just save the whole page instead.
2008-07-01 16:13:47 -04:00
Joey Hess 1405006fbf check attachments in and refresh 2008-07-01 15:35:01 -04:00
Joey Hess 19749d0c5b web commit by http://liw.fi/: commented on ü and ikiwiki 2.50 2008-07-01 14:29:35 -04:00
Joey Hess e87c3ae6df add allowed attachments field to admin prefs 2008-07-01 14:02:30 -04:00
Joey Hess 00962f589a minor optimisation 2008-07-01 13:51:22 -04:00
Joey Hess d7ca2f8f9b fix expensive move code path 2008-07-01 13:48:07 -04:00
Joey Hess 7cd40ea4eb better approach for cgi upload disabling
Make it a config setting, this way subtle load order issues don't come into
play. (As much?)
2008-07-01 13:43:32 -04:00
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