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.

Topics - Dragooon
1
The Pub / Why are the plugins in single Git repository?
« on March 22nd, 2014, 08:25 AM »
There is no reason to, having individual repositories will allow for a much better development cycle since they'll maintain individual history and pull requests. Now I have to download all the plugins simply because I want to submit a PR for mass_upload...

PS: Use git subtree (like here) if you want to split the repositories.

PPS: I'm fairly sure I can't fork the repo without voiding the license :P
2
Off-topic / Got myself a new laptop!
« on July 3rd, 2013, 07:41 PM »
So my old one (White Unibody 13" MacBook, late 2009) had been giving me hell, so I decided to get a new one. Ultimately I ended up getting the 2012 MacBook Pro Retina, 15" one. It's an awesome upgrade, especially the display is fantastic :D.
Posted: July 3rd, 2013, 07:39 PM

Oh, and it smells fantastic :D
3
Archived fixes / MySQL version detection broken on installation
« on June 16th, 2013, 08:06 AM »
This caused me to uproot my localhost :lol:

Fix:
Code: [Select]
Index: root/install.php
===================================================================
--- root/install.php (revision 2166)
+++ root/install.php (working copy)
@@ -772,7 +772,7 @@
  }
 
  // Do they meet the install requirements?
- if ((version_compare($db['required_client'], preg_replace('~^\D*|\-.+?$~', '', mysqli_get_client_info())) > 0) || (version_compare($db['required_server'], preg_replace('~^\D*|\-.+?$~', '', mysqli_get_server_info())) > 0))
+ if ((version_compare($db['required_client'], preg_replace('~^\D*|\-.+?$~', '', mysqli_get_client_info())) > 0) || (version_compare($db['required_server'], preg_replace('~^\D*|\-.+?$~', '', mysqli_get_server_info($db_connection))) > 0))
  {
  $incontext['error'] = sprintf($txt['error_db_too_low'], 'Server: ' . mysqli_get_server_info() . ' / Client: ' . mysqli_get_client_info());
  return false;
4
The Pub / More RSS feeds
« on April 17th, 2013, 06:21 PM »
It'll be useful to have an unread posts/latest posts with respect to the member RSS feed, since I use my RSS reader a lot on my phone. Having some sort of RSS-only key can solve the problem of security, although I'm not entirely sure. Plugin, perhaps?
5
The Pub / Don't update log_online for certain actions
« on March 30th, 2013, 04:46 PM »
Certain actions (mostly notifications polling) shouldn't update log_online table (Subs.php, writeLog function) since it doesn't make sense as the user actually isn't online and it hogs the Who's Online area.
6
Plugins / The whole "core feature" thing
« on March 11th, 2013, 05:02 PM »
I really think a separate topic for this is a better idea rather than Arantor barging in all the threads and beating the drum :P. Basically:

1) I really want to maintain my GitHub repository
2) I'd love (some) my plugins to be core (partially because I think they're quite good candidates, but mostly because that'd be quite neat)
3) I really want to develop the features further as they're something I enjoy making and improving (especially the notifications thing, I think it's awesome). But I want my main GitHub repository (really!)

So, any ideas on how to solve this problem? I got a couple,

1) Make them plugins included by default and enabled, similar to how Joomla does a lot of it's things (or even vBulletin I think?)
2) Make them pseudo plugins, something that internally work like plugins but cannot be disabled or ironed out (and hence has no UI in Plugins area), hence make them automatically build from the latest GitHub revision (or tag, we can decide that later).

Making them plugins vs no plugin is more or less an argument of semantics, I'd say they're better as plugins because:

1) It's not really any slower or faster either way
2) They are good examples of how plugins can be made
3) Plugins are easier to maintain as they're consolidated in a single place

Any ideas anyone?
7
Plugins / Hooking into e-mail templates
« on March 11th, 2013, 03:44 PM »
There should be the ability to hook into e-mail templates, I'd like to use the existing interface and give the user an option to change language strings as they please. Seems like a neat idea.
9
The Pub / Remove \
« on March 6th, 2013, 07:13 AM »
Honestly this option should be removed and enabled by default, I've seen no service which doesn't save messages automatically. Plus it's not like it's a real space saver, and it's a pain when you want to switch to conversation view but don't have any sent messages. Also remove the entire "Save a copy in my outbox" while sending PMs, same reasoning.
Posted: March 6th, 2013, 07:12 AM

For the love of god, the title was Remove "Save a copy of each personal message in my sent items by default.". I call bug.
10
Features / AJAX Likes
« on February 9th, 2013, 06:23 AM »
I'd really like that, it's kind of annoying having to re-load pages after a like
11
The Pub / Remove flash dependency from AeMe?
« on January 29th, 2013, 04:12 PM »
Are the flash plugins required anymore? HTML5 can handle h.264/WebM videos just fine and most of the recent browsers support them, and AFAIK we use flash for only these formats? Same goes with audio. Mass uploading can be conveniently replaced with HTML5 based upload and it'll probably be a better experience plus should be supported across mobiles as well. And I don't think we use flash for anything else.

PS: I also had an idea of allowing on-the-fly conversion of videos to webm for better compatibility with the web. Although it'll only be viable on a server like a VPS.
12
Plugins / Plugin dependency loading
« on January 19th, 2013, 11:15 PM »
This is a pretty tricky topic, if a plugin B relies on a plugin A and Wedge loads plugin B before A, there's a good chance it'll crash and burn (especially in my case since I use class interfaces and all). Perhaps they should be loaded in the order they're enabled?
13
Features / Mini-skeletons
« on January 18th, 2013, 03:24 PM »
Probably an old topic, but if I want my plugin to edit a template how would I go about it? Say, I want to make a plugin to indicate whether the poster of the post is the OP of the topic or not, I'd need to modify a specific area of Display.template but I'm not sure how to do that without modifying the template itself[1]. Any ideas or is that not possible yet?

:edit: Modified topic subject -- Nao.
 1. I haven't really dug deep into this, just had a quick glance and was wondering
14
Archived fixes / Typo in Class-DBPackages.php
« on January 17th, 2013, 07:16 PM »
Class-DBPackages.php

Code: (Line 39) [Select]
return in_array(str_to_lower($table), $reserved);
15
Off-topic / LG Nexus 4
« on November 5th, 2012, 07:42 PM »
So...Google recently announced the LG Nexus 4 and it's looking to be a pretty good phone. I'm probably getting it myself. Who else is looking out for this?