New revs

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1440, on March 6th, 2012, 06:02 PM »
(5 files, 3KB)

Revision: 1440
Author: arantor
Date: 06 March 2012 17:01:49
Message:
! Stupid typo in member preferences saving; didn't actually affect behaviour though. (ManageMemberOptions.php)

! Certain member preferences should be disabled depending on admin options. (ManageMemberOptions.php)

! New menu item present if the user specifies a 'home page'. Needs an icon though. (Subs.php, ManageSettings.php, index+ManageSettings language files)
----
Modified : /trunk/Sources/ManageMemberOptions.php
Modified : /trunk/Sources/ManageSettings.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Modified : /trunk/Themes/default/languages/index.english.php
Re: New revs
« Reply #1441, on March 7th, 2012, 12:47 AM »
(8 files, 17KB)

Revision: 1441
Author: arantor
Date: 06 March 2012 23:47:23
Message:
! Rework the admin search slightly so instead of recognising two areas (sections and settings), it recognises three (sections, settings and preferences), and also makes the preferences searchable, at least the admin side. (Admin.php, Admin language file)

! SMF bug: when registering a user, don't just almost-always set their quick reply to 'show but off by default', actually don't set it at all, so that the admin's choice will be honoured. (Register.php)

! Update the hooks actually in play now. (ManagePlugins.php)

! Preferences now indicate where they expect to be shown, for use elsewhere. Maybe this might be used in the main UI itself, don't know yet. (ManageMemberOptions.php)

