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
6121
Features / Re: Privacy options
« on March 14th, 2012, 11:20 AM »
I have this horrible feeling that I won't get an answer anytime soon to this long post, so let's just make it simple...
Long ago I decided to add 'custom membergroups' to Noisen. I implemented it. Then I removed it and ended up using UltimateProfile's custom buddy lists.

When we made Wedge, we discussed adding custom membergroups. Then the idea was abandoned, too.

I just don't remember WHY I gave up on these the last two times, when it seems like the 'cleanest' way of implementing user relationships on a website... (Having multiple relationship types, like groups and contacts, is just inefficient IMHO when we could simply merge both table types.)

Does anyone remember reading a conversation around here about membergroups...?
6122
She couldn't be more stressed than those who ask themselves things of the highest concern, like this random post:
Quote
I was born Catholic and even oral would be a sin and a form of sex. When I was a Muslim, it was the same thing... oral sex was forbidden (even when married). I want to say Judaism has no laws, but it could be the same as Islam. I'd say research your sect of Christianity and see what it says.
I hope I was of some help.
I was thinking, she became a Muslim to be able to have oral sex but then was disappointed and looked into various Christian sects to find the right one for oral sex...? :lol:
6123
Off-topic / Re: Introduction
« on March 14th, 2012, 10:55 AM »
A single error on my side, and people are going to think we're clowns :P
6124
Archived fixes / Re: Linktree
« on March 14th, 2012, 10:55 AM »
Quote from Arantor on March 12th, 2012, 05:24 PM
We gotta fix this, it's missing a few things that I think need fixing; it's most prominent to me because of the theme work I've been doing.

* when in the board index, there's nothing in the linktree, and it should really have something
 (site name > Community?)
It's not 'should', rather 'may need to'...
It's actually a design choice on my part, back from the early days when I imported the Noisen code.
And it could be argued, for instance, that the owner wants the forum homepage to point to other areas that aren't maintained by Wedge and as such don't use a breadcrumb system.
Quote
* when in a given category specifically
 (site name > Community > Category?)
Just had a look and... Heck, looks like the category links are not even working...?!!
6125
Features / Re: Image resizing for non-uploads
« on March 14th, 2012, 10:51 AM »
I'm afraid I don't remember... :lol:

It's all in AeMe. I'm sure we can cook up a version that works outside of it. (Well, technically it does, for picture embeds. I just don't remember where I'm doing the add_js stuff, ahah...)

No, seriously, Zoomedia was a nightmare to develop. It was done faster than many of the 'nightmares' I worked on, but it was enough of a hassle to encourage me to just leave it be instead of working on adding support for slideshows and video embedding.
6126
So it's the e-commerce provider...?
6127
Off-topic / Re: Introduction
« on March 14th, 2012, 10:33 AM »
You talkin' to me? I'm... not... Pete.
I'm the French one. Y'know, the b'stard.

Anyway, yeah of course the demo site could be online by the hour...
Actually, all of you members of the Friends group have been playing with various demo sites of Wedge for over a year so you know it's usable... ;) It's just that once we start using Wedge here, we'll have to upgrade the site regularly and I already have a hard time doing it for my local install... :P
6128
The Pub / Re: Logo Madness
« on March 14th, 2012, 10:27 AM »
Quote from Nao on February 20th, 2012, 10:20 PM
Something like this, then, following your remarks..?
(Did the logo a few days ago but forgot to post...)

I think I prefer a 'simpler' logo, myself.
So, I guess the final logo (for now :lol:) is going to be something between the two main directions I went last month...

http://wedge.org/pub/6271/logo-madness/msg273529/#msg273529

I removed the wedgeship logos from that post, and added variations on the current minilogo. You can see that variants 2 and 3 use a different font (Aller Display) that has more 'life' to it, yet is as neutral as the other font. The only issue I have is that it has strange letters like the 'R' and 'Q'. I'm open to (free) font suggestions, all I require is that they have similar weight and a 'G' that doesn't have the usual horizontal tail.

I need to know what the general thought about logos is.
- Because we need final badges...
- Because we need a final favicon...
- Because we'll probably get more exposure once the demo is online, meaning if we change the logo soon again after that, people will be confused and it'll only hurt our position. (I think.)

The first logo is definitely the 'looker'. There's a good balance in it, but I can hardly find a place where it looks good apart from the footer area, where it is right now in Wedge btw. The second (and third, and fourth) logo, while not as exciting, looks more mature, as in "this is the kind of thing that a company could get away with for decades without feeling out of touch". Which is why it also has my preference.
There are minor differences in the logo itself, you should notice them easily. The last logo (simplest77) is a bit narrower (although it's the same width as simplest75), it no longer looks like a trail of water (simplest76) or whatever, but as it's "squarer", it's probably easier to use in icon material etc. The first two versions are similar but the left side is not at the same angle.

So, please share with me your choices for the demo site!
6129
Off-topic / Re: Introduction
« on March 14th, 2012, 10:14 AM »
You have no idea how unnerving it can be, at least when it comes to Wedge...
Just because we decided we'd go for a separate demo site until we stabilize the database enough to warrant easy upgrades for Wedge.org, doesn't mean it's not easy to install on a demo site... Have to think of things like copying the badge images manually, replacing bareimg to img in the signatures, rewriting the homepage to add direct links to alternate skins for guests and things like that... Oh my...
6130
Off-topic / Re: Another WIP
« on March 14th, 2012, 10:06 AM »
Yeah I can always retaliate by removing the English version from Wedge.org... :lol:
6131
Off-topic / Re: Introduction
« on March 14th, 2012, 10:04 AM »
Ah, yes... But you don't know me -- 'by' March 15, to me, means, "HOPEFULLY on March 15", because I also do important things at the last moment :P (Go ask my tax collector!)
6132
I love these support guys, billy2. What website is this? :P
6133
Off-topic / Re: Another WIP
« on March 14th, 2012, 09:53 AM »
They only disappear when there's only one language in the languages folder.
Wedge should logically ship with only the English language files, so with all flags disabled... I don't want to burden every single English website with a French version they don't give a damn about :P
6134
Off-topic / Re: Introduction
« on March 14th, 2012, 09:52 AM »
Heck, maybe even today... Unless Pete wants to add some last minute elements ;)
6135
Features / Re: Privacy options
« on March 14th, 2012, 09:51 AM »
Quote from Arantor on March 8th, 2012, 03:31 PM
Wasn't there a t.approved = 1 test there as well? I don't remember. But it wouldn't surprise me if it were buggy.
No, it was just an example... I don't think Recent items are in danger of being seen.
But we'll definitely need to audit most of the queries.

