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 - Arantor
8386
Quote
People don't multi-quote enough. People don't know the pleasure of replying everything line by line.
You know what? Because people use the Quote bbc button and it's so complicated.
Click+hold, drag, Ctrl-C, click, [quote], Ctrl-V, [/quote] hahahaah

Yes, it's... awkward. It's why so many people just hit quote then reply to the message as a whole.

Funny you should mention this, because this came up in SimpleDesk's dev cycle and for the same reason - folks that were used to email wouldn't like the reply-with-quote, and I kind of mulled it over and figured it'd be awesome to do but could never figure out how to make it work sanely for the forum users (the strong SMF background)

I love the idea, though I'm concerned it might be a paradigm shift too far for some folks... hmm.
8387
Features / Re: New revs
« on September 12th, 2010, 04:52 PM »
Quote
I'm not very confident that we can actually keep both the internal Wysiwyg editor AND add support for others without too much hacking
Neither am I and that wasn't the plan. The current editor is... broken. So either we fix it or we kill it and replace it a new one. A better one.
Quote
BTW, what tool do you use to do your site-wide searches, and search & replace events?
Notepad++
Quote
Also, in PersonalMessage.php:
Yeah, implemented that one in a bit of a hurry (I think I said it was ugly). Should be $_GET really, and I don't think I did it as a form submit because of the rest of the form on the page. Though perhaps something properly AJAXish would be better? (And more prone to breaking on custom themes). In any case I'm so used to SMF interchanging $_REQUEST, $_GET and $_POST for the wrong reasons :(

Haven't looked at the changes yet, but all sounds good to me.
8388
Off-topic / Re: Post count fever
« on September 12th, 2010, 04:47 PM »
You know I did it once on sm.org right? Followed up by over 300 posts the next day...
8389
Features / Re: New revs
« on September 12th, 2010, 02:14 PM »
Yes, in an editor object, because the only time I ever actually saw it used outside of coming from the editor was for shoutboxes.
Quote
Is this, anyway, really going to help the adding of TinyMCE, CKEditor etc?
Yes, now the underlying reason. Code that comes from one of those will need some kind of treatment before it can be saved - I don't know about you, but I'm hesitant to trust anything from the user. Don't care what it is, I don't want to trust it without some kind of processing.

I need to sit down and look at exactly what is sent, to figure out what changes are going to be necessary to the preparse routine, but some changes *are* going to be required, and having all the code in one place means it's possible to keep all the related behaviour together.

I'm not sure yet exactly we'll handle the editors, whether we just have one only, or multiple (since that was something YSF wanted), or fix up the WYSIWYG editor in some fashion, so I haven't yet made it trivial to switch behaviours, but having the class structure will make it easier in the long run.
Posted: September 12th, 2010, 01:47 AM

Revision: 89
Author: arantor
Date: 01:17:59, 12 September 2010
Message:
! Change 'stars' to 'rank images' (including renaming the star*.gif files though left the table column alone) (yabbse_to_smf.sql, install_2-0.sql, upgrade_1-0.sql, ManageMembers.english.php)
----
Added : /trunk/Themes/default/images/rank.gif (Copy from path: /trunk/Themes/default/images/star.gif, Revision, 87)
Added : /trunk/Themes/default/images/rankadmin.gif (Copy from path: /trunk/Themes/default/images/staradmin.gif, Revision, 87)
Added : /trunk/Themes/default/images/rankgmod.gif (Copy from path: /trunk/Themes/default/images/stargmod.gif, Revision, 87)
Added : /trunk/Themes/default/images/rankmod.gif (Copy from path: /trunk/Themes/default/images/starmod.gif, Revision, 87)
Deleted : /trunk/Themes/default/images/star.gif
Deleted : /trunk/Themes/default/images/staradmin.gif
Deleted : /trunk/Themes/default/images/stargmod.gif
Deleted : /trunk/Themes/default/images/starmod.gif
Modified : /trunk/Themes/default/languages/ManageMembers.english.php
Modified : /trunk/other/converters/yabbse_to_smf.sql
Modified : /trunk/other/install_2-0.sql
Modified : /trunk/other/upgrade_1-0.sql

(ticket 36)
Posted: September 12th, 2010, 02:18 AM

Revision: 90
Author: arantor
Date: 04:16:31, 12 September 2010
Message:
+ Dropdown user menu added (Display.php, Display.template.php, index.english.php, topic.js)
----
Modified : /trunk/Sources/Display.php
Modified : /trunk/Themes/default/Display.template.php
Modified : /trunk/Themes/default/css/index.css
Modified : /trunk/Themes/default/languages/index.english.php
Modified : /trunk/Themes/default/scripts/topic.js

It's not overly pretty, but I think it's better handled than my original mod; firstly, it doesn't show in wireless when it isn't meant to, and it is now JS controlled, but the JS isn't particularly elegant - and for some reason it's not dropping smf_scripturl into the URL when it begins with ? - I didn't see a need to spell out $scripturl every time in the array. Note that since PHP 5 rather than 5.1 or 5.2 has been stated, I'm using a homebrew limited version of json_encode to pump the array of data.

I also didn't have the catbg header bar I had before, didn't see a need to throw that into the mix as well. Works in FF and Chrome, too late tonight to test any more (or debug that last oddity)
Posted: September 12th, 2010, 05:19 AM

Revision: 91
Author: arantor
Date: 12:41:48, 12 September 2010
Message:
! Actual fix for who's online glitch (removing previous fix too) (Who.php, Who.template.php)
----
Modified : /trunk/Sources/Who.php
Modified : /trunk/Themes/default/Who.template.php
Posted: September 12th, 2010, 01:42 PM

-sigh-

I just realised my fix works for those folks who use JS but not for those who don't. Argh, why did they do it the stupid way they did it? (One form, two dropdowns, and never checking between the two sets of values)

Revision: 92
Author: arantor
Date: 13:13:44, 12 September 2010
Message:
! Additional fix to who's online for non JS users (Who.php, Who.template.php)
----
Modified : /trunk/Sources/Who.php
Modified : /trunk/Themes/default/Who.template.php
8390
Features / Re: New revs
« on September 12th, 2010, 01:22 AM »
Quote
I understand that... But what is the logic behind having to call the editor class when preparsing an innocent string for use in parse_bbc()?
When it comes to having it in a random file that seems disjointed, or at least tied to the behaviour in which it is most directly used, I'd rather have it attached to where it is used.

There is no use within SMF/Wedge where preparsecode is used where the content hasn't come from the editor. Sure... it could come from a feed or a mod, but in that case it's still coming from an arbitrary place. As far as I'm concerned, we talking about the function being just in a file, versus being with the code that hands content to it.

For me it's a step towards creating some semblance of order where, right now, I don't really see it.

I'd like to think we can make a useful changelog for people much like the AeMe one, in a way that's fun as well.
8391
Features / Re: New revs
« on September 11th, 2010, 08:51 PM »
Quote
(If there isn't, then I'll kill you dead for it )
There is. My argument is, ultimately, that instead of loading a seemingly unrelated file every time you want to handle editor input, you load the editor's code - see, if you're instantiating the editor, you used Subs-Editor.php, but when you handled the editor's input... you load Subs-Post.php. The only logic I can find for that is that preparsecode was originally in Subs-Post.php for SMF 1, when Subs-Editor.php didn't exist.

I liked how you did the AeMe changelog though I'll admit I never read it in detail.

I hadn't committed the PM stuff, I wanted to get opinions on it before I did since it wasn't very cleanly done. I'll commit in a minute and we can pick the bones out of it later.
Posted: September 11th, 2010, 08:30 PM

Revision: 88
Author: arantor
Date: 19:50:12, 11 September 2010
Message:
+ Dropdown selector for PM viewing mode (PersonalMessage.php, PersonalMessage.template.php, PersonalMessage.english.php)
----
Modified : /trunk/Sources/PersonalMessage.php
Modified : /trunk/Themes/default/PersonalMessage.template.php
Modified : /trunk/Themes/default/languages/PersonalMessage.english.php


Note: the strings were copied from the Profile, rather than loading the profile strings. I figured if we like this, we'll subsequently remove the option from the profile area anyway, but for now it's duplicated.
8392
Features / Re: New revs
« on September 11th, 2010, 03:09 PM »
Oops, I broke it :P

Are we going to update changelog.txt?

Also, did you see my proposed changes for the PM UI? (http://tracker.wedge.org/?sa=ticket;ticket=18.msg253#msg253)
8393
Features / Re: New revs
« on September 11th, 2010, 01:53 PM »
SlammedDime has had commit access for years, just he never uses it.
8394
Features / Re: New revs
« on September 11th, 2010, 03:56 AM »
There was me checking one by one since I tried to commit myself in the interim...

Revision: 83
Author: arantor
Date: 00:35:43, 11 September 2010
Message:
! Remove support for the no longer maintained Turck MMcache (it doesn't even support PHP 5.x properly not having been updated in 7 years) (smfinfo.php, Admin.php, Load.php, ManageServer.php, Subs-Admin.php, ManageSettings.english.php)
----
Modified : /trunk/Sources/Admin.php
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Sources/Subs-Admin.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Modified : /trunk/other/tools/smfinfo.php
Posted: September 11th, 2010, 01:36 AM

Revision: 84
Author: arantor
Date: 01:02:19, 11 September 2010
Message:
! Minor optimisation for participation icons (Recent.php)
----
Modified : /trunk/Sources/Recent.php
Posted: September 11th, 2010, 02:02 AM

Revision: 85
Author: arantor
Date: 02:55:32, 11 September 2010
Message:
! Fix bug with the top selector in Who's Online not working (Who.php)
----
Modified : /trunk/Sources/Who.php


As reported by http://www.simplemachines.org/community/index.php?topic=399617.0
8395
Features / Re: New revs
« on September 10th, 2010, 09:30 PM »
The slow way; I look through the log, rev by rev, and then file by file. Though depending on the level and nature of changes I have been known to run two revs together, such as when we were fixing CRLFs, when I'd run two revs together to see the total changes between them.

Basically whatever looks like it'll give me the best clue as to what's changed in the code.
8396
Features / Re: New revs
« on September 10th, 2010, 09:07 PM »
You know you fixed up an easter egg in r79, right? :P ssi-examples.php, line 52...
8397
Features / Re: New revs
« on September 9th, 2010, 03:06 PM »
Revision: 74
Author: arantor
Date: 14:05:08, 09 September 2010
Message:
! Removal of easter eggs:
 the clock (Calendar.php, Calendar.template.php, index.php)
 the Books of Unknown (Karma.php, index.php)
 i am the administrator. (Post.php)
 iamanoompaloompa (Subs-Menu.php)
 chocolate cake (Subs-Members.php)
 fake integrate_egg_nog (ViewQuery.php)
 OH NOES (ManageMaintenance.php)
----
Modified : /trunk/Sources/Calendar.php
Modified : /trunk/Sources/Karma.php
Modified : /trunk/Sources/ManageMaintenance.php
Modified : /trunk/Sources/Post.php
Modified : /trunk/Sources/Subs-Members.php
Modified : /trunk/Sources/Subs-Menu.php
Modified : /trunk/Sources/ViewQuery.php
Modified : /trunk/Themes/default/Calendar.template.php
Modified : /trunk/index.php


As per http://wedge.org/up/6160/easter-eggs/
8398
Features / Re: New revs
« on September 9th, 2010, 02:49 PM »
Re r73... so, then, where the select is later set to value = 0 to reset it, what happens? The idea is that in WYSIWYG mode it should retain its value until deselected, or in non WYSIWYG mode it should deselect.

Chrome didn't care, FF didn't like it either (before). Will have to test whether it works now.
8399
Features / Re: New revs
« on September 9th, 2010, 12:57 AM »
Revision: 65
Author: arantor
Date: 18:56:14, 08 September 2010
Message:
+ Add conversion from quick to inline full editor in Quick Reply (Display.php, index.css, Display.template.php, index.english.php, topic.js)
! Fix change of state in buttons if bbcode disabled (editor.js)
----
Modified : /trunk/Sources/Display.php
Modified : /trunk/Themes/default/Display.template.php
Modified : /trunk/Themes/default/css/index.css
Modified : /trunk/Themes/default/languages/index.english.php
Modified : /trunk/Themes/default/scripts/editor.js
Modified : /trunk/Themes/default/scripts/topic.js


The edit to editor.js was to fix some errors coming up in FF when bbcode was disabled entirely. I couldn't reproduce in RC3 public, so I'm not 100% sure it isn't a regression caused by the editor changes, but it all functions as it's supposed to now, so not sure what to make of that.
Posted: September 8th, 2010, 07:57 PM

Revision: 66
Author: arantor
Date: 19:51:49, 08 September 2010
Message:
! Fixed font size selector to actually work as intended (Class-Editor.php)
----
Modified : /trunk/Sources/Class-Editor.php
Posted: September 8th, 2010, 08:55 PM

Revision: 67
Author: arantor
Date: 23:57:05, 08 September 2010
Message:
+ Add post time on wireless views (Wireless.template.php)
----
Modified : /trunk/Themes/default/Wireless.template.php
8400
Features / Re: New revs
« on September 8th, 2010, 03:17 AM »
My bad, I was thinking of ?= rather than ?:, ?= is non matching assertion, ?: is a subpattern, so yes it would match that.
Posted: September 8th, 2010, 12:34 AM

Revision: 63
Author: arantor
Date: 02:16:59, 08 September 2010
Message:
! Add 'banned' to possible moderation statuses in display area (in addition to 'watched', 'moderated', 'muted'
----
Modified : /trunk/Sources/Load.php
Modified : /trunk/Themes/default/Display.template.php
Modified : /trunk/Themes/default/css/index.css
Added : /trunk/Themes/default/images/warning_ban.gif
Modified : /trunk/Themes/default/languages/index.english.php