New revs

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #810, on June 5th, 2011, 11:42 PM »
rev 797
(5 files, 30kb) (mainly because of binary changes.)

* The stats area in the board info center was way too crowded. Turned the area into an unordered list. (BoardIndexInfoCenter.template.php)

! The mini Wedge logo didn't have the strike-through line in 'we'. (other/images/minilogo.png, images/minilogo.png)

! The main menu icons for login and logout had disgracious corners. (other/images/sprite-menu-32bit.png, images/icons/sprite.png)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #811, on June 7th, 2011, 05:12 PM »
rev 798
(273 files, 304kb) (mainly because near enough every PHP file had to be touched)

This has taken me all day to do. (There were problems accessing the server recently...)

! Sync to SMF 10595
 ! r10547 The cookie shouldn't be reset. (Subs-Auth.php, Subs-Login.php) (In our case, we get to remove a chunk of code that they kept because we don't have to do PHP 4.3.2 specific tests...)

 ! r10548 Search strips so much it may end up with nothing! (Search2.php)

 ! r10549 Minor smiley misalignment fixed. (sections.css) [Bug 4727] (The img.smiley class may live better somewhere else, not sure.)

 ! r10553 "A few trivial fixes as per bug reports topics." (Profile.template.php, PersonalMessage.template.php)

 & r10557 Small clearer text. (Help.english.php)

 ! r10561 Updated [SiNaN]'s name as per SMF credits. (Credits.php)

 ! r10562 A necessary language file was not loaded when using read_tgz_data() function outside Packages area. (Subs-Package.php) [Bug 4732]

 ! r10564 Testing change for the wiki links and redirects. (Admin.php) (Plus I reinstated the change I broke from before.)

 ! r10565 Updates of readme files (readme_*.html) (We may want to keep these for the future, so I updated them with their new content and licence, but I left all the instances of SMF alone for now... I think I got everything.)

 ! r10566 This one didn't have a commit note but it ensures the board ordering for membergroup access is in the right order - it wasn't necessarily the case in either MySQL/InnoDB or PostgreSQL. (ManageMembergroups.php)

 ! r10569 I quote SVN: "Tweaked the install/upgrade/convert readme's for added grooviness." (readme_install.html, readme_update.html, readme_convert.html, readme_upgrade.html) (Not sure anyone even reads these though... the convert one was missed from the other changes, and the upgrade one was missed in this commit)

 ! r10570 Fixing the HTML5 validation link (index.template.php) [Bug 4740]

 ! r10571-2, r10574 Tweak how the URL is preprocessed to ensure it doesn't damage OpenID.

 ! r10573 Members only with manage membergroups permission could create groups that inherit from or based of off protected groups, and members having manage membergroups and moderate forum members could register members protected groups as their primary group. (ManageMembergroups.php, ManageRegistration.php, Subs-Members.php)

 ! r10576 Beginning the version bump saga. (index.php, install.php)

 ! r10580 All those headers changed in Sources/ and index/SSI/payment gateways (many files)

 ! r10582 Upgrader should now check for @version in index.php rather than the old file header (upgrader.php)

 ! r10583, r10585 Language files get version bumped, template files get version bumped, then they decided to add the new header... so two sets of big-ass commits. (Didn't version bump the language files new in Wedge)

 ! r10586 Make sure the right version is examined for 'view file versions' (Subs-Admin.php)

 ! r10588 Themes code should also be detecting the version format correctly too. (Themes.php)

 ! r10589 Templates don't have to be compared between their filename and their contents, we can use the version number listed inside now.

 ! r10591 More header cleanups, including a couple that I managed to miss. (Calendar.php, SplitTopics.php, Subs-Captcha.php, Subs-Graphics.php) (But still no Class-Graphics.php since I killed that.)

 ! r10593 Adding a missing die-if-not-declared test (Subs-MessageIndex.php, Subscriptions-*.php) (And they did some spacinazi changes, but I already fixed those anyway, plus I did it in all three payment gateways, rather than just the one.)

 ! r10595 Version bumps including for tests. (Search.php, Search2.php, SearchAPI-*.php, ssi_examples.php)



@ Not sync'd
 ! r10543 Tweak converter name (vbulletin 3)

 ! r10544 Copyright testing function changes, these had already been removed anyway and in any case functionality changed - they still figure out the version of SMF for SSI, we don't bother. (Oh, and removing $txt['am'] and $txt['pm'] again, probably due to unsync'd local copies)

 ! r10545 Fixing the previous break as well as adding ® to the trademark in the manual - which we don't have now.

 ! r10546 Credits updates that we're not keeping (non dev updates)

 ! r10550 Some minor style fixes that weren't relevant to us (mostly Core)

 ! r10551 Removal of the manage-copyright stuff, plus changing the footer - we've already done this to something we're happy with.

 ! r10552 PostgreSQL specific changes

 ! r10554-5 1.1 fixes and version bump, and patch

 ! r10556 Upgrader fixes for renaming old theme, and fixing known themes - but none of the code being changed even exists in our upgrade.sql, leads me to believe it's not relevant to us anyway.

 ! r10558 PostgreSQL specific changes to ManageSmileys.php

 ! r10559 Changing LLC to NPO in installer and upgrader scripts

 ! r10560 Mark Rose is also now credited as a consulting dev. Haven't seen a commit - but to be fair I have seen a fair amount of thoughts from him on improvement. Have not added to SMF cons. dev. yet but no objections to doing so.

 ! r10563 My name is already in our credits fully as opposed to just a pseudonym...

 ! r10567 PostgreSQL connections do allow spaces in usernames and passwords...

 ! r10575 Minor changes to news_readme.html that don't apply (version bump, moving the copyright)

 ! r10577 license.txt contains New BSD licence. Since we're not adopting that to start with...

 ! r10578 Spacinazi that we already did in a few files.

 ! r10579 Minor code cleanup in the converters only.

 ! r10581 Adding a space to their copyright in the installer footer... we already had it looking nice anyway.

 ! r10584 They changed the code I mentioned in r10544, so that SSI doesn't display a copyright at all as opposed to just using a versionless one like we do.

 ! r10587 We don't have to bump a ton of version numbers throughout the system to decache scripts and stylesheets.

 ! r10590 Changing the license.txt file in the theme directories to be BSD... but we never had those files in the first place.

 ! r10592 Tidy up the header in ssi_examples.php, but I already did that.

 ! r10594 Minor cleanup in headers (one file doesn't exist, the other was spacinazi I already fixed)



@ Did not add the new header to Wedge Media files, last time I played in there I broke things, so staying out of that for now.
 
@ Nao, please take a look at the change made in QueryString.php, urldecode not being called on URLs may have consequences for Pretty URLs I'm not currently aware of.

@ r10568 has not been included, and I'm not sure about including it. Basically it's the apparent "uberfix" for jumping edit boxes in IE, with the caveat that IE6/7 ends up with a funny width of some 600 odd px wide edit boxes. I don't think I can replicate it on Wedge so don't want to shove something like this in without good reason...
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 #812, on June 7th, 2011, 11:34 PM »
These are some of my things from the last few days... Not committing everything because the Arial redesign isn't complete yet.

rev 799
(22 files, 28kb)

* Don't load media strings anymore when viewing the Who's Online page, and test for generic sub-actions before falling back to the 'unknown' action. Added RSS action to the list. (Subs-Media.php, Who.language.php, Media.language.php)

* Rewrote album listings for a cleaner look. (Subs-Media.php, media.css)

* My credit avatar needed some margin. Otherwise, in some situations it could end up glued next to Pete. We like each other, but not that way! (Credits.php)

* Retooled the footer to only use unordered lists. (index.template.php)

* Moved admin-only "RD" stat line in the footer, to its own list item, allowing to style it individually. (Subs.php)

* Spacinazi. (Class-JSMin.php, Display.php, Load.php, ManageMaintenance.php, Aeva-Sites-Custom-Example.php, module.audio-video.real.php, Subs-Aeva-Sites.php, Subs-Exif.php, MessageIndex.php, Profile-Modify.php)

! SMF bug: it should be class="new_win", not rel="new_win". (Display.template.php)

* Don't bother forcing a font size on buttons if they already have their own custom class, which we can style... (Display.template.php)

- W3C validator doesn't seem to like <link type="contents">, even though it says it doesn't mind. Whatever. (index.template.php)

* Turned $txt['hello_member_ndt'] into a sprintf'ed string, because some languages put the greeting after the name, not before it. (index.template.php, index.language.php)
Re: New revs
« Reply #813, on June 8th, 2011, 11:58 AM »
rev 800
(88 files +1-1, 72kb)

* Dull, boring and annoying update of many, many files just to fix/update their description in the header. Typos, British vs American spellings, confusing descriptions and anything needing some normalization was my target.

(index.php, Subscriptions-*.php, Admin.php, Ajax.php, BoardIndex.php, Class-DB.php, Credits.php, Groups.php, Jseditor.php, Jsoption.php, Lock.php, Login2.php, Logout.php, ManageMaintenance.php, ManageNews.php, ManageScheduledTasks.php, MoveTopic.php, PackageGet.php, PersonalMessage.php, Poll.php, PrettyUrls-Filters.php, Profile-Modify.php, Profile-View.php, Profile.php, Search.php, Security.php, Sticky.php, Subs-Auth.php, Subs-Boards.php, Subs-Editor.php, Subs-List.php, Subs-Login.php, Subs-Menu.php, Subs-PrettyUrls.php, Subs-Recent.php, Unread.php, Unreadreplies.php, ViewQuery.php, ViewSMFile.php, Who.php, subscriptions.php, TEMPLATES: Announce, Calendar, Display, Errors, Login, ManageAttachments, ManageMembers, PersonalMessage, Printpage, Recent, Search, Settings, Stats, Themes)

! Wedge didn't indicate the version number in the footer, even though it was supposed to. (index.french.php, index.english.php)

* Renamed XMLHttp action to Ajax, as it's more natural to most users. (index.php, Ajax.php, Load.php, QuoteFast.php, SplitTopics.php, Stats.php, script.js, topic.js)

- Removed CACHE_SUFFIX constant. This was a leftover from rev 290 which I never remembered to delete. (index.php)

- Removed version checking from Search features. This was only for compatibility with SMF2 betas... (SearchAPI-Sphinx.php, Search.php, Search2.php, SearchAPI-Custom.php, SearchAPI-Fulltext.php, SearchAPI-Standard.php)

* Modified $forum_version and WEDGE_VERSION to make them work as intended. (index.php, other/install.php, other/smfinfo.php, other/upgrade.php, Calendar.php, Feed.php, ManageServer.php, Aeva-Foxy.php, ManageMedia.php, Subs-Media.php, PackageGet.php, Packages.php, Subs-Package.php, ManageMedia.template.php)

* Missing HTML5 conversions, and typonazi. (other/readme_*.html, other/ssi_examples.shtml)

* Updated/fixed help language files. (Help.english.php, Help.french.php)
Re: New revs
« Reply #814, on June 8th, 2011, 08:09 PM »
rev 801
(32 files, 34kb)

! ManageMembergroups sync didn't convert $smcFunc to wesql. (ManageMembergroups.php)

* Reworked admin home page layout. (Admin.template.php, admin.js, admin.css)

* Started using the new header on a few more files. (other/.htaccess, other/Sphinx/*.php,

* Some more SMF to Wedge renaming. (Admin.language.php)

* Typonazi. (Suggest.php, EmailTemplates.english.php, ManageSettings.french.php)

* Spacinazi/indenazi. (media folder's index files, other/upgrade.php, Class-DB.php, ManageBans.php, ManagePermissions.php, ManageServer.php, ManageMedia2.php, Subs-OpenID.php, Subs-Package.php, Themes.php, Who.php, SSI.php, Admin.template.php, EmailTemplates.language.php, index.language.php, sha1.js)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #815, on June 9th, 2011, 03:40 AM »
Revision: 802
Author: arantor
Date: 02:39:49, 09 June 2011
Message:
! Several small bug fixes to the hooks code, notably that remove_hook couldn't ever remove a given hook because it actually requires the filename to be passed to it too, so it can be matched, plus the discrepancy of add_hook not explicitly checking for .php entries, plus handling some undefined variables. (Subs.php)

+ Addon Manager now understands a new XML entry in addon-info.xml files, specifically for managing hooks. (Packages.php, Subs-Package.php, Packages.english.php)

@ Documentation forthcoming in the New Revs - Comments thread, along with the one known bug at this time.
----
Modified : /trunk/Sources/Packages.php
Modified : /trunk/Sources/Subs-Package.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/languages/Packages.english.php

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #816, on June 9th, 2011, 09:11 PM »
rev 803
(22 files -1, 24kb)

- Removed support for SMStats (remote logging of server stats at install time). We don't want to bother you with that, and we wouldn't be checking out the stats anyway... (index.php, install.php, upgrade.php, SMStats.php, Install.language.php)

* Renamed fetchSMFiles to fetchRemoteFiles, and other SMF to Wedge changes. (upgrade.php, upgrade.sql, ScheduledTasks.php, ManageScheduledTasks.language.php, ModerationCenter.language.php)

* Added some documentation to color functions in WeCSS. Just in case I forget later... And actually added 'WeCSS' to the header. (Class-CSS.php)

* Removed the hackish linear-gradient fix, as the new generic prefix system replaces it flawlessly. (Subs-Cache.php, zoom.css, zoom.webkit.css)

* That action list was getting long... Replaced it with an array. (Subs-Package.php)

! Add-on manager doesn't need to fully parse the file name for hooks, as remove_hook() does it by itself. (Subs-Package.php)

! $sourcedir wasn't in the globals, and remove_hook() didn't behave the same way as add_hook(). Now it's fixed. Also removed a line in add_hook(). I hate seeing a variable set up when it's not needed, eheh. (Subs.php)

* French translation. (Packages.french.php)

* SMF bug: using $txt['smf_stats_14'] (a leftover from SMF 1.0's era?) when the exact same text was available in the same file, as $txt['most_online']. Fixed that, but also changed the Stats template to use most_online_ever instead of most_online in a place where it made more sense. (Stats.language.php, Stats.template.php)

@ Note: the 'readme' action is not in the add-on manager's action list. That's because it's not repeated in the second area... I figured it's a special case.

(NB: the Note got logged into the changelog as well... I usually make sure this doesn't happen, sorry!)
Re: New revs
« Reply #817, on June 10th, 2011, 05:25 PM »
rev 804
(4 files, 7kb)

* Finished implementing the small changes to how the packman deals with hookfile. As is customary with me, this is totally untested. Mwaha. (Packages.php)

! Whoever thought enabling magic quotes through the .htaccess was a bloody idiot. (other/.htaccess)

* Typonazi, parenazi. (ManageSettings.php, Subs-Package.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #818, on June 12th, 2011, 01:23 AM »
! Sync to SMF 2.0 final. I really can't be arsed to do this commit by commit, so I won't.
 ! Fix of editor width in IE8, basically any time a relative width is applied to the editor, it goes funny. The fix is IE8 specific... and only after applying it did I wonder if it shouldn't just have been added to the IE8 specific markup and be done with it >_< It's there for now, can always change it later. (Themes.template.php, SendTopic.template.php, Profile.template.php, PersonalMessage.template.php, ModerationCenter.template.php, ManageNews.template.php, ManageMembergroups.template.php, ManageBoards.template.php, Display.template.php, Admin.template.php)

 ! Non-broken version of admin compare-versions function. I took the liberty of removing the switch-and-bait that changed 2.0 RC1-1 into 2.0 RC1.1. (admin.js)

 ! Fix of language guidance in permission string. (ManagePermissions.english.php)

 ! Non-broken version compare in package manager. In the end we're going to be ditching this because we should really use the proper PHP function instead. (Subs-Package.php)

 ! Search should also use the non-broken version of version compare. (Search2.php)

 ! Make sure to use the correct URL when just after we've uploaded an avatar and we go back to the profile (as on a custom folder it would be wrong) (Profile-Modify.php)

! Things not included
 ! Removal of comma in Who.template.php because 'name, name, and name' was wrong apparently. Our template's been gutted since then.
 ! Applying $context['theme_variant_url'] in the board index for expand/collapse images as not relevant to us.
 ! PostgreSQL fix to manage membergroups because PostgreSQL returns F for false instead of 0 like MySQL, and the code doesn't like it.



@ Important: While this represents the final change set until 2.0 final, I need to do one last sweep of the files to verify that we got everything we had to get and that anything we didn't, is dealt with appropriately. I'm pretty happy that it's a non-issue, but given what's been said before now, I have to be sure.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #819, on June 14th, 2011, 11:01 AM »
rev 806 - the "hard drive & PC loss aftermath" commit (i.e. I actually re-used the installer for the first time this year...)
(7 files, 8kb)

! 'Last modified' in topic pages should use the on_* time format. (Display.php)
! Styling generation failed during install because the folder variable wasn't set. (install.php)
! Runtime error due to outdated insert_id call. (db_aeva.php)
! jQuery 1.6 was used in hardcoded areas, instead of the official Wedge version (1.5.2). (upgrade.php, install.php, repair_settings.php)
- Removed last remains of the SMF stats setting in the installer. (install.php)
* Strange '/' thing in the installer can be confusing. Replacing it with the word 'slash'. (Install.language.php)
Re: New revs
« Reply #820, on June 15th, 2011, 10:06 AM »
rev 807
(3 files +1-1, 10kb)

* Renamed media/generic_images to media/icons. Makes more sense... (media/icons)
- Cleaned up the Aeva installer, got rid of all compatibility code (SMF 1, non-MySQL, SMG...), in order to make it easier to merge into the main Wedge installer later. (db_aeva.php, install.sql)

@ Note to Thorsten: obviously, the importer will need to re-use code that I just deleted from the Aeva installer. I think you have the file...
Re: New revs
« Reply #821, on June 16th, 2011, 10:07 AM »
rev 808
(5 files, 7kb)

+ Added a $boarddomain variable in the installer (it's basically $boardurl without the http:// stuff), and fixed the first board's default pretty URL. (install.php, install.sql)
! Don't use dfn tags inside descriptions... They are for the description itself. (ManageBoards.template.php, Admin.language.php)
Re: New revs
« Reply #822, on June 16th, 2011, 11:42 AM »
rev 809
(13 files +1-1, 23kb)

! Forgot to re-order the action list after renaming the Ajax action. (index.php)

* Moved general settings from Aeva installer to regular installer. Also moved wedbPackages init code to where it should be. (db_aeva.php, install.sql)

! The installer said it was going to "install 0.1"... Added Wedge back into it. (install.php)

* Moved version_warning style to the actual CSS file. Also semicolonazi. (install.php, upgrade.php, install.css)

! Temp fix for Wedge crash during media database creation. (Subs.php)

! French translation was... drunk or something. Not my fault! (Install.french.php)

* Renamed ViewSMFile to ViewRemote. (ViewRemote.php, TEMPLATES: Admin, ManageSmileys, ModerationCenter, Packages, Themes)

! reqWin failed in Firefox 4, and opened a popup window instead. Yikes. Only drawback is that this fix doesn't work while installing (the 'success' test). (script.js)

@ Important: once we merge the installers together, we'll have to remove the SMF !== SSI test in Subs.php
@ Even more important: try to figure out why Firefox 4 fails on reqWin when installing.
Re: New revs
« Reply #823, on June 16th, 2011, 11:44 PM »
rev 810
(5 files, 7kb)

! Undid the reqWin fix. Better have a popup window than nothing at all. (script.js)

! Fixed the installer's Firefox bug in a different way, by setting window.event at the time the click event is triggered. Seriously, jQuery really should normalize that one... (Install.language.php)

! Forgot to commit the install.css file.

* Saving a couple of bytes. Hopefully. (admin.js)
Re: New revs
« Reply #824, on June 18th, 2011, 07:44 PM »
rev 811
(21 files, 20kb)

! Some version numbers weren't correctly updated. (current-version.php, detailed-version.php, Subs-Package.php)

* Renaming 'integrations' and 'integration hooks' to just 'hooks' once and for all. Also removed the last reference to the old 'hook constant'. (Activate.php, Class-Editor.php, Errors.php, Load.php, Login2.php, Profile-Actions.php, Profile-Modify.php, Subs-Login.php, Subs-Members.php, Subs-Post.php)

! Fixed a French string. (ManagePermissions.french.php)

* Minor Packer-aware optimizations. (admin.js)