I think I'll do it like I did on Noisen.com back when I implemented the feature... I'll create a few topics, add a hidden word in them, set privacy to myself on them, and tell everyone that if they ever find the word, they should contact me immediately and I'll reward them for helping protecting the website's security settings.
It'll only be made more important by the fact that people are really gonna use these privacy settings...

Oh, while I'm at it.
I'm still working on database structure, getting close to the end thankfully. The major change these last few days, is that I decided that if topic privacy is going to be so specific ("member 34 and group 12..."), that it would only make sense to use the same feature on board access. We'll need to keep in touch to make sure it doesn't conflict with board access/view permissions, obviously... (I'm thinking board privacy should be tested first, and then these permissions. Does Wedge do a {query_see_board} BEFORE the permissions are tested? In which case it should be fine.)

Now, my main concern is with the has_privacy field. It's a tinyint(1) field (i.e. bool), so it won't take any significant space in the DB, but I'm not sure that the field will be taken into account by the key selection system in MySQL...
For performance reasons, I *suppose* it's best to do the test for that bit as late as possible in the process...? i.e. if its index isn't used, might as well execute the test last, so that it doesn't waste time doing a filesort or something on the table? (Yeah, after all these years I'm still THAT bad at MySQL optimization...)
In which case it'd mean we have to move all query_see_board tests to the end of all queries. I don't know.
Now, the boards table has a member_groups key, all alone by itself, so maybe it's really not a problem and our has_privacy field will not make it slower... (Assuming that the board table has thousands of entries, which is ridiculous normally, but not when you add a feature to allow people to create their own blogs. Will do... Later.)

Anyway...
So, if has_privacy = 0, there's nothing else to do. If has_privacy = 1, we join the privacy_boards table (I've switched the two words so that all privacy boards are next to each other, easier debugging), and we test for availability.

Also, Noisen's topic privacy feature has a 'default' which uses its parent board privacy settings. (IIRC it'll always use the parent board's privacy and then apply its own on top.) I'm assuming that all 'sensitive' topic queries in SMF/Wedge already do a query_see_board on them, so it shouldn't be a problem, but what if it is...? We don't want to show, in a list of topics, some topic that has no privacy settings but is in a board that shouldn't be viewed... But I suppose this privacy issue would have been spotted first, right..?
Obviously we'd have to remove the member_groups field from wedge_boards and have TE include some code to import these entries into the privacy_boards table. Shouldn't be a problem...

NB: board privacy is not yet included, only did the table in the sql file, I just want to discuss it and make sure it's the right direction... But I somehow suspect that if people are gonna be able to create their own boards (once we had a permission for them to do so), they'll be *thrilled* to know that they can fine-tune who gets to see them.
Noisen has such a feature already, but if I'm going to write a complex JavaScript UI for maintaining privacy lists, might as well use it everywhere...

NB2: Okay, I looked into board access... Oh my.
Wedge adds the ability to choose whether a group can KNOW (view) about a board, can ACCESS or board, and can be prevented from knowing or accessing a board regardless of other group memberships.
That is very fine, but if the board is created by a user who wants to prevent someone they dislike from viewing it, they won't be able to do it because they can't create membergroups... Unless we allow them to do just that (which would also make topic privacy and thought privacy simpler to manage, let's just say...)

Maybe I'm "in the wrong". Maybe our "contact lists" should be membergroups and so on. Maybe we need to silently create a membergroup that contains just users 5 and 47 if topic creator requests that only users 5 and 47 can read it. (And remove the membergroup if they change privacy settings for that topic and no other privacy area uses that group.)
I don't know...

Oh my. It's never going to end, is it...?
Quote
Would need benchmarking and query plans to be sure, but AFAIK, if the first branch is matched, the rest aren't if a given row would be returned in the OR case (if x OR y causes a row to be returned, it will be returned as soon as x is matched, or if x isn't matched, then return if y is matched)
Then it's a bit surprising that m.approved tests being done at the end of a query still gather attention from big board owners...
(Or they really need to buy huge equipment and not bother. I don't know how Facebook does it...)
Quote
Quote
Ready to digest, or giving up?
I've spent the last 24 hours trying to make sense of FTP.
So, not digesting well... :P
Quote
I could not conceive of a more backwards-ass specification if I *tried*, and to a degree I've just been thinking about everything else rather than focusing on this >_> I keep getting feelings of having so much to do, you know?
Wedge just isn't fun to work on when it requires going through the entire codebase and rewiring everything...

I'm just a bit sad that I have so much desire for user freedom when writing privacy settings, and that it suddenly seems so unrealistic a goal to achieve with regards to database performance...