New revs

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #1380, on February 23rd, 2012, 06:40 PM »
rev 1380
(2 files, 1kb)

* Just recording privacy and tags fields for template/later use... (Display.php)

! SMF bug: loadBoard should now properly send back an error if you're trying to directly access an unapproved topic that you can't read. (Load.php)

- $context['user']['is_mod'] is set as an alias twice, without any reason. Actually three times, but the third time I'm not sure is useless. (Load.php)
Re: New revs
« Reply #1381, on February 23rd, 2012, 06:43 PM »
(Forgot a few files...)

rev 1381
(5 files, 2kb)

* Because I'm a maniac, and JavaScript can't be faster than CSS to hide something... Adding 'hide' classes to the various elements in the moderation filter wizard. (ManageModeration.template.php)

* Translation and typo fixes. (ManagePaid.french.php, ManageSettings.french.php)

! Fixed thought form buttons in IE7 and IE8. Can't make it work in IE6 for now. Screw it. (index.ie7.css, index.ie8.css)
Re: New revs
« Reply #1382, on February 24th, 2012, 05:21 PM »
rev 1382
(7 files, 8kb)

* Moved sidebar to the right in Wuthering. It basically shows that if you don't reproduce the custom macros from its parents, an inherited skin will use the default macros (and skeleton, and code overrides). It may be argued that they should inherit them silently just like CSS files, but right now I'm not sure about that. (Wuthering/index.css)

* Which brings me to... Warm explicitly requiring the sidebar macro rewrite from its parent (Wine). (Warm/skin.xml)

* And, while I'm at it, Weaving wasn't using the proper skeleton settings, with the sidebar block being incorrectly positioned in the HTML. I'm not even sure why it worked... Everybody keep this quiet all right? (index.template.php, skin.xml)

* Button bevel is now a 300x42 PNG instead of 200x42, as I found at least one oversized button (Moderation Filters page, French version) that was over 200px in width. It adds about 6 or 7 bytes to the final gzipped file. Can live with that for now... (images/theme/bevel.png)

* Indenazi. (Admin.template.php)
Re: New revs
« Reply #1383, on February 25th, 2012, 06:13 PM »
rev 1383
(1 file, 1kb)

+ Added support for a new WeCSS command, @replace. It acts pretty much the same way as @remove, except that it requires a third line for a replacement string, and it can accept partial strings such as url($images/something.png) (if you want to replace it with an image of your own), instead of a full line to remove. Tested on a few strings, works perfectly. (Class-CSS.php)
Re: New revs
« Reply #1384, on February 26th, 2012, 01:26 PM »
rev 1384
(5 files +1, 4kb)

* Moved thought.png to the image attic, and replaced it with a much smaller thought.gif. I challenge anyone to spot the difference at first sight. (thought.png, thought.gif, index.member.css)

