Brion Vibber
f7a3e508ba
Check profile->update() result against false exactly; we may legitimately get 0 back if no rows were changed. DB objects normally would return true, but the comparisons aren't 100% reliable when we've got numbers which could be ints or strings or floats.
...
Caused failures saving profile settings with Geonames plugin enabled; the lat/lon/id fields would get re-set with freshly looked up values which no longer matched the previous values as far as the data object could tell, but which saved as the same ol' numbers.
2009-11-18 17:36:55 -08:00
Evan Prodromou
967de94665
update location while saving new profile
2009-10-23 11:47:00 -04:00
Craig Andrews
d7ae0ed4fd
Merge remote branch 'laconica/0.8.x' into 0.9.x
...
Conflicts:
lib/omb.php
2009-09-09 22:52:38 -04:00
Sarven Capadisli
277b464054
Created autofocus method to give focus to an element (primarily a form
...
control) on page onload.
Updated some of the pages to use autofocus.
2009-09-03 19:42:50 +00:00
Evan Prodromou
5d09b6b3f0
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
EVENTS.txt
actions/finishremotesubscribe.php
actions/postnotice.php
actions/public.php
actions/remotesubscribe.php
actions/showstream.php
actions/updateprofile.php
actions/userauthorization.php
classes/laconica.ini
lib/common.php
lib/oauthstore.php
lib/omb.php
2009-08-27 11:16:45 -07:00
Evan Prodromou
df86aa7214
define LACONICA and accept LACONICA for backwards compatibility
2009-08-26 10:41:36 -04:00
Evan Prodromou
865b716f09
change LACONICA to STATUSNET
2009-08-25 18:42:34 -04:00
Evan Prodromou
ae883ceb9b
change controlyourself.ca to status.net
2009-08-25 18:19:04 -04:00
Evan Prodromou
d35b2d3f3c
change laconi.ca to status.net
2009-08-25 18:16:46 -04:00
Evan Prodromou
c8b8f07af1
change Laconica and Control Yourself to StatusNet in PHP files
2009-08-25 18:12:20 -04:00
Evan Prodromou
b2664e1ae2
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
actions/updateprofile.php
actions/userauthorization.php
classes/User_group.php
index.php
install.php
lib/accountsettingsaction.php
lib/logingroupnav.php
2009-08-21 15:42:11 -04:00
Evan Prodromou
d51d83434d
check and show max bio length in profilesettings
2009-08-21 07:48:30 -04:00
Craig Andrews
83ff1cecd3
Use NICKNAME_FMT everywhere consistently
2009-08-05 16:26:19 -04:00
Robin Millette
362cac0a96
Add a few events (hooks): RegistrationTry, RegistrationForData, ProfileFormData and ProfileSaveForm.
2009-04-16 17:34:19 +00:00
Robin Millette
c2905085c1
trac #1155 ++ replace strlen with mb_strlen for all utf8 strings.
2009-02-07 19:33:18 +00:00
Sarven Capadisli
f9403ae99a
Keeping HTML consistent throughout the site.
2009-01-27 06:21:36 +00:00
sarven
0b5f0f4faa
Renamed form_datas to form_data
2009-01-19 03:09:13 +00:00
sarven
0ecdd5363d
Profile settings styles
2009-01-17 23:49:12 +00:00
Evan Prodromou
97c98cf59a
Break up settings into two tabset
...
Made two tabsets: account and connect. Removed "Invite" from
the global nav to make room.
2009-01-17 22:30:44 +00:00
Evan Prodromou
4b0cf99e56
Convert use of common_server_error and common_user_error to methods on Action
2009-01-15 23:03:38 +00:00
Evan Prodromou
eaa81d25fa
Convert all actions to use new UI functions
...
I did a massive search-and-replace to get all the action subclasses to
use the new output function (common_element() -> $this->element(), etc.)
There's still a lot to do, but it's a first step
2009-01-15 22:57:15 +00:00
Zach Copley
5e061d2060
Some fixups of patches not already migrated to trunk to bring inline with PEAR coding stds
...
darcs-hash:20081225144601-7b5ce-4846f3d036c36037836d15ed672c10ba33f9f84c.gz
2008-12-25 09:46:01 -05:00
csarven
33196c24f4
Jcrop v2 (POST cropping to be completed)
...
darcs-hash:20081210021607-eefa4-c3590f3e734255faf098bf5ca09fc17901a6db70.gz
2008-12-09 21:16:07 -05:00
Evan Prodromou
b264c03d32
move opening brace of class declaration to next line
...
Another gigantor PEAR coding standards patch. Here, I've moved the
opening curly bracket on a class statement to the following line.
darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23 14:49:23 -05:00
Evan Prodromou
7ad2f2a371
TRUE
...
More PEAR coding standards global changes. Here, I've changed all
instances of TRUE to true and FALSE to false.
darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
2008-12-23 14:44:28 -05:00
Evan Prodromou
04ef1ba8ee
change function headers to K&R style
...
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-23 14:33:23 -05:00
Evan Prodromou
eb2f9c98ac
replace NULL with null
...
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-23 14:21:29 -05:00
Evan Prodromou
edbc0c665c
replace all tabs with four spaces
...
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-23 14:19:07 -05:00
millette
2c7518873e
moving delete profile to its own space.
...
darcs-hash:20081203192658-099f7-37d26abf7409ab2996a22de4aa71cb7a5f68d205.gz
2008-12-03 14:26:58 -05:00
millette
51dda41211
delete user and all traces from the db.
...
darcs-hash:20081203164942-099f7-ea511948139c9c18b1c8b7de018aa4f0ee5ff624.gz
2008-12-03 11:49:42 -05:00
millette
4fca9960cd
only expand URLs we shortened ourselves + only shorten if notice > 140 chars
...
darcs-hash:20081128200004-099f7-085c833e3e34b2a13b5b3ec3b1316e7948ff196f.gz
2008-11-28 15:00:04 -05:00
millette
aa29ebf9f4
a step closer to deleting a user and hosts posts from the db
...
darcs-hash:20081124005054-099f7-a7b20c1e15900e1c696a33902a6612b8be2387fa.gz
2008-11-23 19:50:54 -05:00
millette
daf14886b3
trac155 first step to delete account
...
darcs-hash:20081123215059-099f7-a0a969229b20fc01ca54f15b166333b3e5a32137.gz
2008-11-23 16:50:59 -05:00
Evan Prodromou
fb312a9de9
fix problems with blank tag strings (!)
...
darcs-hash:20081125000556-5ed1f-d19f3a1e723695122a8e75fb881846bcbc48ebda.gz
2008-11-24 19:05:56 -05:00
Evan Prodromou
73bf014fa4
correct tags method for user
...
darcs-hash:20081120215222-84dde-340269eb99daff7815bb2e17a04341f603eef438.gz
2008-11-20 16:52:22 -05:00
Evan Prodromou
6f31f25105
let users set their own profile tags from profilesettings
...
darcs-hash:20081120214821-84dde-c8569ef645b389de545f78bf01a270f28b871f02.gz
2008-11-20 16:48:21 -05:00
millette
15c1d4f5e4
trac31 url_auto_shortening by sgmurphy
...
darcs-hash:20081106205926-099f7-6bcfd7969a159a12b1ba6a9ee254e44a07b94761.gz
2008-11-06 15:59:26 -05:00
Evan Prodromou
7ff02bb7d4
try to clean up user-without-profile errors
...
darcs-hash:20080926145008-5ed1f-8a60ed3c5adbfe75aa044732e8d10dbdb9b93089.gz
2008-09-26 10:50:08 -04:00
Zach Copley
9eca4e0874
Fold password form into profile settings
...
darcs-hash:20080907053604-7b5ce-4e01cefdbab4cc73a28960b265c23abf5e2f2b0a.gz
2008-09-07 01:36:04 -04:00
Zach Copley
4f19a9462c
Moved avatar upload down below timezone on profile settings
...
darcs-hash:20080906070651-7b5ce-23c17932cc9c474dfbeb530d29b1bd1adb3a4260.gz
2008-09-06 03:06:51 -04:00
Zach Copley
4f1c30fd88
Conflated Avatar and Profile settings + removed a bunch of unnecessary whitespace
...
darcs-hash:20080905194732-7b5ce-2797acd4d04f3b02c4ad67be629badbae469e8ed.gz
2008-09-05 15:47:32 -04:00
Evan Prodromou
6afb7f576e
add csrf protection to profile settings
...
darcs-hash:20080829043909-84dde-c70a633c93ab89560bc300817bda66eebf6176cf.gz
2008-08-29 00:39:09 -04:00
Evan Prodromou
4c8dfadf2d
make init of lang environment happen earlier, or when user language may have changed
...
darcs-hash:20080806034515-84dde-e32cbfec2890f50b610d0441659180038b060473.gz
2008-08-05 23:45:15 -04:00
mikec
a4fa34cecb
Resolve conflicts after pull from evan
...
darcs-hash:20080721135637-edabd-cca33bc0a0936423b9fd2ffdf9413236123d680e.gz
2008-07-21 09:56:37 -04:00
Mike Cochrane
88717d8805
User definable timezones. Work in UTC internally and display per user/site default. http://laconi.ca/PITS/00011
...
darcs-hash:20080720141325-533db-87cb60501434c9dc0ac13716ba5d8b17754431f5.gz
2008-07-20 10:13:25 -04:00
matthew.gregg
6dd211530f
Patch for PITS 00032, 00033, 00034
...
darcs-hash:20080719003417-982e4-7004f8a4dfb447f941457c30b0b2289eee5582e6.gz
2008-07-18 20:34:17 -04:00
Evan Prodromou
27d5118b6d
fixup autosubscribe save
...
darcs-hash:20080720233712-84dde-dda5de6fec9d1d48f61139c1cce8a6e8aa2e0055.gz
2008-07-20 19:37:12 -04:00
Evan Prodromou
f4936d7c58
too much merlot on the airplane, dumb syntax mistake
...
darcs-hash:20080720202832-84dde-918fb1d27d1dd1f06e3bceeb5217c136e6d78ac5.gz
2008-07-20 16:28:32 -04:00
Evan Prodromou
3ffe57c7e2
add autosubscribe to profile settings
...
darcs-hash:20080720202705-84dde-da40ebc8bcb9bd438e891c5a103211ebd67fd2c7.gz
2008-07-20 16:27:05 -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