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 - Nao
901
Development blog / Alphababy!
« on April 15th, 2014, 04:11 PM »
Next July, I'll be readying myself to transmit all of my geeky knowledge. Word by word, letter by letter. Okay, at first, it'll have to be diaper by diaper. I guess I can't have everything at once!

What does it mean for Wedge?
Well, being a dad doesn't imply I'll stop working on it, of course. It's not like my life has always been centered around Wedge, although I simply like to make people think it is. I usually spend a couple of hours a day working on it, and the rest of my days is just me watching TV, browsing Wikipedia or the iMDb and thinking, "I should really get started on Wedge!", and then doing so an hour before I'm supposed to go to bed.

So, yeah, I'll keep working on it. I just wanted to make sure, back in January, that Wedge was out of beta before the due date, simply because I was afraid I would lose interest after. Well, I won't. And I don't know if it'll be 'gold' by then. I'm already late for an official beta -- in fact, I was planning to go through official alphas first, but then I realized I couldn't be bothered to make GitHub 'releases' for these, and I decided that Wedge was, right now, in its 'official alpha phase', rather than 'pre-alpha'. Wedge is currently being used in production by quite a few forums, without much trouble, and I suppose it's just the perfectionist talking whenever I say it's not ready for mass consumption. In my mind, it never will be, but I'm still aware that Wedge, even with its many remaining bugs, is currently largely ahead of SMF, and (but your opinion here may vary) still superior to the pretty fine ElkArte. (If you haven't heard about it, just Google it.)

Anyway, please bear with me while I'm trying to deal with everything that's happening around me, and hopefully it'll all make for a better world in the end. Yayz!
902
Support / Re: members to hide from skin selector ?
« on April 15th, 2014, 10:40 AM »
It's not really a bug, it's just that I changed the wording from 'theme' to 'skin', and then didn't actually adapt it to skins.

It took me weeks to remove the theme feature, and I still have a lot to do, but these things started getting on my nerves, and I switched to other important tasks instead.
903
Archived fixes / Re: Profile Fields Gender can not be displayed
« on April 15th, 2014, 10:38 AM »
Does my latest commit fix it..?
904
Features / Re: New revs
« on April 15th, 2014, 07:52 AM »
[Commit revision f2e5083]
Author: Nao
Date: Mon, 14 Apr 2014 15:37:03 +0200
Stats: 1 file changed; +0 (insertion), -3 (deletions)

  • The url tag bug wasn't fixed for quick edit. (QuickEdit.php)

[Commit revision c5cc16b]
Author: Nao
Date: Mon, 14 Apr 2014 15:50:31 +0200
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • Fixed www.something links being url'ed in nobbc tags. Nearly there!! Now, I only need to fix them in code tags... <sob> (Class-Editor.php)
  • I don't think colons are a problem in nobbc tags, so I'm limiting its transformation into entities to '://' occurrences, rather than just ':'. Feel free to 'Ha Ha!' me if this creates another needless bug. (Class-Editor.php)

[Commit revision 9a0acc7]
Author: Nao
Date: Tue, 15 Apr 2014 07:51:54 +0200
Stats: 1 file changed; +2 (insertions), -2 (deletions)

  • Custom fields at registration time were broken by the closure rewrite. Hopefully all the stuff in Profile-Modify still works... (Register.template.php)
905
Well, that's the problem, Google Translate sucks... :^^;: I wouldn't rely on it for anything!
906
Archived fixes / Re: Broken Privacy Topic
« on April 14th, 2014, 02:38 PM »
But that's the thing... Are they responsible for what they can't view?

If no, then they shouldn't be able to view private topics. A very good example, to me, is the idea that you'd set a topic as private because you're in the process of writing it, and don't want to bother with drafts.

