Graham Knop
ed04b99872
remove WebGUI::Utility
2010-09-07 13:18:49 -05:00
Graham Knop
6aa26c2e44
remove WebGUI::Utility::isIn
2010-09-07 12:33:15 -05:00
Graham Knop
29d1908e15
remove Tie::CPHash
2010-08-24 16:20:10 -05:00
Graham Knop
ca7321f068
remove WebGUI::Utility::isInSubnet
2010-08-24 16:20:09 -05:00
Colin Kuskie
11ac13c349
Prune out a method call from db->dbh->quote_identifier.
2010-08-14 17:51:25 -07:00
Colin Kuskie
005b9da1ac
Move session->env->getIp into session->request->address
2010-07-01 13:11:01 -07:00
Colin Kuskie
5e502fee53
Merge commit ' 17ce3572bf' into WebGUI8. All tests passing.
2010-06-30 18:43:27 -07:00
Colin Kuskie
385931aaab
Merge commit ' f2e0fb509a' into WebGUI8. Some tests still failing.
2010-06-27 22:32:31 -07:00
Colin Kuskie
e5b82bc861
Merge commit ' 4969f31e1f' into WebGUI8
2010-06-26 14:37:31 -07:00
Colin Kuskie
30e869b66d
Better cleanup of Inbox messages. Encapsulate all SQL in Inbox/Message. Fix workflow. Upgrade script to cleanup state table. Fixes bug #11595 .
2010-06-07 10:44:12 -07:00
Doug Bell
cc87552a22
weaken all session refs
2010-06-01 16:23:48 -05:00
Colin Kuskie
d2b6a7fff1
Fix a bug in how groups using IP filters cache the user Visitor. Also, significant speedups in group lookups. Fixes bug #11552 .
2010-05-16 22:11:33 -07:00
Graham Knop
cd8456ee99
speed up user instantiation
2010-04-19 18:57:02 -05:00
Doug Bell
829bb7739e
add back string literal identifier
2010-04-19 18:55:45 -05:00
Doug Bell
b767824711
cache: s/delete/remove/
2010-04-19 18:51:10 -05:00
Doug Bell
165be5b389
remove eval{} from caching code
2010-04-19 18:41:13 -05:00
Doug Bell
92cd204b31
fix composite cache keys and remove setByHttp
2010-04-19 14:59:24 -05:00
Graham Knop
2400f19099
Merge branch 'master' into WebGUI8
2010-04-13 07:50:02 -05:00
Colin Kuskie
c835344813
Fixing require loops. Moose overrides for canEdit using packages.
2010-04-08 15:13:13 -07:00
Graham Knop
45ca61b7c2
more import cleanups
2010-03-10 12:59:52 -06:00
Graham Knop
a22162b895
clean up Tie::CPHash imports
2010-03-10 12:59:51 -06:00
Colin Kuskie
cb5144f809
Check for a valid group before using it.
2010-02-03 17:11:59 -08:00
Graham Knop
60a4a9b140
mark $session->datetime->time as deprecated and remove its use from core code
2009-10-05 20:56:37 -05:00
JT Smith
ebb6134c2d
bug fixes
2009-09-25 22:50:59 -05:00
JT Smith
ccff9c7014
Converted all existing uses of cache.
2009-09-25 22:24:33 -05:00
Colin Kuskie
1e98e34128
RE: Profiles, public != visitor. fixes #10907
2009-09-06 19:37:25 -07:00
Colin Kuskie
fea30d0db0
Fix getProfileUrl, so it works with preventProxyCache. fixes #10877
2009-09-02 19:07:54 -07:00
Patrick Donelan
8ece5d63c6
User::delete should remove corresponding rows from inbox_messageState when delete user inbox rows
2009-08-19 07:00:31 +00:00
Colin Kuskie
c7a4c173cc
Add tests for new SMS address method.
2009-08-16 16:11:13 +00:00
Patrick Donelan
388a0b1267
Fixed a whole lot of brokenness in Inbox SMS/Email notifications
...
WebGUI::Inbox::Message::create now passes isInbox flag to WebGUI::Mail::Send::create
so that per-user notification settings get used
SMS Gateway setting field is now 'text' instead of 'email' so that user can enter a
properly formed value (such as 'myemailgateway.com', which is not an email address).
Added SMS notification template as distinct from email notification template because
SMSs should not be HTML and in general you will want to make your SMS notification
message a lot shorter than your html email notification message (160 char limits in
many countries). As a result, SMSs are now sent as separate emails to gateway rather
than being CCd on email notification.
Added smsGatewaySubject setting because many SMS Gateways use email subject for
authentication. For consistency, also added Email notification email subject.
Fixed handling of different combinations of site-wide sendInboxNotificationsOnly with
per-user receiveInboxEmailNotifications and receiveInboxSmsEmailNotifications.
* sendInboxNotificationsOnly && receiveInboxEmailNotifications = email notification
* sendInboxNotificationsOnly && !receiveInboxEmailNotifications = no email
* !sendInboxNotificationsOnly = ignore receiveInboxEmailNotifications
* In all cases, SMS is optional and only dependent on receiveInboxSmsEmailNotifications
Updated tests and i18n
2009-08-16 09:42:35 +00:00
Yung Han Khoe
1ea08936f4
fixed #9851 : New Users have blank profile field privacy settings
2009-06-03 15:24:20 +00:00
Colin Kuskie
61832b62b9
When a user is deleted, delete any address books as well. Uses the API to get the
...
Addresses, too. With tests and upgrade script to take care of old address books.
2009-06-03 02:12:23 +00:00
Colin Kuskie
1e52f21fcb
Fix errors in the getInstancesForObject and code that used it.
2009-05-21 15:20:25 +00:00
Graham Knop
d011dde621
add some convenience methods and improve user deletion code
2009-05-21 14:49:23 +00:00
Graham Knop
206a45e7c2
don't query the database for profile field existance on every access
2009-05-20 19:57:08 +00:00
Doug Bell
1afff052c4
added new API methods to User for easier use
2009-05-15 18:10:22 +00:00
Doug Bell
1f96d708bf
user-services
2009-05-15 18:03:03 +00:00
Doug Bell
0cf79f7264
added new API methods to User for easier use
2009-05-15 18:02:53 +00:00
Doug Bell
93819cda0c
Adding new API to User. get update enable disable
2009-05-14 22:16:50 +00:00
Colin Kuskie
f54e975c14
Enable WebGUI sites to send SMS messages as inbox notifications.
2009-05-13 21:55:33 +00:00
Colin Kuskie
62df11ac91
Remove old legacy code.
2009-04-07 17:29:46 +00:00
Colin Kuskie
eab3417396
Add POD to bring POD coverage up to 100%
2009-04-01 03:11:06 +00:00
Colin Kuskie
fa15f92b68
Fix POD for User.pm
...
Add POD for HTML.pm
2009-03-31 03:20:57 +00:00
Colin Kuskie
eff2d5295b
Don't make the 2nd Friend object unless it is needed.
2009-03-29 04:13:33 +00:00
Colin Kuskie
bc3b204d9b
Add a method to return emails for Inbox notifications.
...
Method is driven by profile data and settings.
2009-03-16 11:17:58 -07:00
Doug Bell
a58300f8d5
fixed #9852 : Users can accept private messages from Visitor, but Visitor cannot send messages
2009-03-04 03:28:48 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Doug Bell
30158b7f8d
fixed: Collab groupToEditPost shouldn't be empty
...
fixed: WebGUI::User->isInGroup has bad defaulting behavior
2009-02-17 23:21:30 +00:00
Colin Kuskie
41da738e0e
Fix handling of multi-form and multiple select form elements by emitting
...
a hidden form variable to make sure the form element was in the generated form.
Changes in User and ProfileField to support this.
2009-01-26 21:03:23 +00:00
Frank Dillon
18dd11345c
Fixed a bug that wouldn't allow admins to save a user profile if email address is required
2008-12-23 03:35:58 +00:00