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
3841
Archived fixes / Re: Linktree
« on January 23rd, 2013, 03:40 PM »
Good instincts. This padding works tons better in Warm. Will commit in next batch.
3842
Archived fixes / Re: Linktree
« on January 23rd, 2013, 03:30 PM »
I wanted to use as much horizontal space as possible for the linktree because (1) bigger font (1) included next to sidebar rather than above, all of which contribute to increasing chances of having it take 2 lines... Then again, one of the good points in this linktree is that it doesn't "break" when shown over two lines.
I also wanted to have the linktree and the menu bar next to each other as some sort of design choice, but it may very well be the reason I'm going "meh" on the end result...

I'll try this in a sec.
3843
Features / Re: New revs
« on January 23rd, 2013, 03:25 PM »
rev 1870
(2 files, 2kb)

! Forgot to upload the Homepage in last commit. (Home.template.php)

* Tweaked Android icon to be less squarey and easier to see. It uses 5 more bytes... Bite me. (android.gif)
3844
Archived fixes / Re: Linktree
« on January 23rd, 2013, 03:18 PM »
Done, and website updated.
Can you switch to Warm and give me your opinion on the changes...?
3845
Plugins / Re: Forcing maintenance mode first?
« on January 23rd, 2013, 03:14 PM »
I can't think of anything that would be against adding this option, so yeah, why not..? :)
3846
Plugins / Re: Plugin user interfaces
« on January 23rd, 2013, 03:13 PM »
For mental health safety reasons, I'd strongly suggest going for the post-review process.
i.e.: (1) author gets to upload plugin directly, (2) any users (or maybe a limited group of users, but not 'Customize team' :P) get to try it out and share comments or give a rating, (3) in case any issues (security mostly) are found, report to moderators.

It would be more... realistic. Although in the beginning, I should assume there'll be less plugins to play with.
3847
Features / Re: New revs
« on January 23rd, 2013, 03:05 PM »
rev 1869
(15 files, 21kb)

* Doing my share to help with the packman removal... So, removed log_packages-related code. Also silly comments. (readme_install.html, readme_update.html, readme_upgrade.html, sphinx_config.php, smfinfo.php, upgrade.php, upgrade.sql, install.sql, Class-DBPackages.php, PackageGet.php, Subs-Package.php, extra.rtl.css, mana.css)

+ Added Home language files and fixed Homepage to match what you're seeing on Wedge.org right now. This mostly allows me to keep the file out of its 'ignore' changelist, which is a bit confusing to me. (Home.template.php, Home.english.php, Home.french.php)
3848
Features / Re: New revs - Public comments
« on January 23rd, 2013, 03:01 PM »
Well I did the search work for you... :P Didn't actually remove anything but listInstalled, so I'll just commit 'as is' and will trust you with the rest.
3849
Plugins / Re: Plugin server
« on January 23rd, 2013, 02:48 PM »
- IPS Connect: I'm aware of this technology but am not sure how it works, especially when it comes to security. Doesn't this amount to simply transmitting authentication data between two servers...?

- Having another server for it: it doesn't prevent us from putting its data into 'plugins.wedge.org', for instance. A nice place to look at... Also, it potentially fixes cookie issues, although I liked the idea of having subdomain-specific cookies, allowing for cookieless subdomains to be designed. Although I guess it's better suited for a specific extra domain like 'wedgecdn' or whatever...

- Using AeMe or not: unsurprisingly, I'd push for the use of AeMe, if anything because I can help improving the software as well (I haven't touched it in a long time, but just because I'm rusty doesn't mean I can't be efficient with it). What's the alternative? Using SSI? To me that's mostly a waste of our valuable time if we have to rewrite a complete file server when we already have something good with AeMe, *and* it gives up an opportunity to improve AeMe's download system as we find new bugs or limitations by using it to distribute plugins.

Hope I didn't forget anything... I'm not very well versed in plugins as you know, so I tend to shamelessly avoid anything with the name 'plugin' in the topic title... :-/
3850
Off-topic / Re: Plugin user interfaces
« on January 23rd, 2013, 02:42 PM »
I think the best way to encourage authors to produce good UI, is to release a dummy plugin with a good UI, and invite them to base their new plugins off it...
3851
Features / Re: New revs - Public comments
« on January 23rd, 2013, 02:41 PM »
Quote from Arantor on January 23rd, 2013, 02:25 PM
Almost nothing gets cached anyway.
Oh... Are you sure?
Quote
I can't just blindly remove everything because other parts still use it! Do a search on read_tgz and see what you find...
I didn't mean to remove these functions anyway... I was mostly talking about anything directly related to packages.
For instance, do we really need to keep functions like parsePackageInfo (never called anywhere), parse_path (only used in parsePackageInfo..), packageRequireFTP (never used), package_crypt (only used in packageRequireFTP and create_chmod_control, which I'm not sure we need at all?), or listtree (never used)?
These are the functions I noted as 'deletable' in Subs-Package, in addition to listInstalledPackages...
3852
Features / Re: New revs - Public comments
« on January 23rd, 2013, 02:22 PM »
Yup... loadInstalledPackages() in Subs-Package uses it, and that's pretty much all. I just commented out the line in PackageGet() that makes use of it. As a reminder to write that part as well...

If I were you, I'd just make a backup somewhere of the package-related files, then remove EVERYTHING, and re-use that code on the side to build the plugin server stuff, and then commit it later. Right now, having all those 'package' references just sounds a bit odd.
3853
Features / Re: New revs - Public comments
« on January 23rd, 2013, 02:18 PM »
Re: parse_bbc, ideally we'd get rid of everything but smileys (because these are pretty much in every function call), but I don't know what structure would work best for the cache ID... For instance, array('cache' => $id_msg, 'member' => $id_member) would be odd in a Display message parser, because that should most likely be array('id_msg' => $id_msg, ...) and parse_bbc should determine what elements are in the array and build the cache id from that... But it's slower, I guess.

So.. I don't really have any ideas to make it better right now. :-/

Re: log_packages, I can assure you I removed everything and it didn't take long... I'll double check.
3854
Features / Re: New revs - Public comments
« on January 23rd, 2013, 02:12 PM »
Okay, then... At least may I remove anything related to the one DB table you left, log_packages?
3855
Features / Re: New revs - Public comments
« on January 23rd, 2013, 12:44 PM »
That's the thing, $cache_id has always been used in a strange way... (Even re: original Aeva.)

So, the only thing that could stop us is performance. But I don't think passing an array has any impact whatsoever on performance... Does it?

Also, can I assume you're planning to remove everything related to packages, now? Your latest commit looks like it. I'm working on it right now and would like to know for instance if you want me to keep the package server code, or if you want to reuse it for plugins, or something like that...