Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Nao
1936
Archived fixes / Re: Log throws errors
« on January 17th, 2014, 07:23 PM »
If you'te in a hurry to fix (and want to test before I commit...), you can simply edit the file, and add this after the 'insert(' line and before the array declarations:

Code: [Select]
'{db_prefix}pretty_urls_cache',

Yes, I actually managed to forget the table name... :^^;:
1937
Features / Re: Language revs
« on January 17th, 2014, 07:19 PM »
Did you forget to sign-off your commit...? :whistle:
1938
Archived fixes / Re: Log throws errors
« on January 17th, 2014, 05:10 PM »
Oops, too quick of a fix then? ;)

I'll look into it once I'm back on my PC.
1939
Features / Re: Language revs
« on January 17th, 2014, 03:35 PM »
[master 850a44f]

Uncache string. (index)
1940
Features / Re: Plugin revs
« on January 17th, 2014, 03:33 PM »
Replaced a few arrow entities with UTF8 equivalents. (calendar/Calendar.template.php, wedgedesk/*)
1941
Features / Re: New revs
« on January 17th, 2014, 03:30 PM »
[master cfe342b]
 8 files changed, 18 insertions(+), 18 deletions(-)

Replaced a few arrow entities with UTF8 equivalents. (MessageIndex.php, Unread.php, UnreadReplies.php, ModerationCenter.template.php, Post.template.php, Profile.template.php, Recent.template.php, Search.template.php)
1942
Features / Re: New revs
« on January 17th, 2014, 03:17 PM »
[master b2f3843]
 2 files changed, 13 insertions(+), 14 deletions(-)

! Fixed the one remaining mysqli_query() call in Wedge. Phew... (Subs-Template.php)

* Spacinazi. (ModerationCenter.php)
1943
Archived fixes / Re: Log throws errors
« on January 17th, 2014, 03:17 PM »
Thanks! I didn't even remember not having fixed that one yet...
1944
Features / Re: New revs
« on January 17th, 2014, 01:34 PM »
[master 6f15e12]
 8 files changed, 78 insertions(+), 31 deletions(-)

* Applied SMF 2.0.6 security patches where needed. I rewrote the Register part to account for Wedge peculiarities and, well, be shorter. (index.php, Logout.php, Profile-Actions.php, Profile-Modify.php, Profile.php, Register.php, Subs-Members.php)

! Inverted profile variables when resizing a large avatar. Wasn't me! (Profile-Modify.php)

* Variable simplification. Should this be a Wedge constant rather than westr constant, though..? This has its uses in a few places. (Class-String.php)

@ I have a feeling these anti-XSS headers are a bit outdated...
1945
Features / Re: Language revs
« on January 17th, 2014, 12:56 PM »
I'll be uploading the plugins repo to github soon, too.

I'm currently working on integrating the SMF 2.0.6 security patch (been postponing that for too long, and I can't make anything public without it being as safe as I know it can.)
1946
Features / Re: New revs
« on January 17th, 2014, 11:13 AM »
[master 357cf0f]
 4 files changed, 31 insertions(+), 3 deletions(-)

Add an 'uncache' action to the Admin menu (yes, I think it's a funny name.) It allows admins to purge all cache (CSS, JS, PHP, etc.) all at once. I should have added that one long ago... Importantly, from now on we can be nicer on cache expiration dates, and thus on server load. Also obsoletes the Flush Lang Cache plugin, BTW. (index.php, Subs-Cache.php, Subs.php, index.english.php)
1947
Other software / Re: SMF reaction to 'unused, useless globals'
« on January 17th, 2014, 10:44 AM »
Quote from emanuele on January 17th, 2014, 10:39 AM
Technically you *can* find and fix anything manually, IDE and fix-globals are a way to automate the task.
Something like 1500 unneeded globals..? I don't think so. ;)
Quote from emanuele on January 17th, 2014, 10:39 AM
For example, I'm currently scanning the whole code looking for input or selects without a label:
https://github.com/emanuele45/Dialogo/tree/labels
and I'm doing it manually... 1572 input tags.
There are two drawbacks with that method:
1) it takes a shitload of time,
Which is why I wrote the script in the first place. I figured it'd be faster than even going through my files with Netbeans or something. (It was.)
Quote from emanuele on January 17th, 2014, 10:39 AM
2) every time you start something like that on an SMF-like codebase you end up rewriting small or large parts of the code you encounter (in that branch I already did it twice and I almost just started LOL).
Yeah, it's one of my 'minor' character issues, too... :P
I did that for the calendar plugin, for instance. Was fixing some CSS, ended up rewriting something else.
1948
Features / Re: New revs
« on January 17th, 2014, 10:40 AM »
[master e1c0ca2]
 1 file changed, 3 insertions(+), 3 deletions(-)

Fixed plugin CSS cache code. It was nicely broken, and could additionally conflict with other plugins or even main files. Bad! (Subs-Cache.php)
1949
Features / Re: New revs
« on January 17th, 2014, 10:37 AM »
[master 2b676c7]
 3 files changed, 42 insertions(+), 36 deletions(-)

Made calendar homepage a bit more bearable to the human eye. (Calendar.template.php, calendar.css)
1950
Features / Re: Plugin revs
« on January 17th, 2014, 01:16 AM »
[master e5d4039]
 3 files changed, 28 insertions(+), 25 deletions(-)

! Proper new location for rev.txt. (wedgedotorg/WedgeDotOrg.php)

! Fixed table width. Also, missing language string. (calendar/Calendar.template.php)

! Fixed calendar crashes. Requires latest Wedge revision. (calendar/Subs-Calendar.php)