Evan Prodromou
ab37f84b5a
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-11 14:46:47 -05:00
Evan Prodromou
b5cc7e4aab
Handle DB_DataObject errors better
...
We try to handle DB_DataObject errors a little bit better. Previously,
they just spit out a cryptic string to the browser with a suggestion
to turn on debugging (not a good idea!). So, we catch the error, write
the full error message to the log, and then tell users that the can
contact the admins if they need to.
2009-02-11 14:45:06 -05:00
Sarven Capadisli
012288bdf6
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-11 16:53:01 +00:00
Sarven Capadisli
fc293545be
Minor. Changed from @class location to label
2009-02-11 16:50:07 +00:00
Evan Prodromou
22b10399aa
Unify feeds definition in actions
...
I got a little sick of trying to keep the export data and <head> links
synched in actions, so I made a common method, getFeeds(), which gets
the feeds for both. It returns an array of Feed objects, which know
about what their mime type is, title, location, all that jazz.
I changed the FeedList class so it handles the new Feed objects
instead of the old array of data.
I changed all the actions that show feeds (I think...) so that they
now use getFeeds() for all their feed needs.
2009-02-11 11:37:50 -05:00
Evan Prodromou
27e23f2dd3
Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x
2009-02-11 10:11:26 -05:00
Evan Prodromou
26b0bc3aab
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-11 09:54:23 -05:00
Evan Prodromou
880d0b477b
Merge branch 'urlroute' into 0.7.x
2009-02-11 09:53:54 -05:00
Evan Prodromou
c640b747f7
add related link to Atom for feeds for some downstream users
2009-02-11 08:35:09 -05:00
Evan Prodromou
d345c746b9
add related link to Atom for feeds for some downstream users
2009-02-11 08:34:21 -05:00
Evan Prodromou
bba1dbdb40
Use a router singleton
2009-02-11 00:45:11 -05:00
Evan Prodromou
fbecbcb693
Build urls using Net_URL_Mapper, too
2009-02-10 22:49:25 -05:00
Evan Prodromou
7b9e69eb89
integrate URL routing into core code
2009-02-10 22:32:38 -05:00
Sean Murphy
646fdea1bf
Fixed 1174: schemeless URL auto-linking bug
2009-02-10 17:42:58 -05:00
Robin Millette
7763f804ca
trac #233 Explicitely show we have an rss feed for notice searches.
2009-02-10 22:04:47 +00:00
Meitar Moscovitz
beddf90663
Trigger only on handheld device screens, not on browser screens, d'oh!
2009-02-11 03:12:14 +11:00
Meitar Moscovitz
c9e8b1e5c3
Add streamlined mobile device-friendly styles when enabled in config.
...
A new mobile-specific style sheet is added and loaded only if the
`$config['site']['mobile']` configuration variable is set to true.
2009-02-11 03:03:16 +11:00
Sean Murphy
cf29ef2bc4
Fixed remaining substr_replace with multibyte equivalent.
2009-02-09 19:15:30 -05:00
Robin Millette
0d58652487
trac #1160 fix dropdown xmloutput function for the selected attribute and fix newmessage auto-selected dropdown.
2009-02-09 17:40:01 -05:00
Sean Murphy
bdd9f6ce1d
Merge commit 'upstream/0.7.x' into 0.7.x
2009-02-09 17:29:39 -05:00
Sean Murphy
f6705f06c0
Fixed #1170 : Auto-linking bug when URL cotains special chars.
2009-02-09 17:29:27 -05:00
Evan Prodromou
32744124bc
Add a hook for showing sidebar sections
2009-02-09 16:56:38 -05:00
Zach Copley
3e005f2d1b
"Change your email address..." msg was printing out \n instead of a newline
2009-02-09 12:45:23 -05:00
Evan Prodromou
c87a0c3f58
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-09 12:09:44 -05:00
Evan Prodromou
c1bc77efd9
whitespace and formatting
2009-02-09 12:06:06 -05:00
Evan Prodromou
73b8de7c4c
Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x
2009-02-09 12:03:45 -05:00
Evan Prodromou
9e23b5c5d7
Change action autoloading to allow actions in plugins
...
Since plugins may define custom actions, we shouldn't require that
there be a file in our actions/ subdir for every action. So, I changed
the (admittedly hackish) auto-loading code in index.php so it instead
checks whether a class exists with the expected name. This, in turn,
uses the increasingly hacking __autoload() function, which I changed
to auto-load stuff named "BlahblahAction" from the actions subdir if
available.
2009-02-09 11:46:26 -05:00
Robin Millette
43888b5239
trac #1160 fix dropdown xmloutput function for the selected attribute and fix newmessage auto-selected dropdown.
2009-02-09 15:35:38 +00:00
Evan Prodromou
ee4ee388ff
include plugin.php early so config can use it
2009-02-09 08:49:28 -05:00
Evan Prodromou
dce975e33b
allow events without arguments
2009-02-09 08:48:50 -05:00
Evan Prodromou
175f1e7395
utility superclass for plugins
2009-02-09 08:47:11 -05:00
Evan Prodromou
f4e8cc6d9f
Add InitializePlugin and CleanupPlugin events
...
We add two events to allow plugins to initialize and cleanup.
2009-02-09 08:44:30 -05:00
Evan Prodromou
5d246299b6
add hooks for JavaScript handling
2009-02-09 08:24:23 -05:00
Evan Prodromou
05991e2206
First events for adding menu items
2009-02-09 08:02:23 -05:00
Evan Prodromou
e40d503dfb
had the logic on event handler reversed
2009-02-09 08:02:08 -05:00
Evan Prodromou
55cba5007e
Fix indentation in lib/action.php
2009-02-09 07:51:23 -05:00
Evan Prodromou
e29ebc18c7
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-09 07:26:17 -05:00
Evan Prodromou
5466f6a6d0
Better exception handling in index
...
Some better exception handling in Web entry point.
2009-02-09 07:25:35 -05:00
Evan Prodromou
aa06d760b3
Index and Action use Exceptions
...
Main Web entry point accepts exceptions, and main code in Action
throws them.
2009-02-09 07:15:52 -05:00
Evan Prodromou
9152c0bdc8
First steps to using exceptions for error handling
...
Added two exception classes: one for client errors (= user can fix) and
one for server errors (only admin or coder can fix). The web entry point
now tries to catch exceptions and show them in the browser. The main
code for showing errors in Action class now throws an exception and lets
top-level handle it.
2009-02-09 07:12:08 -05:00
Evan Prodromou
12d7c30ef7
Add event.php before config.php is called
2009-02-09 06:52:39 -05:00
Evan Prodromou
b1f9dec20e
First events code
...
Add the basic code for adding events.
2009-02-09 06:51:08 -05:00
Sarven Capadisli
a64a888609
Using rel="external" instead of class="exlink"
2009-02-07 23:47:37 +00:00
Sean Murphy
805560677b
Fixed references to common_avatar_*.
2009-02-07 11:10:46 -05:00
Sean Murphy
a3d5e00f64
Merge commit 'upstream/0.7.x' into 0.7.x
...
Conflicts:
actions/showstream.php
2009-02-07 11:02:10 -05:00
Sean Murphy
d900893149
Fixed #1152 : Needless image scaling and poor JPG quality
2009-02-07 10:01:08 -05:00
Zach Copley
08db50b24e
"Change your email address..." msg was printing out \n instead of a newline
2009-02-06 21:17:45 -08:00
Evan Prodromou
60f737dc1e
Update README and version number
...
README and version number.
2009-02-06 15:35:29 -05:00
Evan Prodromou
be6ce27538
Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x
...
Conflicts:
lib/util.php
2009-02-06 14:28:17 -05:00
Evan Prodromou
adcbb48362
Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x
2009-02-06 14:27:06 -05:00
Sean Murphy
56d7348ec2
Fixed #1149 : URL auto-linking bug when following colon.
2009-02-06 12:18:15 -05:00
Evan Prodromou
343cd6f205
Move common_avatar_* functions to Avatar
...
Moved the common_avatar_* functions to the Avatar class. Typically
either as methods on the object or as static methods. Replaced all the
uses of the functions in other modules.
2009-02-06 03:55:48 -05:00
Evan Prodromou
d3ff8bfec6
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-06 01:07:09 -05:00
Evan Prodromou
c47bfcef65
Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x
2009-02-06 01:06:54 -05:00
Evan Prodromou
de4ed67b7a
Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x
2009-02-06 01:05:30 -05:00
Zach Copley
ab82978b2d
Trac #894 and #1013 - fixed bad redirects after delete notice
2009-02-05 16:16:10 -08:00
Sean Murphy
e08b7f7205
Fix for unicode string auto-linking bug
2009-02-05 17:29:58 -05:00
Evan Prodromou
8775e79e35
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-05 16:35:19 -05:00
Evan Prodromou
99d520b351
Two different functions for file size
...
Made two different functions for file size in ImageFile; one uses the
other.
Also, use sprintf() for gettext msgs.
2009-02-05 16:32:58 -05:00
Evan Prodromou
383e6c730d
Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x
2009-02-05 16:02:19 -05:00
Sean Murphy
d4bdb2dc19
Better fix for displaying max file size.
2009-02-05 15:01:44 -05:00
Sean Murphy
746a5d7507
Fixed #905 : Presenting image size limit to user.
2009-02-05 14:11:50 -05:00
Robin Millette
9febe8ce39
trac #1142 fix tag rss
2009-02-05 18:10:47 +00:00
Evan Prodromou
7ea136ee1b
Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x
...
Conflicts:
actions/avatarsettings.php
2009-02-05 12:04:06 -05:00
Evan Prodromou
43feee783b
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-05 11:47:47 -05:00
Evan Prodromou
7ad3ff4a2c
Allow re-authentication with OpenID
...
"Rememberme" logins aren't allowed to make changes to an account
(since cookie-stealing is too easy). Users have to re-authenticate.
Previously, it was impossible to do so without having a username and
password; this change lets you do it with OpenID, too.
2009-02-05 11:46:17 -05:00
Sarven Capadisli
7bc764fdc0
Facebook profile box CSS and a link back to the app page.
2009-02-05 07:07:36 +00:00
Sarven Capadisli
e5b075b912
Matching Facebook app UI to identi.ca. Fixed tabs, add to profile,
...
widths, font-size, and some HTML markup.
2009-02-05 04:54:42 +00:00
Sean Murphy
4090471ebe
Forgot to replace URL shortening regex with new function.
2009-02-04 23:18:45 -05:00
Sean Murphy
8053adc60e
Fixed #779 & #588 ; Better URL auto-linking.
2009-02-04 23:11:40 -05:00
Sean Murphy
0f12d6135e
Fixed #732 ; Hashtags inside parens and brackets.
2009-02-04 20:02:50 -05:00
Sean Murphy
7e975b17c5
Fixed #1134 ; Consolidated image scaling functions.
2009-02-04 19:32:15 -05:00
Zach Copley
68152dcf3a
Facebook app - reorganized some stuff; better HTML output
2009-02-04 22:54:07 +00:00
Sarven Capadisli
b8e10428d3
Changed error and facebookaction wrap selector from @class to @id.
2009-02-04 17:03:59 +00:00
Evan Prodromou
e8d3615b3f
Allow HTML in site notice (Bug#1002)
2009-02-04 08:49:42 -05:00
Evan Prodromou
92c6034b25
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-04 07:26:14 -05:00
Evan Prodromou
355d438cee
Merge branch '0.7.x' of git://gitorious.org/laconica/meitar into meitar/0.7.x
2009-02-04 07:25:36 -05:00
Zach Copley
19724a51b3
trac533 Removed redundant calls to htmlspecialcharacters().
...
XMLWriter::writeAttribute() already takes care of the escaping for
us, although that doesn't seem to be well documented.
2009-02-03 21:22:41 -08:00
Evan Prodromou
0356953cf8
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk into 0.7.x
2009-02-03 15:12:55 -05:00
Meitar Moscovitz
3b6d2653fb
Fixes ticket:1087; correctly paginate group members list in fancy URLs.
2009-02-04 04:02:30 +11:00
Evan Prodromou
ab16bb876b
Merge branch 'master' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-02 16:46:51 -05:00
Evan Prodromou
daa5797809
Merge branch 'master' of git://gitorious.org/laconica/adrianlang-clone into adrianlang/master
2009-02-02 16:42:27 -05:00
Robin Millette
b6f0f72a09
trac #569 and trac #711 add missing utf-8 headers and removed extraneous argument in startHTML calls
2009-02-02 21:08:33 +00:00
Robin Millette
f9edd1101b
trac #1099 : main menu should not lead to IM settings when IM is disabled
2009-02-02 20:20:21 +00:00
Sarven Capadisli
99fba4932d
Ticket 1044 -- Removed border-top, reduced padding, changed notice
...
count from 6 to 5, removed nickname.
2009-02-02 17:02:58 +00:00
Robin Millette
d3b30164be
added primary menu to error pages
2009-02-02 14:51:23 +00:00
Sarven Capadisli
4f1345620a
Better cross-browser support for page and text zoom-in/out.
2009-02-02 14:14:14 +00:00
Meitar Moscovitz
a381bff4da
Link rtsp, mms & tel URI schemes, correct pseudo-protocol ones.
...
This patch builds on the work of user `candrews` at http://laconi.ca/trac/ticket/529#comment:2
2009-02-02 19:59:48 +11:00
Sarven Capadisli
18593afee7
If user is not logged in, then notice-options container shouldn't be
...
outputted.
2009-02-01 23:37:54 +00:00
Adrian Lang
2f37539967
Fixes #1088 : Show number of group members. Unlike the bugreport requested, the stats are displayed similar to userstream stats in a section in the sidebar. Additionaly, I removed a redundant notnull if check in ShowgroupAction->showMembers, fixed a SQL error in User_group->getMembers when no limit is passed, removed return value storing of void function and added an usage of Profile->getBestName.
2009-02-01 22:24:54 +01:00
Sarven Capadisli
d309fd27c5
Rearraned stylesheet order for IE and fixed path to files for base IE stylesheets
2009-02-01 20:05:13 +00:00
Evan Prodromou
87b99540ef
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk into cyi/master
2009-02-01 14:33:18 -05:00
Sarven Capadisli
add0b7f329
Resaved identica logo as transparent PNG24 in order to handle various
...
background colours without having to explicitly apply anti-aliasing.
Updated colour information in identica theme.
Removed ie7 base stylesheet that's no longer required.
Added ie identica stylesheet to handle solid background colour for
2009-02-01 18:04:56 +00:00
Evan Prodromou
74bf2bf672
Enable configuration files in /etc/laconica/
...
Enable storing config files in /etc/laconica/, which makes it much
easier to have a single installation with multiple mublogs supported.
2009-01-31 09:38:39 -05:00
Ciaran Gultnieks
53274a6d93
PostgreSQL - code changes to avoid problems where user table is referenced in ad-hoc queries
2009-01-30 01:12:58 +00:00
Zach Copley
c7d06519f0
trac750 update Facebook status when posting to Identi.ca from Facebook
2009-01-29 05:58:27 +00:00
Evan Prodromou
04b3add162
only send group notices through Jabber to users with notices enabled
2009-01-28 23:03:03 -05:00
Greg Grossmeier
62fd9369ec
fix email notification link
2009-01-28 09:22:54 -05:00
Evan Prodromou
d86622da33
don't show reply for anon user
2009-01-28 09:17:12 -05:00
Evan Prodromou
f761031d0a
Merge branch 'master' of root@laconi.ca:/var/www/laconi.ca/software/laconica
2009-01-28 08:24:29 -05:00
Evan Prodromou
c4097750ad
Revert "Fixup already-subscribed string"
...
This reverts commit 6055516aaf
.
2009-01-27 20:34:57 -05:00
Sarven Capadisli
f9403ae99a
Keeping HTML consistent throughout the site.
2009-01-27 06:21:36 +00:00
Zach Copley
1c60afb940
trac750 140 character countdown for FB app
2009-01-27 01:55:36 +00:00
Zach Copley
26f9bf540e
Fixed bad query causing facebook_update to fail
2009-01-26 12:22:52 -08:00
Evan Prodromou
69e7811d01
Add some more useless HTML
2009-01-26 17:30:32 +01:00
Evan Prodromou
91e63866fb
move block form
2009-01-26 17:14:08 +01:00
Meitar Moscovitz
44162e07c3
Fix scrolling for groups
2009-01-26 16:16:51 +01:00
Evan Prodromou
f3db32d151
Fix direct addressing of messages
2009-01-26 15:45:54 +01:00
Adrian Lang
6055516aaf
Fixup already-subscribed string
2009-01-26 14:21:01 +01:00
Adrian Lang
5b211271f9
Fix pagination on user groups page
2009-01-26 14:19:49 +01:00
Evan Prodromou
0e9cdf5859
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk
2009-01-26 14:14:49 +01:00
Zach Copley
55a4fac6a6
trac750 Better permissions workflow and styling hooks
2009-01-26 06:31:25 +00:00
Evan Prodromou
f06d5eff10
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk
2009-01-25 18:07:55 +01:00
Zach Copley
e2a965c999
Rss10Action::showImage() was trying to call pre-uiredesign XML output functions
2009-01-24 22:08:27 -08:00
Evan Prodromou
0d34cd24ab
Update notice deletion
...
Changed the errors in notice deletion so it now works. Also,
consistently delete records from related tables that refer
to the notice.
2009-01-24 19:38:40 +01:00
Evan Prodromou
32f81b3c0e
Initial support for ping service
...
It makes sense to use the weblogs.com ping service to alert people to
changes on the site. So, we do. Includes an extra ping queue handler.
2009-01-24 18:38:12 +01:00
Evan Prodromou
db4271692a
wrong action for groups
2009-01-24 11:26:28 +01:00
Evan Prodromou
4e44b0b8d7
Fix the group url ( Closes #971 )
2009-01-24 11:24:37 +01:00
Evan Prodromou
1b07e65277
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk
2009-01-24 10:38:11 +01:00
sarven
18eb40c988
Search form markup and style
2009-01-24 00:58:12 +00:00
Zach Copley
44d1e723df
trac750 fixed dumb sql query that was pulling ancient notices
2009-01-23 12:12:51 +00:00
Zach Copley
767c7d293d
trac750 Better CSS file organization and linking fore the FB app
2009-01-23 10:51:49 +00:00
Evan Prodromou
447e2b8e35
Bad link for popular notices
2009-01-23 11:51:48 +01:00
Zach Copley
d06a929d70
Merge branch 'master' of /var/www/trunk
2009-01-23 09:47:09 +00:00
Zach Copley
ef3f47b8f5
trac750 Better styling for the Facebook profile box widget
2009-01-23 09:46:29 +00:00
Zach Copley
0ef33663ce
Merge branch 'master' of ssh://zach@dev.controlyourself.ca/var/www/trunk
2009-01-23 01:20:00 -08:00
Zach Copley
b13374faa5
Bring the Twitter compatible API inline with new uiredesign stuff
2009-01-23 01:19:19 -08:00
sarven
927576e3f0
Using openidlogin instead of openid in order to show the current local
...
nav item
2009-01-23 08:58:54 +00:00
Evan Prodromou
4e5be119d3
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk
2009-01-23 09:17:51 +01:00
Zach Copley
85321cede0
Fix for Twitter bridge bug introduced by uiredesign merge
2009-01-23 00:11:05 -08:00
Evan Prodromou
e7d5310a2f
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk
2009-01-23 09:01:06 +01:00
Evan Prodromou
a7c85bebd5
Merge branch 'master' of /var/www/mublog
...
Conflicts:
actions/api.php
actions/deletenotice.php
actions/recoverpassword.php
actions/remotesubscribe.php
actions/tag.php
actions/tagrss.php
actions/twitapiaccount.php
actions/twitapiusers.php
classes/Notice.php
classes/User.php
lib/common.php
lib/language.php
lib/subs.php
lib/twitterapi.php
lib/util.php
scripts/inbox_users.php
scripts/update_translations.php
Merged development trunk into laconica head. woohoo!
2009-01-23 08:58:31 +01:00
Robin Millette
aa100884fb
Merge branch 'master' of /var/www/trunk
2009-01-23 07:51:02 +00:00
Robin Millette
965d4db265
Group search
2009-01-23 07:50:55 +00:00
Evan Prodromou
7aa496cd8a
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk
2009-01-23 08:23:40 +01:00
Zach Copley
8114676bd4
trac750 Let's try that again - fix for base css href
2009-01-23 07:22:01 +00:00
Evan Prodromou
aadf10cedb
Update version number
2009-01-23 08:15:40 +01:00
Evan Prodromou
50ec1cc26e
Upload logos for groups
2009-01-23 08:15:29 +01:00
sarven
538518ead6
Not using thickbox... yet
2009-01-23 06:18:00 +00:00
Robin Millette
171d89aab7
Merge branch 'master' of /var/www/trunk
2009-01-23 05:57:15 +00:00
Robin Millette
fbd1cf4dfa
use new error actions classes to display error
2009-01-23 05:57:08 +00:00
Evan Prodromou
277a6e984c
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk
2009-01-23 06:47:43 +01:00
Zach Copley
df25b5f5f5
Merge branch 'master' of /var/www/trunk
2009-01-23 05:37:45 +00:00
Zach Copley
240231a8bd
trac750 linked in stylesheets for login and permissions prompt screens
2009-01-23 05:37:21 +00:00
Evan Prodromou
9dc5d8d0f6
Made avatar upload a two-stage process; first upload, then crop
2009-01-23 06:16:55 +01:00
Evan Prodromou
a7b80ef230
Better math for seciton
2009-01-23 06:11:05 +01:00
Evan Prodromou
a130bb9d6d
A section
2009-01-23 06:10:25 +01:00
Robin Millette
597245ffc3
make avatar bigger on single notice pages
2009-01-23 04:52:39 +00:00
Zach Copley
8dad87ea95
trac750 FB script to update statuses working again with new uiredesign stuff
2009-01-23 04:23:44 +00:00
Robin Millette
45f5094b46
uiredesign
2009-01-23 03:31:38 +00:00