Age | Commit message (Collapse) | Author |
|
darcs-hash:20080716072124-ca946-6714d13d6801eddf84800b884721aac37852993d.gz
|
|
darcs-hash:20080716060922-ca946-6e973c6fb40ab8c8c930b6dfd916e20f40545471.gz
|
|
darcs-hash:20080715234131-ca946-8c277e9f5980953b5037af40db38c0546222304d.gz
|
|
darcs-hash:20080715065850-ca946-6d0e490957830d2f837fd304f70599a636597f9c.gz
|
|
files) to make it more clear what the action files are for.
darcs-hash:20080715043121-ca946-bb7acd42271117dbb77d5e16292673a4b8cfad53.gz
|
|
darcs-hash:20080715031812-ca946-10a94dd3cd96039ad76adc36f0f23d7402768fbe.gz
|
|
darcs-hash:20080714202728-ca946-fed9631e283e00019aad61a87d7c4f51530327d1.gz
|
|
darcs-hash:20080714190300-ca946-80e4dbdd0b5278d03cb00b0922cd69c695a166cb.gz
|
|
darcs-hash:20080714080949-ca946-7372d114c1db9f48aa79f7bd8a5f67042da37ac4.gz
|
|
darcs-hash:20080714080741-ca946-1b2f8c026f433e27a30abc104ca2dba11b9b662e.gz
|
|
darcs-hash:20080713083853-ca946-f4454aa5da08c870a11398a6ed2d8d5e0762b043.gz
|
|
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
|
|
darcs-hash:20080717164042-84dde-191bc47dc302911e4ceae0d3b1e74116bb95bcba.gz
|
|
darcs-hash:20080717163613-84dde-2684415a03d1a2754e148e4921ce39ad075bbc5b.gz
|
|
darcs-hash:20080717163211-84dde-6fceee14b023a44bd44311528c8a74a9ca3917e8.gz
|
|
darcs-hash:20080717160531-84dde-1a44025c9cf5b2da1f62714cc82ccdb490a8bb63.gz
|
|
darcs-hash:20080717160257-84dde-8c4f78582ef0d590102c078a045826951ffcbb28.gz
|
|
darcs-hash:20080717155438-84dde-7fbe7230ab50e076216d4def65b87a38d7e4edb3.gz
|
|
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
|
|
darcs-hash:20080717153657-84dde-bbd0179305b8080911be123ffec26cee03bc1153.gz
|
|
darcs-hash:20080717134331-84dde-b63c9b7e318d74e2cfea14cc962ec2d519f20d43.gz
|
|
darcs-hash:20080717132452-84dde-47017a07fa6a141062d50e7cd1b4473c20f4d25f.gz
|
|
darcs-hash:20080717124719-84dde-192dd0799905c6fde3bf503c08951d4a308e1e12.gz
|
|
darcs-hash:20080717124215-84dde-83c2c5ec54a50bb5aa7a5adc23321dadc48083ad.gz
|
|
darcs-hash:20080716210949-84dde-b12d95acdf6f15887fe83fea8f968c972b862be5.gz
|
|
darcs-hash:20080716205947-84dde-fa57c8fc140cc479e14b50479df13447abaef31b.gz
|
|
darcs-hash:20080716205541-84dde-1c98befb2d53613fe1b161d479b8f91adbfb7f6c.gz
|
|
darcs-hash:20080716205359-84dde-590916f8812c7c03a2b81b3e7aeb021194ac0f25.gz
|
|
darcs-hash:20080716163339-84dde-b6d10e042e3168afa07eb6738dae9714b402dbe2.gz
|
|
darcs-hash:20080716152906-84dde-6b28a9c29901274ecef255f8b34839445d6e3d7b.gz
|
|
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
|
|
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
|
|
darcs-hash:20080716134408-84dde-17022943bba55b6108fb015b0166e10f2529d632.gz
|
|
darcs-hash:20080716064736-5a68a-b57c978702037f380e31d2d8825109821a01cef5.gz
|
|
darcs-hash:20080716055326-5a68a-368860d9a9dfd071e7855c3d05a24b7004f59912.gz
|
|
darcs-hash:20080716061933-84dde-7bb5f28c9263782bc0535cd8303a9fcad3820134.gz
|
|
darcs-hash:20080716054932-84dde-4c7c65cb1b5fb1d3b1b15409e092b40285d6cfd0.gz
|
|
darcs-hash:20080716053532-84dde-0a53cc573ee9a0c20ff88e011d83f15e60f7c825.gz
|
|
darcs-hash:20080714050037-08d49-b00c6370c4eed918eee94f828e2d6098b922ba69.gz
|
|
<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
|
|
darcs-hash:20080714091337-533db-86af7bdde30397459299e4604ee6f38f473d4b9e.gz
|
|
darcs-hash:20080716031718-84dde-74ce45fdb3be03ae7974f76698d43ecf78730f23.gz
|
|
darcs-hash:20080716031544-84dde-a04b4057e5d7aa394ae061daac47f38089ff5343.gz
|
|
darcs-hash:20080716031459-84dde-ccb707bb9059bbc95eabb48cf32edf6dfe803108.gz
|
|
darcs-hash:20080716031346-84dde-2aa160254fd80537ba89df2b39b4560c044d1bab.gz
|
|
darcs-hash:20080716030200-84dde-eaff2cdf00d9268594b5ecf7913a6746a516af62.gz
|
|
darcs-hash:20080716030022-84dde-d24e4881e143163031a7b6c077d3eed77a58b579.gz
|
|
darcs-hash:20080716025842-84dde-b4100ca8cec891d34d14c1bc66912cbd3762bdfb.gz
|
|
darcs-hash:20080709010415-7f4fe-943321fd9ad9df3890599fc1b3f99e97db16e43d.gz
|
|
darcs-hash:20080716004414-d018c-dad819f8c5881271f494dd27a073baa05bb7e7bc.gz
|