Commit Graph

196 Commits

Author SHA1 Message Date
Evan Prodromou
9ff4794f1b mark off some todos, add a version number, and put code info at the bottom of the page
darcs-hash:20080613184638-84dde-aa7059348899949f3e0c6cfa02d08c41458384a1.gz
2008-06-13 14:46:38 -04:00
Evan Prodromou
526a09531e change default avatars from config vars to theme files
darcs-hash:20080611190230-84dde-78ff0d6f6c370a33aabc4f0053651b6629f85499.gz
2008-06-11 15:02:30 -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
ea40a9cd93 move filename stuff to debug function
darcs-hash:20080605024717-84dde-dc897a855af13ea30bb670daf94749e9f14fa7ad.gz
2008-06-04 22:47:17 -04:00
Evan Prodromou
d241352dcc automatically prepend filename to debug output
darcs-hash:20080605024035-84dde-bc3abc4329f3181cffd26e83d37968ee6a02a26e.gz
2008-06-04 22:40:35 -04:00
Evan Prodromou
52c7ff9827 start handling fancy URLs
darcs-hash:20080530212555-84dde-213c04b9cf9048f48bf0b0b4234bcdf49546d4d9.gz
2008-05-30 17:25:55 -04:00
Evan Prodromou
bf5ae8e69a remotesubscribe form
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
2008-05-30 13:43:10 -04:00
Evan Prodromou
f8a070394f common function for turning a relative path into a full URL
darcs-hash:20080530162429-84dde-12336814d3a01b4937ab574741fa4987484be62d.gz
2008-05-30 12:24:29 -04:00
Evan Prodromou
6b0459b0e2 fix cc license url
darcs-hash:20080528171012-84dde-bf66fac5e9ca78881d3d3dfd08d76b22aeb84a2f.gz
2008-05-28 13:10:12 -04:00
Evan Prodromou
eecd611f67 tags and XRDS
Starting the process of remote subscriptions.

First, add the capacity to mint tags. May in the future want to allow
some kind of UUID or URL for unique URIs. New config options for tag
authority and date, and a function for minting tags.

Store URIs in the DB. If the admin changes his/her tag config, this
shouldn't change the URIs in the DB. Unless they really want to make
that happen.

Generate an XRDS document with the appropriate URLs for microblogging.
Also, redefined some stuff in openmicroblogging.txt. And moved the file.

darcs-hash:20080522183421-84dde-fe46f32e4050f2c4b6c850334103007ed7feabf7.gz
2008-05-22 14:34:21 -04:00
Evan Prodromou
9933e1e341 fixup default avatar urls by using common function
darcs-hash:20080521155448-84dde-0e71fe5dccea49162911f80c65cd1e2a46043b14.gz
2008-05-21 11:54:48 -04:00
Evan Prodromou
12a58d87e8 fix path to default avatars
darcs-hash:20080521154234-84dde-e83305636b6bc2bb158db8588838c8b62b1b7af0.gz
2008-05-21 11:42:34 -04:00
Evan Prodromou
289c44141d default avatar
darcs-hash:20080521115727-84dde-73b58873e08c936139bd63cffab0c30883c9f8a5.gz
2008-05-21 07:57:27 -04:00
Evan Prodromou
52600ce0b0 trim whitespace
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20 15:14:12 -04:00
Evan Prodromou
fa9e243d83 add image to config
darcs-hash:20080520171711-84dde-37d126ca0ccc8658fe2806a8f7f97ee0807783ba.gz
2008-05-20 13:17:11 -04:00
Evan Prodromou
329eac160a license block and move theme stuff
darcs-hash:20080520171353-84dde-5a04033ee8ef19da25ffa9e5c68d2cb18fc71b04.gz
2008-05-20 13:13:53 -04:00
Evan Prodromou
e18c5321c4 break out utility functions to util.php
darcs-hash:20080520130535-84dde-5414005cdbd8d39bb548c75388893c7827f2fb16.gz
2008-05-20 09:05:35 -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
cb32dad17b add common_password
darcs-hash:20080519131808-84dde-af9d0bf03a963f7b0bdaed3b973a38998f9e806e.gz
2008-05-19 09:18:08 -04:00
Evan Prodromou
a4789e79c8 change defaults to use avatar dir
darcs-hash:20080518191849-84dde-ecaf7a36d27378d707d0a08b3948bcc2af24374f.gz
2008-05-18 15:18:49 -04:00
Evan Prodromou
822f790a96 fix path to files, some TODOs
darcs-hash:20080518191056-84dde-c7b52e98b4b9642788c82f28cdf16ff6af9f45c3.gz
2008-05-18 15:10:56 -04:00
Evan Prodromou
793d48dc9e smaller packet
darcs-hash:20080518015551-84dde-65964e140ed0b6c23aeee368fcffccdc14d71c61.gz
2008-05-17 21:55:51 -04:00
Evan Prodromou
1950efda80 save profile url
darcs-hash:20080517202132-84dde-78c7fe9f22aa28f33e9e00432f5cf6436b64e6b5.gz
2008-05-17 16:21:32 -04:00
Evan Prodromou
7ee294de75 dates are already strings
darcs-hash:20080517201719-84dde-ad4d5d935f510bedbd965c9c4c93550c50820454.gz
2008-05-17 16:17: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
466f0489c3 fix created, messages
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
2008-05-17 15:52:01 -04:00
Evan Prodromou
850bfc0a35 fix typo in common_date_string
darcs-hash:20080517194133-84dde-7fc79724a9036b6d98c44c3369aac6a5a3ee931f.gz
2008-05-17 15:41:33 -04:00
Evan Prodromou
30d4b7f791 ensure rather than check for session
darcs-hash:20080517193520-84dde-e0e0ad44fa0b87e7964fa36375b656e7cfabf865.gz
2008-05-17 15:35:20 -04:00
Evan Prodromou
6e0cfd908b fixup some nickname handling
darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
2008-05-17 13:50:22 -04:00
Evan Prodromou
1efea523f2 fix INSTALLDIR use in common.php
I was using $INSTALLDIR instead of INSTALLDIR