! The profile / look and layout area now uses the settings indicated by the master settings from the admin area. (Profile-Modify.php, Profile.template.php, Settings.template.php)
----
Modified : /trunk/Sources/Admin.php
Modified : /trunk/Sources/ManageMemberOptions.php
Modified : /trunk/Sources/ManagePlugins.php
Modified : /trunk/Sources/Profile-Modify.php
Modified : /trunk/Sources/Register.php
Modified : /trunk/Themes/default/Profile.template.php
Modified : /trunk/Themes/default/Settings.template.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Re: New revs
« Reply #1442, on March 7th, 2012, 01:09 AM »
(8 files, 1KB - probably because it's not lots of changed lines, but decently sized chunks of just removed lines)

Revision: 1442
Author: arantor
Date: 07 March 2012 00:08:10
Message:
! Remove the old reset-options area from admin, now that it's just not needed. Surprising amount of code saved actually. (All files)
----
Modified : /trunk/Sources/Admin.php
Modified : /trunk/Sources/ManageMemberOptions.php
Modified : /trunk/Sources/Themes.php
Modified : /trunk/Themes/default/Themes.template.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/Admin.french.php
Modified : /trunk/Themes/default/languages/Themes.english.php
Modified : /trunk/Themes/default/languages/Themes.french.php
Re: New revs
« Reply #1443, on March 7th, 2012, 11:35 AM »
(3 files, 1KB)

Revision: 1443
Author: arantor
Date: 07 March 2012 10:34:39
Message:
! No point showing the quick moderation bar in search results if there's no results to apply them to. (Search.template.php)

! Legacy code from profile changes. (Profile-Modify.php)

! Force the admin area not to offer the sidebar menu, it's either the nice icons or the dropdowns, there's no need for anything else. (Admin.php)
----
Modified : /trunk/Sources/Admin.php
Modified : /trunk/Sources/Profile-Modify.php
Modified : /trunk/Themes/default/Search.template.php
Re: New revs
« Reply #1444, on March 7th, 2012, 12:14 PM »
(3 modified, 1KB)

Revision: 1444
Author: arantor
Date: 07 March 2012 11:13:47
Message:
! One of the smileys shown to users in the editor was using the wrong code. Harmonised that to use the correct code. (Subs-BBC.php)

! Password too short message wasn't appropriately loaded so not only would the sprintf fail, it would also drop an error. (Reminder.php, Subs-Members.php)
----
Modified : /trunk/Sources/Reminder.php
Modified : /trunk/Sources/Subs-BBC.php
Modified : /trunk/Sources/Subs-Members.php
Re: New revs
« Reply #1445, on March 7th, 2012, 02:33 PM »Last edited on March 7th, 2012, 03:22 PM by Arantor
(7 files, 2KB)

Revision: 1445
Author: arantor
Date: 07 March 2012 13:32:18
Message:
! Convert 'don't show avatars' and 'don't show signatures' to 'show avatars' and 'show signatures'. Incidentally also fixed the fact the hide avatars option didn't actually work due to not having certain things in scope. I even attempted French translation, should be OK, at least Google Translate says it's OK. (install.sql, ManageMemberOptions.php, Display.template.php, PersonalMessage.template.php, Profile.template.php, Profile language file)
----
Modified : /trunk/Sources/ManageMemberOptions.php
Modified : /trunk/Themes/default/Display.template.php
Modified : /trunk/Themes/default/PersonalMessage.template.php
Modified : /trunk/Themes/default/Profile.template.php
Modified : /trunk/Themes/default/languages/Profile.english.php
Modified : /trunk/Themes/default/languages/Profile.french.php
Modified : /trunk/other/install.sql

@ Spent more time chasing down the stupid bug as to why show_avatars didn't work than I spent on the rest of the changes in this commit, oops.

@ Oops also, I thought I'd updated Profile.template.php somewhere for one of these edits, but I didn't. Instead it's actually to fix a bug in the issue-warning screen where the selectbox wouldn't become enabled when selecting the send message checkbox.
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 #1446, on March 7th, 2012, 06:25 PM »
My turn :P This week's worth of changes on my side. Not much but I wasted plenty of time on bugs.

rev 1446
(12 files, 15kb)

* Cleaned up the Stats page. Shortened the HTML and CSS, fixed JavaScript no longer working, things like that. (script.js, stats.js, Stats.template.php, sections.css)

* Tweaked two-columns to be more useful by turning them into a single column when the screen is too narrow. To tell you the truth, I was considering hardcoding the width to have them automatically become a single column through the magic of floats, but it's probably better this way. (index.css)

+ Don't know if it's for the best (?), but added support for class, id and style parameters to title, title2 and cat blocks. (index.template.php)

! Fixed various skin issues introduced by the swapping between Wine and Weaving. Title font size should no longer be bigger than category fonts, and .cat/.title2 definitions should no longer be duplicated. Can't remove duplicates automatically though. See, a skin may want to unextend a parent class, but a skin below it (i.e. a grandchild) might want to re-extend it, so I'd have to test for extends, then duplicate extends, then test whether there are unextends between them... If someone's willing to write some code with decent speed, then I'm all ears. No one? That's what I thought. Then be careful when inheriting classes, it's all I'm asking for. ;) (Wine/index.css)

* Restored rounded corners on .wrc in Weaving. Really, I should be using them either most of the time or never at all, instead of the mix it was. (index.css, Wine/index.css)

* Details unworthy of... being detailed. (ManageMembers.template.php, index.french.php, ManageSettings.french.php, Class-CSS.php)
Re: New revs
« Reply #1447, on March 7th, 2012, 07:00 PM »
rev 1447
(5 files, 1kb)

* Spacinazi. (ManageMemberOptions.php)

* Translation. (Admin.french.php, index.french.php, ManageSettings.french.php)

! IE6 needed a tweak for two-columns, like IE7. (index.ie6.css)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1448, on March 8th, 2012, 04:32 PM »
(9 files, 3KB)

Revision: 1448
Author: arantor
Date: 08 March 2012 15:32:03
Message:
! Converted 'don't warn me on new replies' to 'warn me on new replies' (on by default, of course) (install.sql, ManageMemberOptions.php, Post.php, Post2.php, Profile language file)

! Allow the list of fonts in the editor to be customisable with relative ease. (install.sql, Class-Editor.php, ManagePosts.php, Admin language file)
----
Modified : /trunk/Sources/Class-Editor.php
Modified : /trunk/Sources/ManageMemberOptions.php
Modified : /trunk/Sources/ManagePosts.php
Modified : /trunk/Sources/Post.php
Modified : /trunk/Sources/Post2.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/Profile.english.php
Modified : /trunk/Themes/default/languages/Profile.french.php
Modified : /trunk/other/install.sql

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #1449, on March 8th, 2012, 06:21 PM »
rev 1449
(5 files, 3kb)

* Moved editor's select box styling to a class. (Class-Editor.php, editor.css)

* Made sure not to show these select boxes' titles in the actual dropdowns. (post.js)

! Fixed a bug where select boxes would open centered on a random zone of the dropdown instead of the top, when the current selection is a data-hidden entry (i.e. the select box title, are you still following?) Adds an extra 8 bytes to the gzipped sbox file... Well, it's still at 2250 bytes or so. We still knock the competition out. Not that they care. Or that they consider us competition. (sbox.js)

* Translation. (Admin.french.php)
Re: New revs
« Reply #1450, on March 8th, 2012, 08:18 PM »
rev 1450
(7 files +1, 16kb)

* A few fixes to Wine and Warm styling. Also updated mini-logos with the new Wedge logo style. Still haven't touched the logos in Weaving, though... (minilogo.png, minilogow.png, Wine/index.css, Warm/index.css, Wuthering/index.css)

* Optimized font gathering code for post editor. (Class-Editor.php)
Re: New revs
« Reply #1451, on March 9th, 2012, 10:19 AM »
rev 1451
(1 file, 1kb)

! Tweaked installer. It will now disable data compression while installing, and get rid of the uncompressed files after installation. You can now enable data compression by simply choosing the general install setting of compressing data to save bandwidth, which will control both default settings of enableCompressOutput and enableCompressData. You can fine-tune this after installation, of course. (install.php)

+ Added a proper browser language detector for the installer. I've added manually a list of all SMF language packs and their associated language ID, so theoretically you should be able to use an Install.language.php file from SMF into your language folder, and be able to install in your language. Well, this is all only for the glory of Pete, because I doubt we'll be bundling French into the default Wedge package, so the problem of installing Wedge and getting the French version by default is only going to happen in the SVN version... (install.php)

@ Obviously, I'd appreciate it if you guys could confirm that the installer will now default to English for you... ;) It does default to French for me.
Re: New revs
« Reply #1452, on March 9th, 2012, 06:57 PM »
rev 1452
(3 files, 2kb)

* Modified $language variable for skins. Now it requires setting up a list of languages accounted for Wedge.org in the <language> tag of a skin.xml file, with the first in the list acting as fallback language. Documented in Warm's skin file as usual (even though I don't make use of it... Maybe I should put it inside comments?) (Subs-Cache.php, index.css, Warm/skin.xml)
Re: New revs
« Reply #1453, on March 9th, 2012, 07:23 PM »
rev 1453
(2 files, 2kb)

+ Upon Pete's suggestion, added a few classes to poll results. All bars get a '.bar1', '.bar2' etc class, accessed through '.poll .barX' when styling, and every other bar gets an additional 'alt' class (access through .poll .alt, or just don't use it and use CSS3 to do that, but I suspect no one would). Heck, it's even shorter than the earlier HTML, because I removed the statsbar class which is no longer needed to style these. Also removed some stat styling leftovers from the RTL file. I never test that file anyway... (Display.template.php, index.rtl.css)
Re: New revs
« Reply #1454, on March 12th, 2012, 12:38 AM »
rev 1454
(5 files, 3kb)

+ Added skin-controlled on-the-fly HTML replacements. Currently, the feature supports three types of search: a normal search, a regular expression search (accepts regex meta-characters and so on), and a regular search with a special addition: <we:nested:tag_name> will match against any HTML, and will end as soon as all of the nested tag_name tags are closed (if any). It may not sound exciting, but at least it's very fast (on a regular Wedge page, replacing all unordered list items with a recursive element will only take one millisecond.) Also needs documenting... (Subs-Cache.php, Subs-Template.php)

* A minor error in my own custom.css file made me add another bug to the CSS code this week... (sections.css)

* Indenazi. (index.template.php)