If yes, then they should be able to read anyone's PMs, too...!!
Which is a no-no for everyone, am I right...?
907
Archived fixes / Re: Broken Privacy Topic
« on April 14th, 2014, 01:22 PM »
Testing welcome.
908
Features / Re: New revs
« on April 14th, 2014, 01:19 PM »
[Commit revision d33f13e]
Author: Nao
Date: Mon, 14 Apr 2014 13:12:40 +0200
Stats: 3 files changed; +66 (insertions), -50 (deletions)

  • Topic privacy was fixed a week ago, but it broke post approvals in the process. Here's the thing: Wedge loads users, then boards, then permissions, then board permissions. It needs to determine board permissions before the board data is loaded, but board permissions are retrieved through the current board's profile ID, which is only accessible with a board table query. Too long, didn't read? The snake was biting its own nail. I could either separate post approvals from topic privacy tests (boo!), or add an extra super-fast query at the right time, and only when needed, to deal with it (Class-System). Let's see how it goes... (Class-System.php, Display.php, Load.php)
  • Only increase a topic's view count if the user was actually able to read it. This topic privacy paradigm shift made everything more complicated for me. Also used the opportunity to redirect topic loading errors to rejectTopic(), that new handy function for hiding all topic details. (Display.php)
  • Should admins be able to access topics that are off-limits to them..? Believe me, I'd love to say 'yes' and enforce that. Still, it's hard to do it for now, and I'd rather we start a talk about that on wedge.org, rather than just keep my 'false' hack in place. (Class-System.php)

[Commit revision 4f9eed5]
Author: Nao
Date: Mon, 14 Apr 2014 13:16:19 +0200
Stats: 2 files changed; +9 (insertions), -13 (deletions)

  • Slightly simplifying a regex. (Subs-BBC.php)
  • Merged output buffer and page replacements into a single str_replace. (Subs-Template.php)
909
Features / Re: Language revs
« on April 14th, 2014, 01:18 PM »
[Commit revision ef687ae]
Author: Pandos (Signed-off)
Date: Sun, 13 Apr 2014 18:20:03 +0200
Stats: 1 file changed; +6 (insertions), -0 (deletion)

  • German translation for new feature: "Page Replacements".

[Commit revision 0e09cff]
Author: Nao
Date: Mon, 14 Apr 2014 13:18:05 +0200
Stats: 1 file changed; +6 (insertions), -0 (deletion)

  • Merge pull request #17 from Pandos/dev
  • German translation for new feature: "Page Replacements".
910
Features / Re: Language revs
« on April 14th, 2014, 01:17 PM »
[Commit revision 0a15131]
Author: Nao (Signed-off)
Date: Mon, 14 Apr 2014 13:17:16 +0200
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • A small fix for the French translation. (Errors.french.php)
911
Bug reports / Re: add_plugin_css_file issues
« on April 13th, 2014, 08:06 PM »
Typical error that happens when you have indentation problems in your CSS files. Make sure you're using tabs consistently.
912
Archived fixes / Re: Broken Privacy Topic
« on April 13th, 2014, 08:01 PM »
It's just unbelievable how complicated this code initialization flow is.
Load user then board & topic info then permissions then test board & topic privacy... If only I could load permissions before boards.
Heck, err.. Why can't I, BTW? Oh yeah permissions are prolly setting the current board's perms based on a database field.

Hmm.. Maybe I could cache all board permission data. Then I could simply retrieve it, build board perms and then board privacies.
913
1/ It looks like you're explaining how to make it work. I'm asking you if the generic install + import process will break attachments for you, and if not, how did you manage to break your attachments.

2/ I have no problems with your English being bad. I'm only asking, though, that you reconsider your idea of translating Wedge to Turkish... I'd usually suggest that only seasoned English speakers get started with a translation to their own language.

The idea is: if you NEED Wedge to be in your language, then you're probably the wrong person to translate it. ;)
914
How did you get the problem in the first place, though..?
Does an extra step need to be performed when installing & importing?
915
Archived fixes / Re: Broken Privacy Topic
« on April 12th, 2014, 09:03 PM »
Anyone?™