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.
871
Off-topic / Re: WEDGEHAMMER 40,000
« on April 30th, 2013, 03:43 PM »
I will note that only a handful of those who got beta access previously actually bothered to say anything to us afterwards, distinct lack of feedback all round, really.
There is also the other problem: if we were to do a release right now, aside from all the changes still to come, you'll complain that it's buggy and/or unfinished... well, duh, we know. There are still a number of unfinished areas, still a number of things that just don't work properly, some that probably just need to be removed entirely (I'm thinking the alternate theme area, and certainly the editing-from-the-admin-panel stuff)
Right now, complaining that you can't have awesome stuff is a better complaint than complaining about how not awesome it is.
Oh, and if you were *really* interested in what we're doing, you'd be reading more of the forum and replying. Not just moaning (now on multiple occasions) about how you can't have it yet.
There is also the other problem: if we were to do a release right now, aside from all the changes still to come, you'll complain that it's buggy and/or unfinished... well, duh, we know. There are still a number of unfinished areas, still a number of things that just don't work properly, some that probably just need to be removed entirely (I'm thinking the alternate theme area, and certainly the editing-from-the-admin-panel stuff)
Right now, complaining that you can't have awesome stuff is a better complaint than complaining about how not awesome it is.
Oh, and if you were *really* interested in what we're doing, you'd be reading more of the forum and replying. Not just moaning (now on multiple occasions) about how you can't have it yet.
872
Features: Posts & Topics / Re: Auto-embedding
« on April 30th, 2013, 03:40 PM »
I've thought about making new definitions pluggable for some time.
873
Off-topic / Re: Installing free cpanel in Amazon Cloud Hosting
« on April 30th, 2013, 03:40 PM »
EC2 is virtual servers, you run up and down instances to suit demand.
I do not think cPanel would work properly on an EC2 instance anyway.
I do not think cPanel would work properly on an EC2 instance anyway.
874
Off-topic / Re: Doctor Who
« on April 30th, 2013, 04:38 AM »And WTF... why would anyone ever have a "basic mode" with the shield turned off? Doesn't that scream "ultimate user mode" to you?
Idiots like turlough learned to fly the tardis just fine.... (well, at leats as well as the doctor))
lso... do you notice that they seem to have completely forgotten about the whole "the tardis was in the repair docs when I borrowed her, and I've never quite gotten around to fixing it"
I think part of the problem is that they have more flexibility in terms of what they can do now. It's well known that having constraints to what you do makes you get more creative in solving them.
875
Features / Re: New revs
« on April 30th, 2013, 01:39 AM »
(2 files, 1KB)
Revision: 2083
Author: arantor
Date: 30 April 2013 00:38:43
Message:
! Board selection from generic settings template needed a little tweaking. (Admin.template.php)
! Better handling of empty values for generic settings and fix an edge case where an empty value could be ignored. (ManageServer.php)
----
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Themes/default/Admin.template.php
Revision: 2083
Author: arantor
Date: 30 April 2013 00:38:43
Message:
! Board selection from generic settings template needed a little tweaking. (Admin.template.php)
! Better handling of empty values for generic settings and fix an edge case where an empty value could be ignored. (ManageServer.php)
----
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Themes/default/Admin.template.php
876
Features / Re: Miscellaneous/WIP screenshots
« on April 30th, 2013, 01:33 AM »
Like my thought said, I'm in the phase of procrastinating with infractions because it's been a long, dull ride and winding me up so I add new features to pass the time.
Today's little contribution: expanding ignorable boards to be selectable by the admin.
Today's little contribution: expanding ignorable boards to be selectable by the admin.
877
Features / Re: return_raw buggy if enableCompressedOutput is on
« on April 30th, 2013, 12:47 AM »I still don't get what infractions are compared to warnings (I'm sure I'll get it once I dive into your 70-post topics ;)), but I sure hope the extra kilobyte of language strings will end up in a less 'public' file than index.english.php soon... ;)
but I sure hope the extra kilobyte of language strings will end up in a less 'public' file than index.english.php soon...
Oh, speaking about English, I really think we should add a $txt['parent_lang'] parameter. Because it's not only about English UK, or Brazilian Portuguese, or whatever... Every language has its own variations, and maybe the reason we're not seeing these variations around is precisely because it's so annoying to maintain a file for a minority..?
The only real difference as far as parent language goes is how much difference there really is. English UK vs English US has some major differences but it also has an awful lot of similarities, so it would make sense to have the parent language.
The parent language aspect does sort of require the other language to be installed. If you want to set up a forum for local events in Portugal (emphasis: Portuguese/PT), that's fine because presumably it's the parent language. But if you want to install a forum for local events in Brazil (emphasis: Portuguese/BR), you then need to install *two* language packs. This is not intuitive even if it is documented somewhere.
I don't know how significant the differences are - though I did ask for some feedback on this - but the impression I've been given is that the variations are big enough to warrant two sets of language files being maintained.
For instance, Québec people (around 10M, IIRC..?) speak French, but they have their own words for tons of things. I'm pretty sure that if they could do a Québecois language file, and set parent_lang to French, and just provide a few files with rewrites, and fall back to French for the rest, they'd be really happy to work on it.
However, that does make language loading more complex (in trying to report missing files etc.) and more importantly: is it logical or appropriate to ask those forum cases to install *both* French and the Québecois language files? (Ignore, for the moment, that French is already bundled)
Technically, English UK should be a complete full set of language files, it only isn't because I'm essentially too lazy to do so and I know that English US is *always* loaded because there must be a fallback for error-prevention-in-incomplete-translation purposes.
If the situation were reversed, and French were the only bundled language, with English US being the primary and English UK being a secondary, if I were setting up a forum for *British* users (i.e. the minority speakers), I would not want to install both English US and English UK, even if I only made English UK selectable by users.
As far as suffixes go, I've always seen where it could be practical but I've always had the feeling it's going to be a feature that no-one but you is going to use anyway :(
Posted: April 30th, 2013, 12:35 AM
Back on topic, it seems that it is working as expected elsewhere with that code, so I don't know why it is in normal execution. (At least, attachments are working even when > 4MB)
878
Features / Separating lock and unlock permissions
« on April 30th, 2013, 12:17 AM »
So I was going through my list[1] and I saw a mod that ensures only admins can unlock threads.
Now, I can't imagine this would be useful in every scenario but it seems to me that it'd be useful enough for some kinds of sites to have the lock/unlock separated into two own/any permissions rather than assuming if you can lock, you can unlock again.
Just a thought, just wondered what folks thought. It's not a killer feature, nor something I'm going to be that worried if I don't implement, but it seems like it could be a simple enough useful extension for a small enough cost.
(Don't forget SMF/Wedge do already understand the concept and difference between user lock and mod lock, i.e. where a user locks their own topic, they can unlock it again, but if a moderator locks it, the user won't be able to unlock it unless they're also a moderator)
Now, I can't imagine this would be useful in every scenario but it seems to me that it'd be useful enough for some kinds of sites to have the lock/unlock separated into two own/any permissions rather than assuming if you can lock, you can unlock again.
Just a thought, just wondered what folks thought. It's not a killer feature, nor something I'm going to be that worried if I don't implement, but it seems like it could be a simple enough useful extension for a small enough cost.
(Don't forget SMF/Wedge do already understand the concept and difference between user lock and mod lock, i.e. where a user locks their own topic, they can unlock it again, but if a moderator locks it, the user won't be able to unlock it unless they're also a moderator)
| 1. | Yes, it's fairly well known that I have a list of every SMF mod and with annotations as to what I want to see in Wedge. |
879
Features / Re: return_raw buggy if enableCompressedOutput is on
« on April 29th, 2013, 08:57 PM »So...? What do you suggest?
That and I'm fed up of the infractions code but I can't commit it in its present state because I don't want to have something in SVN that actively limits what we can do on here in the meantime. And all the other things I've been thinking of doing are not small projects >_<
I don't know what's best with suffixes.
880
Off-topic / Re: Doctor Who
« on April 29th, 2013, 07:09 PM »
He didn't rewrite his own timeline. He already visited it to start with. But when you have a hole in the TARDIS, anything's possible anyway.
881
Features / Re: return_raw buggy if enableCompressedOutput is on
« on April 29th, 2013, 07:08 PM »I still don't get why it's not working now, when it used to
882
Features / Re: return_raw buggy if enableCompressedOutput is on
« on April 29th, 2013, 04:45 PM »
But I can't think of a time I've actually *triggered* those.
Dlattach:
* if Not-Modified-Since header is sent
* if If-None-Match header is sent
* if the attachment is larger than 4MB
Errors:
* in the event of untrappable DB error
Media files
* prior to sending large files
Security
* When there's been a session timeout with AJAX calls
Subs
* When preventing prefetch
Except I'm not sure I've actually hit any of these lately...
Dlattach:
* if Not-Modified-Since header is sent
* if If-None-Match header is sent
* if the attachment is larger than 4MB
Errors:
* in the event of untrappable DB error
Media files
* prior to sending large files
Security
* When there's been a session timeout with AJAX calls
Subs
* When preventing prefetch
Except I'm not sure I've actually hit any of these lately...
883
Features / Re: return_raw buggy if enableCompressedOutput is on
« on April 29th, 2013, 02:27 PM »
How often did the @while(ob_end_clean()); line actually run before? Seems to me that the lines we had before have a very slightly different behaviour to them because this is closing even the default output handler when it shouldn't.
884
Features / Re: New revs
« on April 29th, 2013, 01:40 AM »
(6 modified, 2 added, 19KB. I only dread to see the final commit for the rest of infractions system because of the many minute changes it makes.)
Revision: 2081
Author: arantor
Date: 29 April 2013 00:38:51
Message:
! Signature area needs the manage-posts language file. (ManageMemberOptions.php)
! Settings in Settings.php could sometimes disappear. (ManageServer.php)
! The original code assumed no clean-up would be applied on loading, but it is now. (Related code not yet committed. It's just one less than the mountain) (Subs-BBC.php)
! Imperative tasks' handler is slightly more useful. Also included an imperative task for later. This cannot be called in current trunk, nor would it work if it were, but the task might as well be committed now. (Subs-Scheduled.php)
! Moving of code out of the template and into the JS file that we already had. (Register.template.php, register.js)
! Mostly complete, if not fully complete, version of the infractions management language file. There will still be a ton for the profile area, but this is for the admin area and hopefully won't generate many/any more for the time being. Fingers crossed! (ManageInfractions.english.php, ManageInfractions.english-uk.php)
----
Modified : /trunk/Sources/ManageMemberOptions.php
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Sources/Subs-BBC.php
Modified : /trunk/Sources/Subs-Scheduled.php
Modified : /trunk/Themes/default/Register.template.php
Added : /trunk/Themes/default/languages/ManageInfractions.english-uk.php
Added : /trunk/Themes/default/languages/ManageInfractions.english.php
Modified : /trunk/Themes/default/scripts/register.js
Revision: 2081
Author: arantor
Date: 29 April 2013 00:38:51
Message:
! Signature area needs the manage-posts language file. (ManageMemberOptions.php)
! Settings in Settings.php could sometimes disappear. (ManageServer.php)
! The original code assumed no clean-up would be applied on loading, but it is now. (Related code not yet committed. It's just one less than the mountain) (Subs-BBC.php)
! Imperative tasks' handler is slightly more useful. Also included an imperative task for later. This cannot be called in current trunk, nor would it work if it were, but the task might as well be committed now. (Subs-Scheduled.php)
! Moving of code out of the template and into the JS file that we already had. (Register.template.php, register.js)
! Mostly complete, if not fully complete, version of the infractions management language file. There will still be a ton for the profile area, but this is for the admin area and hopefully won't generate many/any more for the time being. Fingers crossed! (ManageInfractions.english.php, ManageInfractions.english-uk.php)
----
Modified : /trunk/Sources/ManageMemberOptions.php
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Sources/Subs-BBC.php
Modified : /trunk/Sources/Subs-Scheduled.php
Modified : /trunk/Themes/default/Register.template.php
Added : /trunk/Themes/default/languages/ManageInfractions.english-uk.php
Added : /trunk/Themes/default/languages/ManageInfractions.english.php
Modified : /trunk/Themes/default/scripts/register.js
885
Features / return_raw buggy if enableCompressedOutput is on
« on April 29th, 2013, 12:07 AM »
I was surprised to find that every 90 odd seconds, I was seeing weird errors from the unread notifications lookup. Every time was the same, unexplained failure - no concrete reason, every request was simply left as 'pending'.
After some digging, I found there is one consistent reason for this: return_raw forces all the buffers to close. The problem is, doing that seems to cause it to screw up - in my case *every* request was failing because of this.
Bizarrely, if I don't close the output buffers, it works exactly as expected for me, behaves consistently regardless of setting. (All I did was comment out that line)
If the end-buffers line is left alone, it only works if enableCompressedOutput is disabled.
Curiouser and curiouser, I added the following debug code before the end-levels line:
Code: [Select]
With it enabled:Quote With it disabled:Quote
After some digging, I found there is one consistent reason for this: return_raw forces all the buffers to close. The problem is, doing that seems to cause it to screw up - in my case *every* request was failing because of this.
Bizarrely, if I don't close the output buffers, it works exactly as expected for me, behaves consistently regardless of setting. (All I did was comment out that line)
If the end-buffers line is left alone, it only works if enableCompressedOutput is disabled.
Curiouser and curiouser, I added the following debug code before the end-levels line:
global $settings;
trigger_error('Compressed output: ' . (!empty($settings['enableCompressedOutput']) ? 'ON' : 'OFF') . "\n" . print_r(ob_list_handlers(), true));With it enabled:
1024: Compressed output: ON
Array
([1] => ob_gzhandler
- => default output handler
)
1024: Compressed output: OFF
Array
([1] => default output handler
- => default output handler
)