+ Added query_see_topic to Feed, SendTopic and SplitTopics. (Feed.php, SendTopic.php, SendTopic.php -- didn't I just say that?)

! The CSS parser incorrectly added an extra slash to $root paths. (Subs-Cache.php)
Re: New revs
« Reply #1385, on February 26th, 2012, 01:40 PM »
rev 1385
(3 files, 1kb)

* Replaced the one @remove with @replace in Warm, and moved it to the end, to make it more prominent as a simple example of CSS replacements. Did the same for Wuthering, and also moved the one remaining @remove to the end. (Warm/index.css, Wuthering/index.css)

* Turning that h6 header into my current font of choice -- if only to keep the number of different fonts used to a minimum. The fallback is still acceptable, although I had to settle for less weight. (index.css)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1386, on February 26th, 2012, 03:30 PM »
(7 files, 5KB)

Revision: 1386
Author: arantor
Date: 26 February 2012 14:30:13
Message:
! Fix undefined variable $uid in query_see_topic that was causing it to break for non admins. (Load.php)

! Allow admins to set a number of posts before signatures become visible - users under the post count can still view and edit it but it won't be displayed normally unless they're an admin (primary group only for performance) or they have enough posts, it will show in their profile if it's their profile or you're looking at someone else's profile and you have permission to edit their signature. It sounds more complex than it really is. (Load.php, ManageMemberOptions.php, Profile-Modify.php, Profile.template.php, Help/ManageSettings/Profile language files)
----
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/ManageMemberOptions.php
Modified : /trunk/Sources/Profile-Modify.php
Modified : /trunk/Themes/default/Profile.template.php
Modified : /trunk/Themes/default/languages/Help.english.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Modified : /trunk/Themes/default/languages/Profile.english.php
Re: New revs
« Reply #1387, on February 26th, 2012, 05:44 PM »
(9 modified, 8KB)

Revision: 1387
Author: arantor
Date: 26 February 2012 16:44:26
Message:
+ Personal messages settings are now in their own page, under Members. I haven't yet pulled everything in, but the most important stuff is there - and it should also disable PMs throughout the system otherwise. It also doesn't clean up things like profile settings, or disabling them through the main permissions area, but we'll get there. (index.php, install.sql, Admin.php, Load.php, ManageSettings.php, Subs.php, Welcome.template.php, Admin and ManageSettings language files)
----
Modified : /trunk/Sources/Admin.php
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/ManageSettings.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/Welcome.template.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Modified : /trunk/index.php
Modified : /trunk/other/install.sql
Re: New revs
« Reply #1388, on February 26th, 2012, 05:50 PM »
(2 added, 12KB - only because of the way it encodes binary content)

Revision: 1388
Author: arantor
Date: 26 February 2012 16:49:43
Message:
+ The missing images from the new personal messages page that I forgot to commit, oops. (personal_messages_off.png, personal_messages_on.png)
----
Added : /trunk/Themes/default/images/admin/personal_messages_off.png
Added : /trunk/Themes/default/images/admin/personal_messages_on.png
Re: New revs
« Reply #1389, on February 26th, 2012, 06:04 PM »
(3 modified, 2KB)

Revision: 1389
Author: arantor
Date: 26 February 2012 17:04:22
Message:
+ PM permissions should be hidden from the main permissions screen when PMs are disabled (ManagePermissions.php)

+ PM page now has the draft saving options+permissions in it. (ManageSettings.php, ManageSettings language file)
----
Modified : /trunk/Sources/ManagePermissions.php
Modified : /trunk/Sources/ManageSettings.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Re: New revs
« Reply #1390, on February 26th, 2012, 08:02 PM »
(10 modified, 3KB)

Revision: 1390
Author: arantor
Date: 26 February 2012 19:02:05
Message:
! Newsfader is no longer configured from Current Theme but in the News and Newsletters section of the ACP. (install.sql, ManageNews.php, Boards.template.php, Settings.template.php, Admin+ManageSettings+Themes language files)
----
Modified : /trunk/Sources/ManageNews.php
Modified : /trunk/Themes/default/Boards.template.php
Modified : /trunk/Themes/default/Settings.template.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/Admin.french.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Modified : /trunk/Themes/default/languages/ManageSettings.french.php
Modified : /trunk/Themes/default/languages/Themes.english.php
Modified : /trunk/Themes/default/languages/Themes.french.php
Modified : /trunk/other/install.sql
Re: New revs
« Reply #1391, on February 27th, 2012, 02:55 AM »
(7 modified, 20KB)

Revision: 1391
Author: arantor
Date: 27 February 2012 01:55:01
Message:
! Board access UI now works as expected, also fixed issue with respect to needing a disallow option (for cases where you wanted to allow one thing but disallow it without denying it) (install.sql, Load.php, ManageBoards.php, ManageBoards.template.php, Help and ManageBoards language files)

@ There is still stuff in the board loader that references board privacy but it's using the old groups structure. Not sure if we're supposed to be using that or not.
----
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/ManageBoards.php
Modified : /trunk/Sources/Subs-Boards.php
Modified : /trunk/Themes/default/ManageBoards.template.php
Modified : /trunk/Themes/default/languages/Help.english.php
Modified : /trunk/Themes/default/languages/ManageBoards.english.php
Modified : /trunk/other/install.sql
Re: New revs
« Reply #1392, on February 27th, 2012, 03:00 AM »
(2 files, 1KB)

Revision: 1392
Author: arantor
Date: 27 February 2012 02:00:25
Message:
! Actually use a help string I'd written up, as well as format it a touch better. (ManageBoards.template.php, Help language file)
----
Modified : /trunk/Themes/default/ManageBoards.template.php
Modified : /trunk/Themes/default/languages/Help.english.php
Re: New revs
« Reply #1393, on February 27th, 2012, 02:11 PM »
(1 file, 1KB)

Revision: 1393
Author: arantor
Date: 27 February 2012 13:11:10
Message:
! CAPTCHA can occasionally fail with a fatal error. (Subs-Captcha.php)
----
Modified : /trunk/Sources/Subs-Captcha.php
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 #1394, on February 27th, 2012, 03:13 PM »
rev 1394
(2 files, 2kb)

* Added a fixed class to the profile page's gender select box. I think Pete wanted that ;) It required adding support for custom classes in the source file, so I did that. (Profile-Modify.php, Profile.template.php)