darcs-hash:20080517173424-84dde-6fe6df2e710f1a19db97a93682f41cf01034952f.gz
2008-05-17 13:34:24 -04:00
Evan Prodromou
5b9982ee3b path separator problem in data classes
darcs-hash:20080517172654-84dde-83b31bcf0f9497bf6a1d3d3bc498312e50b6b9da.gz
2008-05-17 13:26:54 -04:00
Evan Prodromou
d39a0234b1 require data classes in common
darcs-hash:20080517172528-84dde-99ef7b8b71e3229d54697a84ac7f9f3d8cbd77db.gz
2008-05-17 13:25:28 -04:00
Evan Prodromou
b2284763e2 add stub email canonicalizer
Added a stub function to stand in for eventual email canonicalizer.

darcs-hash:20080517172110-84dde-d2c83cb5e88693100c444b0ed088eed327f8a77d.gz
2008-05-17 13:21:10 -04:00
Evan Prodromou
669f494922 add action class to default loads
darcs-hash:20080517161817-84dde-a28288b093f40eda0d8444f54eca818b2c65a735.gz
2008-05-17 12:18:17 -04:00
Evan Prodromou
62d0284595 handle empty path better
darcs-hash:20080517161548-84dde-8b011466dcf6a0e95e5e0b9c6a5ddcf4cd4bd145.gz
2008-05-17 12:15:48 -04:00
Evan Prodromou
1d9e45fb9b common_local_url() second parameter optional
darcs-hash:20080517160908-84dde-c176f1fa4c4026a84efac994e65db0158935cb11.gz
2008-05-17 12:09:08 -04:00
Evan Prodromou
32798e1063 correct path to DB_DataObject
darcs-hash:20080517155326-84dde-2da05716ece2cce3c3f2f790d326c5333417ef9e.gz
2008-05-17 11:53:26 -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
516996fe9f make config kinda work
darcs-hash:20080517152958-84dde-1170f017a6cf42845d74f75057c923be91404c29.gz
2008-05-17 11:29:58 -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
0474128619 move the goal posts
change the version numbers for an internal 0.1 test release (putting
it on the server!).

Also, added some tweedly date formatting, just to have something
there. Needs some thought.

darcs-hash:20080517140532-84dde-b316b4b425cced5c31fc2ecd0dd81217d5f91365.gz
2008-05-17 10:05:32 -04:00
Evan Prodromou
e0438b8223 bogus version of common_local_url()
Threw together a bogus version of common_local_url(), which should
work for now. But eventually it should use pretty URLs if possible.

darcs-hash:20080517135138-84dde-3c69c89ee8080568e92f655cbb3171867a7b38ce.gz
2008-05-17 09:51:38 -04:00
Evan Prodromou
3803cf2153 upload and change avatars
code to upload and change avatars.

combined some code in the settings area, too.

darcs-hash:20080517122045-84dde-8e13994e627805f29679c9533c2f62db81dc0925.gz
2008-05-17 08:20:45 -04:00
Evan Prodromou
fac522f4d7 settings and avatars
Did considerable work on the settings section.

Redesigned the DB to allow avatars. Each avatar image has a size and
an URL. There can be multiple avatars per profile, just different sizes.

Added accessors in Profile for avatar. Show the avatar in lots of
places, where it makes sense. Constants for avatar sizes in common.php.

darcs-hash:20080515162844-84dde-fe0630366e247c02ca8ca9d1cc6b963cfce57a26.gz
2008-05-15 12:28:44 -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
1c5d1c4586 move library files to lib
darcs-hash:20080514190300-84dde-626b88c9da510c8830d2eff2d36b72f18e6353d4.gz
2008-05-14 15:03:00 -04:00