New revs

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #480, on December 30th, 2010, 10:59 AM »
rev 428

! For a reason that escapes me, Opera suddenly stopped registering arrow key presses in the auto-suggest. Using the same trick as in IE worked, though. Also fixed the Enter key possibly triggering wrongly when keydown and keypress events are called in a row. (suggest.js)
! Fixed auto-suggest popup position not being adjusted if it results in the master input's position being modified. (suggest.js)
- There's probably a good reason to calling autoSuggestActualHide() at the start of populateDiv(), but I couldn't find it. Removing it solved most of the issues associated with auto-suggest animations. (suggest.js)
Re: New revs
« Reply #481, on December 30th, 2010, 05:59 PM »
rev 429

+ Added Media Gallery and Auto-embed Core Features placeholders. This totally won't work, of course. Just wanted to make a couple of icons for future use. (The Gallery one sucks, I know.) (ManageSettings.php, ManageSettings languages, images/admin/feature_*.png)
- Removed theme_postbox() as it's SMF 1.1 emulation code. (Subs-Editor.php)
! Add BCC link was incorrectly indented in IE. (PersonalMessage.template.php)
! PM settings page was broken due to using double quotes inside an inline event. (Profile.template.php)
* At registration time, autoDetectTimeOffset() was hardcoded into the template instead of retrieved from profile.js. (Register.template.php)
* More jQuery conversions. (Packages.template.php, Register.template.php, Themes.template.php)
! Fixed news fader to show readable text in IE6 and offer better minification. (fader.js)
! IE fixes. (admin.css, ie6.css)
* Mininazi. (script.js)
* Spacinazi. (Display.template.php, Post.template.php)

@ Note: Add BCC help link seems to be broken in IE. I couldn't figure out why so far... #helf seems to fail being added to $('body') in that situation. Other occurrences work fine. I'm stumped.
Posted: December 30th, 2010, 04:47 PM

rev 430

* French translation. (ManageBoards.french.php)
* Spacinazi. (Load.php, ManageBoards.template.php)
Re: New revs
« Reply #482, on December 31st, 2010, 12:04 AM »
rev 431

