summaryrefslogtreecommitdiff
path: root/lib/common.php
AgeCommit message (Collapse)Author
2009-02-05Better fix for displaying max file size.Sean Murphy
2009-01-31Enable configuration files in /etc/laconica/Evan Prodromou
Enable storing config files in /etc/laconica/, which makes it much easier to have a single installation with multiple mublogs supported.
2009-01-23Update version numberEvan Prodromou
2009-01-18Update register action to match phpcs and new frameworkEvan Prodromou
2009-01-16Updating Creative Commons text and imagesarven
2009-01-16Auto-load from lib as well as classesEvan Prodromou
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23replace NULL with nullEvan Prodromou
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23replace all tabs with four spacesEvan Prodromou
The PEAR coding standards decree: no tabs, but indent by four spaces. I've done a global search-and-replace on all tabs, replacing them by four spaces. This is a huge change, but it will go a long way to getting us towards phpcs-compliance. And that means better code readability, and that means more participation. darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-20bugpatch release code0.6.4.1Evan Prodromou
darcs-hash:20081220204852-34904-d63d2050408db9eeaea0af8e81c5b5c9e0c8f227.gz
2008-12-12Fixed Popular tab (hopefully)Zach Copley
darcs-hash:20081212075617-7b5ce-c56db92d928c58eaa3fed7e4f226e0fca62e2bbf.gz
2008-12-11documentation and version numberEvan Prodromou
darcs-hash:20081212043201-84dde-1bf07467f85f743fb5cb4ec92e5b8934bfb49578.gz
2008-12-10Ban certain users from posting by nickname and/or IDZach Copley
darcs-hash:20081210191337-7b5ce-f9a083596b3f5627405c9e233c1994d8338f5731.gz
2008-12-10edit throttlingEvan Prodromou
darcs-hash:20081210174722-84dde-4c79d7f73230d008195bd19738bc9a6017b940e9.gz
2008-11-23README for new versionEvan Prodromou
darcs-hash:20081124043723-84dde-289b6415c59eb6955d0a8d3c74bbbdb225b01a02.gz
2008-11-23conflict resolution on people searchmillette
darcs-hash:20081123190555-099f7-cd09b07e99355e2f61562324221840f869fea5bb.gz
2008-11-23sphinx integration for notices and profilesmillette
darcs-hash:20081123185136-099f7-ca600dbdfff09762802e1cc58cf8777c45a24402.gz
2008-11-20sphinx search of peoplemillette
darcs-hash:20081120211347-099f7-d5588788dcd9a16cf72ece59da3d2bf9b8171b85.gz
2008-11-20New public tabs - Public, Recent tags, Featured, and FavoritedZach Copley
darcs-hash:20081120071930-7b5ce-a15d7308bde085f03aa335c98ecd0aaa3833bc35.gz
2008-11-18trac685 Twitter bridge - Shell script to sync all users' Twitter friendsZach Copley
darcs-hash:20081119011128-7b5ce-74471277443b44d0075f66131028447cfda3b1e4.gz
2008-11-20hide certain users from the public streamEvan Prodromou
On identi.ca, certain users (http://identi.ca/derricklo) publish 5-10 automated notices every half hour or hour. This can flood the public stream, making it unreadable for casual readers. We don't want to prevent anyone from using the site for personal use. However, if their personal use clouds up the public space, we can gently remove them from that public space without interfering with their personal activity. So: this change prevents selected people's notices from appearing in the public stream. It's hand-configured by an administrator, and probably doesn't scale beyond 10-20 blacklisted users. It's a stopgap measure. darcs-hash:20081120183722-84dde-8a8401fbcbb6abb60a8b36de249323586ea0b22c.gz
2008-11-18update version number in common.phpEvan Prodromou
darcs-hash:20081118173250-34904-ebde2dda47e743d5728a3ff9f556a8945b734009.gz
2008-11-13add documentation on notice inboxesEvan Prodromou
darcs-hash:20081113214544-84dde-a6de7a968847a7043aecdf0201abca648dd15e70.gz
2008-11-07added Shorturl_api to add support for ur1, 2tu and other services lacking a ↵millette
native api - trac31 darcs-hash:20081107193831-099f7-e340280ba9d2abb4dca05733bc04bb5a5069b62b.gz
2008-10-21add 'invite-only' mode for registrationEvan Prodromou
darcs-hash:20081021182822-5ed1f-9a8ee3960f82d115d43e35baac646f69bc702533.gz
2008-10-06increment the version0.6.1Evan Prodromou
darcs-hash:20081006040713-5ed1f-da7f2235b5301c1889922f5c133c01920a316c57.gz
2008-09-24change foreign links flags code to use bitmasksEvan Prodromou
Zach was doing a lot of integer comparisons on the Foreign_link sync fields. I switched them to use named bitmasks instead. I also switched the semantics of bit 3 to be the opposite of what Zach had -- I find lots of double-negatives in a checkbox to be hard to read. darcs-hash:20080924150834-5ed1f-54cd945f61e43bc06768037c60c1e6180a8feead.gz
2008-09-23version number -- doh!Evan Prodromou
darcs-hash:20080923045449-5ed1f-073632fdff95f4869730d01d57cfdb83b31401a9.gz
2008-09-22merge CiaranG's changes for subs0.6.00.6Evan Prodromou
darcs-hash:20080922225031-84dde-c6967f46ae642f8943b0de77d9a82892ecadb4ce.gz
2008-09-09Initial support for PostgreSQLCiaranG
darcs-hash:20080909072224-f6e2c-881bd2e7fb032f336fecae9ca5ce527dd821d3dc.gz
2008-09-16integrate local changes with Zach'sEvan Prodromou
darcs-hash:20080916210813-84dde-c2cadb63b09f59ac6c76dc1205a56687de9483ce.gz
2008-09-07Twitter integration - added $config option for source attribute when posting ↵Zach Copley
to Twitter darcs-hash:20080907062118-7b5ce-b4412446bbf245b1d14a78b01ecde0f71f621185.gz
2008-08-16XMPP daemon updates including help, sub and subsub commands, plus ↵CiaranG
subscribe/unsubcribe logic broken out into standalone module for sharing darcs-hash:20080816083422-f6e2c-fb8b4e0581719bd8c3f433e661ec9742e1b84cbc.gz
2008-09-15cache noticesWithFriends in memcachedEvan Prodromou
noticesWithFriends is turning out to be one of our most expensive queries. The join is costly, and this method is hit over and over and over by desktop clients and other API users. So, I've added a first pass at caching the results. I store a "window" of notices -- equal to the first 3 pages of notices, plus one for pagination -- in the memcached cache. If with-friends notices are requests, I fetch the whole window out of the cache and grab the slice requested. If the requested notices are outside the window, we just do the query. If there's nothing in the cache, we request the window and store it, then return a slice. I had to add a NoticeWrapper class that works like DB_DataObject (well, just the fetch() part...) but just holds an array of notices instead of a DB cursor. Finally, saving a new notice blows away the caches for subscribed users. darcs-hash:20080915065616-84dde-1b1e814c2294498a10b763b779cbb62c3f96aa84.gz
2008-09-04scripts daemonize themselvesEvan Prodromou
darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz
2008-08-26optionally turn encryption on or off in the XMPP connectionEvan Prodromou
For identi.ca, we had some problems with the XMPP daemon getting "stuck" in I/O through the encrypted (by default) XMPP socket. Turning off encryption helped. So, now it's an option. darcs-hash:20080826131814-84dde-2c4a809c6fb666dfb4b96d0d61205fe418f4e4b4.gz
2008-08-22XMPP sub/unsub and help commandsCiaranG
darcs-hash:20080822191032-f6e2c-a3a7efbbaad1ec7c48ef132a8ba34fc8b8651969.gz
2008-08-22fix include path bugEvan Prodromou
darcs-hash:20080822210654-84dde-68595effcfc11d5e4497c72b189b5f046a8b3ca6.gz
2008-08-22local-only is optional on public timelineEvan Prodromou
darcs-hash:20080822210307-84dde-c90f6e7953d11c5b12c7a084ac23e5578412932c.gz
2008-08-22include external libs in a subdir to make install easierEvan Prodromou
darcs-hash:20080822131714-84dde-6978424ded2ed1041a65142a25560654ac717fcd.gz
2008-08-13auto-load OAuthRequestEvan Prodromou
darcs-hash:20080813195408-84dde-a1de441ce50759f50b2c88b45d626dc4e0892d31.gz
2008-08-11make tag dropoff configurableEvan Prodromou
darcs-hash:20080811175820-84dde-f3d934495fa90fadde5f7d5d0c37c5f2a575a9d8.gz
2008-07-31version upgrade0.5.0Evan Prodromou
darcs-hash:20080731050632-34904-db9fc10c55321b81a33732a2062bf72914927cec.gz
2008-07-29move the language info, fix dir for localesEvan Prodromou
darcs-hash:20080730035446-84dde-8ce202ea6956bb49e1be98307136fc299862ab9b.gz
2008-07-28require validation codeEvan Prodromou
darcs-hash:20080729025156-84dde-f3d9d26db3a500ff04f3a4ce3a3ff1846b6eca08.gz
2008-07-24Auto/Lazy load the class filesMike Cochrane
darcs-hash:20080724234701-533db-ceab005e4c418a62d49af04e7835e963b67b03e0.gz
2008-07-21Resolve conflicts after pull from evanmikec
darcs-hash:20080721135637-edabd-cca33bc0a0936423b9fd2ffdf9413236123d680e.gz
2008-07-20User definable timezones. Work in UTC internally and display per user/site ↵Mike Cochrane
default. http://laconi.ca/PITS/00011 darcs-hash:20080720141325-533db-87cb60501434c9dc0ac13716ba5d8b17754431f5.gz
2008-07-18Patch for PITS 00032, 00033, 00034matthew.gregg
darcs-hash:20080719003417-982e4-7004f8a4dfb447f941457c30b0b2289eee5582e6.gz
2008-07-20First cut at hastags support.Mike Cochrane
darcs-hash:20080720055702-533db-193ed842b0d0a952bef71a3c5287213ada0ef15c.gz