-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathENHANCEMENTS
44 lines (30 loc) · 1.13 KB
/
ENHANCEMENTS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
###########
YouTube like Mail inbox for reference
##############
Security:
Configure::write('Session.cookie', 'CAKEPHP'); (different name)
##############
// Be nice to the user:
// Starting and trailing whitespaces are ignored and removed before validation and/or save
foreach($this->data[$this->alias] as $fieldname => $value) {
if(in_array($fieldname, array(
// Ignore trailing spaces on any fields with the exception of:
'location',
'description',
)
) === false) {
$this->data[$this->alias][$fieldname] = trim($value);
}
}
##############
Gravatar instead of own Avatar
Instead of Avatarable Behavior used now internally, use git submodule or git subtree or something like that and Miles Johnsons Uploader plugin http://www.milesj.me/resources/script/uploader-plugin#Attaching-Files-To-Models-Auto-Upload
###################
After password change => force logout
###################
Post/Redirect/Get Post-Redirect-Get PRG
http://en.wikipedia.org/wiki/Post/Redirect/Get (profiles => shouts)
http://teknoid.wordpress.com/2008/06/24/retaining-a-search-string-in-the-url/
##############
Last Shouts Widget
##############