Commit Graph

25 Commits

Author SHA1 Message Date
Evan Prodromou
50c7e4c722 posting from a form takes you back to the same page
darcs-hash:20080619161814-5ed1f-5add55346470e71a53a676d39617062acc0f19bf.gz
2008-06-19 12:18:14 -04:00
Evan Prodromou
dd0b341b64 first steps towards new skin
darcs-hash:20080610185238-84dde-c073065f5f802be39b97a23105613fac1eeb0bea.gz
2008-06-10 14:52:38 -04:00
Evan Prodromou
a39bb63ebd add tags on creation of notices and users
darcs-hash:20080522185500-84dde-39a66d36d2c80ff57e2ab2d0274548770c4d06f7.gz
2008-05-22 14:55:00 -04:00
Evan Prodromou
55fdd0b981 move error display to save_new_notice
darcs-hash:20080521123106-84dde-2ad51d79df069cdba4102a4545640260bf5aa8b1.gz
2008-05-21 08:31:06 -04:00
Evan Prodromou
659feb5f43 correct error-handling in newnotice
darcs-hash:20080521122604-84dde-bfcfe7b2a254f19ce56054f6e4c80317ed8aaf86.gz
2008-05-21 08:26:04 -04:00
Evan Prodromou
764a391d19 validation in form handlers
Moved validation code from classes to form handlers. Probably better
in the classes, but I can't quite grok the validate() method in
DB_DataObject, so for now I'm going to do it the old-fashioned way.

darcs-hash:20080521112707-84dde-38e27199b977ae81171b8391fbdb93ebb54494f9.gz
2008-05-21 07:27:07 -04:00
Evan Prodromou
82c05d389a fixup textarea again
darcs-hash:20080520212319-84dde-27601a4e11dd6a34834f4689c316dae594d8d7e8.gz
2008-05-20 17:23:19 -04:00
Evan Prodromou
63758c59e1 reformat showstream
darcs-hash:20080520201120-84dde-4b455d4e4854454cc78be8c636a3e0c7f730b93a.gz
2008-05-20 16:11:20 -04:00
Evan Prodromou
52600ce0b0 trim whitespace
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20 15:14:12 -04:00
Evan Prodromou
3f5ededc01 call validate before saving objects
darcs-hash:20080520191032-84dde-64197121c93cd4cf3cbc614badff0bd44547f9f9.gz
2008-05-20 15:10:32 -04:00
Evan Prodromou
6f6aed8213 better forms for new theme
darcs-hash:20080520174759-84dde-7206aeef3246b2304d463b121a6b17c7f3f2f6d5.gz
2008-05-20 13:47:59 -04:00
Evan Prodromou
e70b7d3a6c add a space to textarea
darcs-hash:20080520133825-84dde-10a3623b12380f12386a8bbbe06cb130902bff8e.gz
2008-05-20 09:38:25 -04:00
Evan Prodromou
9c16a5a9ef fix calling for textarea elements
darcs-hash:20080520133220-84dde-86eed983511b6e529b49212d10338d45d3e7691e.gz
2008-05-20 09:32:20 -04:00
Evan Prodromou
2e07d5cf01 change textarea to start and end
darcs-hash:20080520133008-84dde-efc5b05e3576a56dd692f404eb028d867a7981bf.gz
2008-05-20 09:30:08 -04:00
Evan Prodromou
749178f343 better headers
Added H1 headers to all pages. Added H2 headers to sections of pages,
where appropriate.

Moved a lot of TODOs around.

Made the public stream the default if no action is specified.

darcs-hash:20080519141219-84dde-f9917a8351596060faa7ff5d231417773764a8fd.gz
2008-05-19 10:12:19 -04:00
Evan Prodromou
564694c2f1 use cast object for datetimes
darcs-hash:20080517201411-84dde-7a6195517a5bded7b84266f61c035e2adbc49edd.gz
2008-05-17 16:14:11 -04:00
Evan Prodromou
a88e18e5af fix typo in newnotice
there was a typo, and I removed it.

darcs-hash:20080517195724-84dde-9a5bbde2f8be89dbeaf255e6ae8c5f392af63c64.gz
2008-05-17 15:57:24 -04:00
Evan Prodromou
466f0489c3 fix created, messages
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
2008-05-17 15:52:01 -04:00
Evan Prodromou
8c98caef57 fix button on newnotice
darcs-hash:20080517194003-84dde-fb9334c5cfa7654d09b770132d284d5fa8d7b4ca.gz
2008-05-17 15:40:03 -04:00
Evan Prodromou
a654d63eb0 fix check for POST
darcs-hash:20080517171501-84dde-b8d6a1cc106372c9127d73442b4740f2de7e7b22.gz
2008-05-17 13:15:01 -04:00
Evan Prodromou
1a15570339 common_start_element -> common_element_start
darcs-hash:20080517170430-84dde-74f42b52695699f646b65b939f78fbbe95a05c7e.gz
2008-05-17 13:04:30 -04:00
Evan Prodromou
3b14b7901c fixes to make it all lint
Ran everything through php -l, found out that it didn't compile.

So: fixed the am-I-running-in-Laconica check at the top of each file.
Some syntax fixes in shownotice, showstream, common.

darcs-hash:20080517154701-84dde-8d38da89c5b9cb3b40704adb04a4de880c204181.gz
2008-05-17 11:47:01 -04:00
Evan Prodromou
2d58199266 more twiddling
Placeholder for broadcasting notice updates.

Fixup the local url function to include server and path.

Add server and path to configuration array.

Make new notice 303 redirect to shownotice.

Make redirects work.

Add link in streams to notices.

darcs-hash:20080517144642-84dde-c267a6e3bb0717ad5a3a819a7cf65fdd5817ea8e.gz
2008-05-17 10:46:42 -04:00
Evan Prodromou
b6cfd2dffe license block for source code
Added GNU Affero GPL license block to source code.

Added name "LACONICA". I think it should work fine.

darcs-hash:20080514192648-84dde-a430dc438a4e3741c62ccf30ee7f85ecc968b159.gz
2008-05-14 15:26:48 -04:00
Evan Prodromou
67a347bafb considerable coding
darcs-hash:20080514145436-84dde-d0994cb35d3fe8545d3f08abeec3cdfe7559c67d.gz
2008-05-14 10:54:36 -04:00