zach
0c90e94864
First volly at a Twitter-compatible API. Just working out the
...
detials of 1) Basic Auth and 2) dispatch to the right Action class
files to handle the requests.
You can hit it with...
http://localhost/laconica/api/public_timeline.json
or to try Basic Auth you can try something like:
http://nickname:password@localhost/laconica/api/statuses/friends_timeline.xml
Although that actual method isn't done yet, so it should authenticate
and then complain.
darcs-hash:20080712081247-ca946-acd3e0e2762c7d9ff0cb3cd7a53cfdfcc5b26660.gz
2008-07-12 04:12:47 -04:00
Evan Prodromou
c51d1521f0
uniquify the list of reply nicknames (DOH!)
...
darcs-hash:20080717164042-84dde-191bc47dc302911e4ceae0d3b1e74116bb95bcba.gz
2008-07-17 12:40:42 -04:00
Evan Prodromou
3ea1119e50
define syslog variables in common.php
...
darcs-hash:20080717163613-84dde-2684415a03d1a2754e148e4921ce39ad075bbc5b.gz
2008-07-17 12:36:13 -04:00
Evan Prodromou
ca134adeec
add rel
...
darcs-hash:20080717163211-84dde-6fceee14b023a44bd44311528c8a74a9ca3917e8.gz
2008-07-17 12:32:11 -04:00
Evan Prodromou
e3f5462e1c
avatar files never change
...
darcs-hash:20080717160531-84dde-1a44025c9cf5b2da1f62714cc82ccdb490a8bb63.gz
2008-07-17 12:05:31 -04:00
Evan Prodromou
3b2a2c1c6a
restrict avatars to certain sizes in SQL
...
darcs-hash:20080717160257-84dde-8c4f78582ef0d590102c078a045826951ffcbb28.gz
2008-07-17 12:02:57 -04:00
Evan Prodromou
d57063abeb
remove unused call to undefined function
...
darcs-hash:20080717155438-84dde-7fbe7230ab50e076216d4def65b87a38d7e4edb3.gz
2008-07-17 11:54:38 -04:00
Evan Prodromou
91d0250414
use common functions
...
I used the common function for the avatar URL, in case there's an
avatar server.
I used the common W3C DTF function.
darcs-hash:20080717155212-84dde-15d39c28e6b502767c1deaf838f6a65136baeda9.gz
2008-07-17 11:52:12 -04:00
Evan Prodromou
74b063f20b
remove default priority from sitemaps
...
darcs-hash:20080717153657-84dde-bbd0179305b8080911be123ffec26cee03bc1153.gz
2008-07-17 11:36:57 -04:00
Evan Prodromou
753a03d895
public indexers in config file
...
darcs-hash:20080717134331-84dde-b63c9b7e318d74e2cfea14cc962ec2d519f20d43.gz
2008-07-17 09:43:31 -04:00
Evan Prodromou
fb62662650
better log message for incoming presence
...
darcs-hash:20080717132452-84dde-47017a07fa6a141062d50e7cd1b4473c20f4d25f.gz
2008-07-17 09:24:52 -04:00
Evan Prodromou
70d99a1289
add a description with the bio in it to HTML head
...
darcs-hash:20080717124719-84dde-192dd0799905c6fde3bf503c08951d4a308e1e12.gz
2008-07-17 08:47:19 -04:00
Evan Prodromou
3658b49f90
no such user in replies.
...
darcs-hash:20080717124215-84dde-83c2c5ec54a50bb5aa7a5adc23321dadc48083ad.gz
2008-07-17 08:42:15 -04:00
Evan Prodromou
d9b164b3bd
default timezone
...
darcs-hash:20080716210949-84dde-b12d95acdf6f15887fe83fea8f968c972b862be5.gz
2008-07-16 17:09:49 -04:00
Evan Prodromou
4798cd3126
theme server support
...
darcs-hash:20080716205947-84dde-fa57c8fc140cc479e14b50479df13447abaef31b.gz
2008-07-16 16:59:47 -04:00
Evan Prodromou
0b1528382b
default value for avatar server
...
darcs-hash:20080716205541-84dde-1c98befb2d53613fe1b161d479b8f91adbfb7f6c.gz
2008-07-16 16:55:41 -04:00
Evan Prodromou
265d267d81
remove tag URI stuff; unused and confusing
...
darcs-hash:20080716205359-84dde-590916f8812c7c03a2b81b3e7aeb021194ac0f25.gz
2008-07-16 16:53:59 -04:00
Evan Prodromou
e858ee49c6
creator_url
...
darcs-hash:20080716163339-84dde-b6d10e042e3168afa07eb6738dae9714b402dbe2.gz
2008-07-16 12:33:39 -04:00
Evan Prodromou
68cf99a53f
use root url of site, not hard-coded identi.ca URL
...
darcs-hash:20080716152906-84dde-6b28a9c29901274ecef255f8b34839445d6e3d7b.gz
2008-07-16 11:29:06 -04:00
Evan Prodromou
eb9715992c
utility function for getting a profile URI
...
I added a utility function for getting a profile URI. At some point we
need to push commonalities between Remote_profile and User into the
Profile class; single-table inheritance. We do a lot of switching
around for no good reason on users and profiles.
darcs-hash:20080716152511-84dde-6f73d947d11083e7235756fde635e145f02e2483.gz
2008-07-16 11:25:11 -04:00
Evan Prodromou
9b0ae9dd82
slight code hygiene for rssaction
...
I moved the $creators array from being a global variable to being an
instance variable.
I also changed the URL that was used for the user, based on whether
they're a remote or local user.
Finally, I changed instances of $config to calls to common_config().
darcs-hash:20080716152009-84dde-8d077ab92d1252c252ab722ba887a57b177c8f65.gz
2008-07-16 11:20:09 -04:00
Evan Prodromou
f72e5398bf
better formatting on custom error
...
darcs-hash:20080716134408-84dde-17022943bba55b6108fb015b0166e10f2529d632.gz
2008-07-16 09:44:08 -04:00
Evan Prodromou
3d96d6f5f7
slightly better error handling
...
darcs-hash:20080716064736-5a68a-b57c978702037f380e31d2d8825109821a01cef5.gz
2008-07-16 02:47:36 -04:00
Evan Prodromou
c265587612
bad default for email on command-line systems
...
darcs-hash:20080716055326-5a68a-368860d9a9dfd071e7855c3d05a24b7004f59912.gz
2008-07-16 01:53:26 -04:00
Evan Prodromou
dd96edde77
add some warnings and stuff
...
darcs-hash:20080716061933-84dde-7bb5f28c9263782bc0535cd8303a9fcad3820134.gz
2008-07-16 02:19:33 -04:00
Evan Prodromou
e1711bb0cf
error handler in xmppdaemon
...
darcs-hash:20080716054932-84dde-4c7c65cb1b5fb1d3b1b15409e092b40285d6cfd0.gz
2008-07-16 01:49:32 -04:00
Evan Prodromou
9e5a8b7e1f
lost else
...
darcs-hash:20080716053532-84dde-0a53cc573ee9a0c20ff88e011d83f15e60f7c825.gz
2008-07-16 01:35:32 -04:00
Dave Barry
8b1bf1e38c
Fixup rememberme cookie handling in the POST only case
...
darcs-hash:20080714050037-08d49-b00c6370c4eed918eee94f828e2d6098b922ba69.gz
2008-07-14 01:00:37 -04:00
Mike Cochrane
6d83130f32
The first translation of laconica, fr_FR translation from Florian Biree <florian at biree.name>. Thanks :-)
...
To test locales add code like this to your index.php:
/* Set locale */
setlocale(LC_ALL, 'fr_FR');
bindtextdomain("laconica", './locale');
bind_textdomain_codeset("laconica", 'UTF-8');
textdomain("laconica");
UI coming soon from someone else for changing your language.
darcs-hash:20080714091448-533db-d87b53ea5c270d41449fb2dfa1c0bd0680262eea.gz
2008-07-14 05:14:48 -04:00
Mike Cochrane
9cd39cc058
Update laconica.pot with latest strings
...
darcs-hash:20080714091337-533db-86af7bdde30397459299e4604ee6f38f473d4b9e.gz
2008-07-14 05:13:37 -04:00
Evan Prodromou
a440afda54
sigh
...
darcs-hash:20080716031718-84dde-74ce45fdb3be03ae7974f76698d43ecf78730f23.gz
2008-07-15 23:17:18 -04:00
Evan Prodromou
c0527f7952
yet more array munging
...
darcs-hash:20080716031544-84dde-a04b4057e5d7aa394ae061daac47f38089ff5343.gz
2008-07-15 23:15:44 -04:00
Evan Prodromou
542cadd33c
lcase tname
...
darcs-hash:20080716031459-84dde-ccb707bb9059bbc95eabb48cf32edf6dfe803108.gz
2008-07-15 23:14:59 -04:00
Evan Prodromou
af03429704
more array munging
...
darcs-hash:20080716031346-84dde-2aa160254fd80537ba89df2b39b4560c044d1bab.gz
2008-07-15 23:13:46 -04:00
Evan Prodromou
f3409f4e70
back out my change to the link format; see if it helps
...
darcs-hash:20080716030200-84dde-eaff2cdf00d9268594b5ecf7913a6746a516af62.gz
2008-07-15 23:02:00 -04:00
Evan Prodromou
1e9fabbfa3
got the args to array unshift backwards
...
darcs-hash:20080716030022-84dde-d24e4881e143163031a7b6c077d3eed77a58b579.gz
2008-07-15 23:00:22 -04:00
Evan Prodromou
225208e634
add alternative reply format
...
darcs-hash:20080716025842-84dde-b4100ca8cec891d34d14c1bc66912cbd3762bdfb.gz
2008-07-15 22:58:42 -04:00
erik
ae9fb6a4e5
PITS.00114: 'T USERNAME' should work like an @-link
...
darcs-hash:20080709010415-7f4fe-943321fd9ad9df3890599fc1b3f99e97db16e43d.gz
2008-07-08 21:04:15 -04:00
Evan Prodromou
b9df342437
only loop through the list if there's a list
...
darcs-hash:20080716004414-d018c-dad819f8c5881271f494dd27a073baa05bb7e7bc.gz
2008-07-15 20:44:14 -04:00
Earle Martin
1509f3893c
Don't capture trailing ")", "]" or ">" as part of URLs
...
darcs-hash:20080715022045-68ac8-8f8222e7a97009297bed6ff88b6c020192fe6dd2.gz
2008-07-14 22:20:45 -04:00
Earle Martin
40b73c829f
Add SIOC data to global RSS feed.
...
darcs-hash:20080714191328-68ac8-7b525eb8d85ed77599231b7d7456eaccc8a5ff15.gz
2008-07-14 15:13:28 -04:00
Earle Martin
f5bddd414a
Include user name in item titles for RSS aggregator users.
...
darcs-hash:20080714153859-68ac8-8c370d385fd060d2fcebc118c3000f3c383fb4dc.gz
2008-07-14 11:38:59 -04:00
Earle Martin
941eb61e82
Take full path for index file, not just name; change any "hourly" changefreqs to "daily"; add small function for W3C timestamps.
...
darcs-hash:20080714000833-68ac8-388a8a23336cd08b7e5e5984834aef3d57c3b7bc.gz
2008-07-13 20:08:33 -04:00
Evan Prodromou
a47ab1ad6a
confirm address
...
darcs-hash:20080715223149-84dde-7159a4db6c0e09c4e616ae45d25ec734a60d36ae.gz
2008-07-15 18:31:49 -04:00
Evan Prodromou
993e2a82fe
correct name for common_canonical_email
...
darcs-hash:20080715222554-84dde-8aed1c8c6d30b4a3645fa2563a9368f8e3859fbf.gz
2008-07-15 18:25:54 -04:00
Evan Prodromou
b592e4ef54
bad class name in emailsettings
...
darcs-hash:20080715222342-84dde-448f6f06f3a596aac279f88f8f14a47f584139e0.gz
2008-07-15 18:23:42 -04:00
Evan Prodromou
86428cbddb
rebuild classes based on DB change
...
darcs-hash:20080715222026-84dde-6ceebbb94455aec41907896ab65294ce3f79492f.gz
2008-07-15 18:20:26 -04:00
Evan Prodromou
72fda63585
unique key on a boolean value is not scalable
...
darcs-hash:20080715221946-84dde-cd843d283da019b102073bc64732f4abb89a6456.gz
2008-07-15 18:19:46 -04:00
Evan Prodromou
61487d4cd0
move email settings to its own tab
...
darcs-hash:20080715221826-84dde-8a3692f95199818c11dbb0be159d07f1ab10cf6a.gz
2008-07-15 18:18:26 -04:00
Evan Prodromou
12615c8e36
remove email settings from profile settings ahead of having its own tab
...
darcs-hash:20080715220144-84dde-9b4c8338b8acf0c1268947cb4a9b8cbdb9751a7f.gz
2008-07-15 18:01:44 -04:00