Commit Graph

333 Commits

Author SHA1 Message Date
Evan Prodromou
f874067401 move markdown require to common
darcs-hash:20080630170545-84dde-7bd95c43f3943e9cc5bf9ec6f57da0ff12204601.gz
2008-06-30 13:05:45 -04:00
Evan Prodromou
c64f137497 refactor common behaviour in settings pages
darcs-hash:20080630170342-84dde-5d7feb88a0a707b24c8070802a7ec99dd1f35687.gz
2008-06-30 13:03:42 -04:00
Evan Prodromou
6c6d94763b add FAQ to foot menu
darcs-hash:20080630161201-84dde-835e66e9abb6e5c447bfc9b97b29bdd27962ac41.gz
2008-06-30 12:12:01 -04:00
Evan Prodromou
d437fcfac9 wasn't checking for notify flag
darcs-hash:20080630152415-84dde-7ee73e1b9b8684ebcfb957c2c33b20a8265e1e74.gz
2008-06-30 11:24:15 -04:00
Evan Prodromou
e41a90e7e9 822 -> 850
darcs-hash:20080627223439-84dde-2d0a8a8284e2f6d6af8710a5b9a52f7d45658f81.gz
2008-06-27 18:34:39 -04:00
Evan Prodromou
3265812833 show exact date when needed
darcs-hash:20080627222930-84dde-e54a369d91060b7ff2559af9ff08735b2eec43d9.gz
2008-06-27 18:29:30 -04:00
Evan Prodromou
aa8dac17d3 more natural date strings
darcs-hash:20080627222522-84dde-9bef8dc543bbb945b1f05dbeed43924d27f704d1.gz
2008-06-27 18:25:22 -04:00
Evan Prodromou
5b0d514f08 add some classes to inputs
darcs-hash:20080627145553-84dde-31e52074c9b8327bcebc46372e4ee8f86b77ea20.gz
2008-06-27 10:55:53 -04:00
Evan Prodromou
42322efb25 revert to common_user_error, which is what is used everywhere
darcs-hash:20080626225002-84dde-898a118457577e321f426270f8c98072962341ab.gz
2008-06-26 18:50:02 -04:00
matthew.gregg
a9cf27c4e6 Missing quote in the conditional CSS for IE browsers. Fix for http://laconi.ca/PITS/00104
darcs-hash:20080624171305-982e4-732e5d4f9ad5d92145c6cbc7568ef9393e962dfb.gz
2008-06-24 13:13:05 -04:00
matthew.gregg
25dad58d42 xhtml/xml and IE do not mix so well PITS # 00103
darcs-hash:20080623173043-982e4-5951fba93a2aa28f3e8e622167f6b33c1abc6949.gz
2008-06-23 13:30:43 -04:00
Evan Prodromou
cc35d84545 take out the instructions
darcs-hash:20080626215525-34904-6642f29eebddcdb52955017bdd69da9ee87c3d20.gz
2008-06-26 17:55:25 -04:00
Evan Prodromou
b73a06f7a2 UNDO: better formatting for notice instructions
darcs-hash:20080626215308-34904-3dc92c082d793a92f3d3521f83ef38c009432d0b.gz
2008-06-26 17:53:08 -04:00
Evan Prodromou
877f56851c better formatting for notice instructions
darcs-hash:20080626215308-34904-872bd73f57b618e9f5670d47ee26da993f81a431.gz
2008-06-26 17:53:08 -04:00
Evan Prodromou
e9dd281735 add a bit of instructions
darcs-hash:20080626215204-34904-04b3c1508c0265d47f7a01c5d0d99f9a4b1d1535.gz
2008-06-26 17:52:04 -04:00
Evan Prodromou
d34fc127a5 better handling of too-long messages
darcs-hash:20080626214654-34904-68a52888deaaca54fe39bcd77ae51997aa3a3959.gz
2008-06-26 17:46:54 -04:00
Evan Prodromou
f4a0c2b801 limit rss streams to 100 items by default
darcs-hash:20080626213018-34904-d5efe7ae9489afa9f07e0336902c713ac731d948.gz
2008-06-26 17:30:18 -04:00
Evan Prodromou
c2d20ccdd8 new version number
darcs-hash:20080626205409-34904-62ff39380f8fc22085825d0cee5fe8cf356459e5.gz
2008-06-26 16:54:09 -04:00
Evan Prodromou
5527d6b535 lost a couple of variables
darcs-hash:20080626203935-34904-bf73b91cc008b28a0d0d2187dfaa346784c23afd.gz
2008-06-26 16:39:35 -04:00
Evan Prodromou
48cac45fd9 don't bother with subscription hoohaw; just ask the user to do it
darcs-hash:20080626203103-34904-19ef53bc734622a310a705608f3e227e2f387904.gz
2008-06-26 16:31:03 -04:00
Evan Prodromou
ec4a6c7812 fancy URLs for IM settings
darcs-hash:20080626184931-34904-d83ce6fc0f3d126929e01804dafea466249b329b.gz
2008-06-26 14:49:31 -04:00
Evan Prodromou
7a973f93a3 add a function to show current address
darcs-hash:20080626184055-34904-05d1ef61bcf973b4b2c234b08708fd8c62805c2a.gz
2008-06-26 14:40:55 -04:00
Evan Prodromou
faf02d5126 stub for jabber_is_subscribed
darcs-hash:20080626183117-34904-62bd1ba2aab5cf8a0d351b3b600369fec7956b3f.gz
2008-06-26 14:31:17 -04:00
Evan Prodromou
f5caccc827 show checkbox as checked or not
darcs-hash:20080626182705-34904-893d72f480c330beb2d8f871da0d2cd9b902ffbf.gz
2008-06-26 14:27:05 -04:00
Evan Prodromou
1152a0f680 move text out of input, into a separate span
darcs-hash:20080626182231-34904-e8d139c2a8b5cd07fa0179b0bcf5cd41f1a1217b.gz
2008-06-26 14:22:31 -04:00
Evan Prodromou
c20bcca0c5 get rid of label on checkbox, just include it as contents
darcs-hash:20080626181726-34904-c21801c5f2a74b6e66130308cdc106429cf7f43c.gz
2008-06-26 14:17:26 -04:00
Evan Prodromou
db2d79cd31 some UI changes to the IM settings
darcs-hash:20080626181144-34904-87503e70e6705b06ebb6c19910583f4fba1b22e0.gz
2008-06-26 14:11:44 -04:00
Evan Prodromou
b7d927cd41 correct confirm code
darcs-hash:20080626152044-34904-2724922671149ab7ee40241d96199d80e2ecc1fe.gz
2008-06-26 11:20:44 -04:00
Evan Prodromou
d195c49d96 use jabber.php more from xmppdaemon
darcs-hash:20080626150336-34904-bfa5ec8740ba1edf60c34e1ef6aafdfd73fc99a2.gz
2008-06-26 11:03:36 -04:00
Evan Prodromou
6910737760 misunderstood host versus server
darcs-hash:20080626080626-34904-e6783597cc1317894d9f6a301edf3ef69c529ce9.gz
2008-06-26 04:06:26 -04:00
Evan Prodromou
64ba09f9a3 handle host !
darcs-hash:20080626075920-34904-0aad06d788f8dbf3a03d17752ba49d866322594e.gz
2008-06-26 03:59:20 -04:00
Evan Prodromou
cdcfdc8cb4 confirmation code sent by web user, not xmppdaemon
darcs-hash:20080626073530-34904-e56c156737db036b0de4bd6e396833bf044cb865.gz
2008-06-26 03:35:30 -04:00
Evan Prodromou
510ae5f3fb use jabber library from xmppdaemon program
darcs-hash:20080626070703-34904-b6c6a9b1df39f09221c450dcb3d32f6da6e2df5e.gz
2008-06-26 03:07:03 -04:00
Evan Prodromou
b560759df1 subscribe before sending confirmation message
darcs-hash:20080626064646-34904-d9b9bba1994626cc242e1ed7222762e8e3a90543.gz
2008-06-26 02:46:46 -04:00
Evan Prodromou
ae18afc070 less tricky with recoverpassword
darcs-hash:20080624220626-34904-94cb8a4cd1f1a7a96e78ab57e760f8de42f4eaca.gz
2008-06-24 18:06:26 -04:00
Evan Prodromou
bb3c796c25 url for confirmation email is better, fancy url
darcs-hash:20080624220335-34904-2c4089bf6d1b37b6f613ce89c6fad104727e7487.gz
2008-06-24 18:03:35 -04:00
Evan Prodromou
90583f31af rudimentary recoverpassword system
darcs-hash:20080624215033-34904-d5576bf55da26df44f0580c3759ed3edd8597506.gz
2008-06-24 17:50:33 -04:00
Evan Prodromou
5650d698be using bogus attribute of $rm
darcs-hash:20080624040234-34904-bf5e87a55ee94c74b840c6a62e78e476c7b5f8d3.gz
2008-06-24 00:02:34 -04:00
Evan Prodromou
cdeddb6ffc think && was binding too closely in remembered_user
darcs-hash:20080624040058-34904-0f16041ec545e1a42384178f6cd52edcae967d2a.gz
2008-06-24 00:00:58 -04:00
Evan Prodromou
1db5ba0576 check session name COOKIE before ensuring session
darcs-hash:20080624034906-34904-a21bab1db498d69c616606126f6b788a2188b1e2.gz
2008-06-23 23:49:06 -04:00
Evan Prodromou
25a6f240a4 better cookie building
darcs-hash:20080624033223-34904-39ffa0aebcb9d173a7e5dd09870681ebb6e7313d.gz
2008-06-23 23:32:23 -04:00
Evan Prodromou
fcd473a1a3 set user takes a nickname, not a user object
darcs-hash:20080624032818-34904-bf8c5594c42c797820e080250c955645a5a84aa1.gz
2008-06-23 23:28:18 -04:00
Evan Prodromou
25b9085efe change some things around to see if we can get the cookies right
darcs-hash:20080624032408-34904-1437e0359bd81c780e8ab12bdcbd1f9d8c87ef1c.gz
2008-06-23 23:24:08 -04:00
Evan Prodromou
8cc7e4723d force session again and correctly get ID
darcs-hash:20080624031746-34904-3719874e1e0afa201e5c81e267531f0768ddacd9.gz
2008-06-23 23:17:46 -04:00
Evan Prodromou
ae2603ec13 use the correct field for Remember_me
darcs-hash:20080624031057-34904-7a2597a8f56d9d49ad8f126c55058893a922c89f.gz
2008-06-23 23:10:57 -04:00
Evan Prodromou
b26316589c typo in name of common_set_cookie
darcs-hash:20080624030834-34904-6efc827f64aebc23a1d2f3602c562fff69b9a0df.gz
2008-06-23 23:08:34 -04:00
Evan Prodromou
97b016387b bad function call
darcs-hash:20080624030741-34904-e5b601dd4d76b367ae09a61923b062f6a36702f7.gz
2008-06-23 23:07:41 -04:00
Evan Prodromou
91a3598972 switch order for checkbox, instructio
darcs-hash:20080624030034-34904-bdcb6197d2050bc37f9daaf6f849aed5890bce53.gz
2008-06-23 23:00:34 -04:00
Evan Prodromou
be3a44651c implement rememberme functionality
Added a checkbox on login or register to remember the current user. If
the login is successful, this sets a cookie with a random code (saved
in the DB). If they come back, and they aren't logged in "normally",
we check to see if they have a rememberme cookie. If so, we log them
in.

However, they can't change settings -- cookie theft is too prevalent.
So we mark a session as having a "real" (password or OpenID) login, or
not. In settings pages, we check to see if the login is "real", and if
not, we redirect to the login page.

darcs-hash:20080624025234-34904-ad20001bf35bf41fcb63a0c357fd929aacc55fdb.gz
2008-06-23 22:52:34 -04:00
Evan Prodromou
e330eb50d2 more robust handling of new JIDs
darcs-hash:20080624015616-34904-c1ff985257c8c57aacf68439488d628a8b4d2e38.gz
2008-06-23 21:56:16 -04:00