+ Added a few separators in the admin menu, and made minor changes to item order. (Admin.php)
! Fixed cases where separators would appear at the beginning or end of a popup menu, or would have more than one separator in a row. (Subs-Menu.php)
- IE6 and IE7 don't support separators. Don't want to waste time on them. (ie6.css, ie7.css)
! Fixed IE6 not showing BCC help popup. (PersonalMessage.template.php, pm.js)
* Minor French language fixes. (Packages.french.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #483, on December 31st, 2010, 10:08 AM »
Revision: 432
Author: arantor
Date: 08:32:14, 31 December 2010
Message:
! Widen calendar events column (install.sql)
! Fix that bloody attachments handler even in IE (Post.template.php, editor.js)
----
Modified : /trunk/Themes/default/Post.template.php
Modified : /trunk/Themes/default/scripts/editor.js
Modified : /trunk/other/install.sql

Posted: December 31st, 2010, 09:32 AM

Revision: 433
Author: arantor
Date: 09:08:05, 31 December 2010
Message:
! Added a couple of missing tables to the protected list and fixed a potential issue with the static property not being defined. (Class-DBPackages.php)
----
Modified : /trunk/Sources/Class-DBPackages.php
Re: New revs
« Reply #484, on December 31st, 2010, 12:58 PM »
Revision: 434
Author: arantor
Date: 11:58:28, 31 December 2010
Message:
! Re-defer profile Javascript events from being inline since they have a dependency on jQuery (Profile.template.php)
+ Gravatar support (install.sql, Load.php, ManageAttachments.php, Profile-Modify.php, Subs.php, Admin.english.php, Help.english.php, Profile.english.php, Profile.template.php)
----
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/ManageAttachments.php
Modified : /trunk/Sources/Profile-Modify.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/Profile.template.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/Help.english.php
Modified : /trunk/Themes/default/languages/Profile.english.php
Modified : /trunk/other/install.sql
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #485, on December 31st, 2010, 01:07 PM »
rev 435

+ Added some padding around menu separators through a minor hack. Way more usable now. (index.css, GenericMenu.template.php)
Re: New revs
« Reply #486, on December 31st, 2010, 05:27 PM »
rev 436

* Regex simplification. (Profile-Modify.php)
* strpos() is supposedly 20% faster than the equivalent substr() test... Whatever. (Subs.php)
* French translation. (LANGUAGES: Admin, Help, Profile)
* Spacinazi. (Profile.template.php)
Re: New revs
« Reply #487, on January 1st, 2011, 03:06 PM »
rev 437

* Rewrote menu separator system to be slightly more semantic and still save a couple of bytes, taking advantage of the fact that anchor tags now accept children divs. (GenericMenu.template.php, index.css)
! Fixed links not being transformed in the support area, because getServerVersions() overwrites the corresponding $txt entry. (Admin.php)
* Minor changes. (ie7.css, editor.js, Help.french.php)

Note: the menu separator will now use only one <li>, but extra <a> and <div>'s are used. All in all the final code is shorter though, and a bit more semantic. Also, the separator lines no longer extend to the full width of the menus. Which is more stylish, I think. (Can be overridden.)
Re: New revs
« Reply #488, on January 3rd, 2011, 12:55 PM »
rev 438

- [SMF bug] Removed toggleBBCDisabled() function, as it's a SMF1 leftover. (Admin.template.php)
! Fixed year variable not getting set. (Calendar.template.php)
! A few functions were added through add_js_inline() when they were better off in add_js(). (TEMPLATES: Admin, Calendar, ManageCalendar, ManageMaintenance, ManagePaid, Packages, Post)

(I tried figuring out what that function did, to no avail. Signature settings/BBC settings are separated and their disabled BBC tags are as well, and it doesn't break anything, so I don't see the point.)
Re: New revs
« Reply #489, on January 3rd, 2011, 06:14 PM »
rev 439

* Turned e-mail verification regular expressions into a proper function and simplified those that can't access it. (install.php, smf_api.php, Activate.php, Post.php, Post2.php, Profile-Modify.php, Register.php, SendTopic.php, Subs-Members.php, Subs.php)
* Split editor.js into two files: editor.js has the Wysiwyg editor, and post.js has all of the helper functions and objects that are also used outside of Wysiwyg mode. (Class-Editor.php, editor.js, post.js)
* Spacinazi. (ManageBans.php)
! E-mails can't have surrounding whitespace. They're trimmed as a test, they should be trimmed for the real deal too. (Profile-Modify.php)
* Changed menu separator to use the proper hr tag, and added basic support for IE6 and IE7. (ie6.css, ie7.css, index.css, GenericMenu.template.php)
* Slightly improved link colors as well as IE7/8's menu hover colors. (ie6.css, ie7.css, index.css)
Re: New revs
« Reply #490, on January 4th, 2011, 12:49 AM »
rev 440

+ Since stylings are powerful theme variations, they should be allowed to call custom CSS and JS. Moved main styling (Pastel)'s CSS and JS to settings.xml and added support for such customizations. Also added {root} variable to point to the current page's root folder, regardless of the subdomain. Useful for behavior and JavaScript URLs. (index.template.php, Subs.php, css/settings.xml)
* Spacinazi & to-do list. (ManageBoards.php, ManageSettings.php, QueryString.php)
* Pixelnazi. (index.css)
* Minor code cleanup. (PrettyUrls-Filters.php, QueryString.php, Subs-PrettyUrls.php)
- For optimization purposes, two globals were unset... Twice. Kudos, SMF. (QueryString.php)
Re: New revs
« Reply #491, on January 4th, 2011, 12:53 PM »
rev 441

- Main theme link in admin menu didn't require a custom URL. (Admin.php)
+ Added a hook for admin settings search. (Admin.php)
! Moved some jQuery code to the footer. (Themes.template.php)

(Giving up on moving Logs to their own menu for now... It worked, but it required rewriting many templates and I got bored after a while and cancelled all of my changes.)
Re: New revs
« Reply #492, on January 4th, 2011, 11:14 PM »
rev 442

- Removed unused headerpadding class, and board_permissions id. (Display.template.php, ManagePermissions.template.php)
! Fixed floatright in moderation reports. (ModerationCenter.template.php)
* Turned all <div class="title_bar"> blocks into <we:title> tags that are transformed back to title_bar at runtime. (ManagePaid.php, QueryString.php, admin.css, and all 24 templates in the list)
Re: New revs
« Reply #493, on January 5th, 2011, 10:12 AM »
rev 443

+ Implemented basic overrides for <we:> blocks through stylings. Use this format: <block name="title"><start>|<end></block> (Load.php, QueryString.php, Subs.php)

Note: this isn't to piss anyone off, all right? :P It's all a proof of concept. Can be reverted after all. Now the idea is that if someone wants to re-implement Curve without using JavaScript to inject custom tags (i.e. small delay before curves show up on first load), they can do it through this. While this MAY go in the future, I don't think there's any reason NOT to use this as of now, regardless of what happens in future versions. The things with </we:title> is that it can be automatically replaced to a </div> with a single multi-file search & replace (while the other way around isn't possible :P)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #494, on January 5th, 2011, 05:36 PM »
Revision: 444
Author: arantor
Date: 16:27:33, 05 January 2011
Message:
! Bug in email checking routine returning wrong answer (Subs.php)
+ Additional hook for behavioural checking (index.php)
+ Replacement image CAPTCHA code
 - Removal of old code including old lang strings (Subs-Graphics.php, VerificationCode.php, Subs-Editor.php, ManageSettings.php, ManageSettings.english.php, ManageSettings.french.php, install.sql)
 + Adding new code including auto detection (Subs-Captcha.php, captcha/*, Class-GifAnimator.php, plus all files mentioned above)
----
Added : /trunk/Sources/Class-GifAnimator.php
Modified : /trunk/Sources/ManageSettings.php
Added : /trunk/Sources/Subs-Captcha.php
Modified : /trunk/Sources/Subs-Editor.php
Modified : /trunk/Sources/Subs-Graphics.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Sources/VerificationCode.php
Added : /trunk/Sources/captcha
Added : /trunk/Sources/captcha/captcha-grid.php
Added : /trunk/Sources/captcha/captcha-ledicons.php
Added : /trunk/Sources/captcha/captcha-recomposeanim.php
Added : /trunk/Sources/captcha/captcha-recomposeanim_cycle.php
Added : /trunk/Sources/captcha/captcha-recomposeanim_cycle2.php
Added : /trunk/Sources/captcha/captcha-recomposeanim_shadow.php
Added : /trunk/Sources/captcha/captcha-silhouette.php
Added : /trunk/Sources/captcha/captcha-simpleanim.php
Added : /trunk/Sources/captcha/captcha-stripes.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Modified : /trunk/Themes/default/languages/ManageSettings.french.php
Modified : /trunk/index.php
Modified : /trunk/other/install.sql

Posted: January 5th, 2011, 05:28 PM

Revision: 445
Author: arantor
Date: 16:36:34, 05 January 2011
Message:
! Oops, forgot to make the animated CAPTCHAs respect the 'use animated' option (captcha-recomposeanim.php, captcha-recomposeanim_cycle.php, captcha-recomposeanim_cycle2.php, captcha-recomposeanim_shadow.php, captcha-simpleanim.php)
----
Modified : /trunk/Sources/captcha/captcha-recomposeanim.php
Modified : /trunk/Sources/captcha/captcha-recomposeanim_cycle.php
Modified : /trunk/Sources/captcha/captcha-recomposeanim_cycle2.php
Modified : /trunk/Sources/captcha/captcha-recomposeanim_shadow.php
Modified : /trunk/Sources/captcha/captcha-simpleanim.php