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.
1816
Features / Re: New revs
« on January 23rd, 2013, 12:49 AM »
(17 modified, 3 deleted, 5KB even though it's far more than a straight 5KB of changed code!)
Revision: 1867
Author: arantor
Date: 22 January 2013 23:47:45
Message:
! Removal of a lot of the old package server. There's some stuff relating to the file permissions and the downloading of plugins that might still be useful, but other than that, it can go. There may well be other legacy stuff that hasn't been excised yet, but that's mostly because this is a big and scary process and there's a lot of stuff with tendrils in the packman code. I did also take the liberty of hacking bits up in the old packman just while it's hanging around, so that I could remove other traces (e.g. converting lang string to normal inline strings so I could remove the actual language strings - any weirdness should be essentially ignored for now) (install.sql, Admin.php, ManageServer.php, PackageGet.php, Packages.php, Subs-Package.php, Packages.template.php, language files: Admin, Errors, Help, Modlog, Packages)
! Removed now legacy images. (package_ops.gif, package_installed.gif, package_old.gif)
----
Modified : /trunk/Sources/Admin.php
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Sources/PackageGet.php
Modified : /trunk/Sources/Packages.php
Modified : /trunk/Sources/Subs-Package.php
Modified : /trunk/Themes/default/Packages.template.php
Deleted : /trunk/Themes/default/images/admin/package_ops.gif
Deleted : /trunk/Themes/default/images/icons/package_installed.gif
Deleted : /trunk/Themes/default/images/icons/package_old.gif
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/Admin.french.php
Modified : /trunk/Themes/default/languages/Errors.english.php
Modified : /trunk/Themes/default/languages/Errors.french.php
Modified : /trunk/Themes/default/languages/Help.english.php
Modified : /trunk/Themes/default/languages/Help.french.php
Modified : /trunk/Themes/default/languages/Modlog.english.php
Modified : /trunk/Themes/default/languages/Modlog.french.php
Modified : /trunk/Themes/default/languages/Packages.english.php
Modified : /trunk/Themes/default/languages/Packages.french.php
Modified : /trunk/root/install.sql
Revision: 1867
Author: arantor
Date: 22 January 2013 23:47:45
Message:
! Removal of a lot of the old package server. There's some stuff relating to the file permissions and the downloading of plugins that might still be useful, but other than that, it can go. There may well be other legacy stuff that hasn't been excised yet, but that's mostly because this is a big and scary process and there's a lot of stuff with tendrils in the packman code. I did also take the liberty of hacking bits up in the old packman just while it's hanging around, so that I could remove other traces (e.g. converting lang string to normal inline strings so I could remove the actual language strings - any weirdness should be essentially ignored for now) (install.sql, Admin.php, ManageServer.php, PackageGet.php, Packages.php, Subs-Package.php, Packages.template.php, language files: Admin, Errors, Help, Modlog, Packages)
! Removed now legacy images. (package_ops.gif, package_installed.gif, package_old.gif)
----
Modified : /trunk/Sources/Admin.php
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Sources/PackageGet.php
Modified : /trunk/Sources/Packages.php
Modified : /trunk/Sources/Subs-Package.php
Modified : /trunk/Themes/default/Packages.template.php
Deleted : /trunk/Themes/default/images/admin/package_ops.gif
Deleted : /trunk/Themes/default/images/icons/package_installed.gif
Deleted : /trunk/Themes/default/images/icons/package_old.gif
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/Admin.french.php
Modified : /trunk/Themes/default/languages/Errors.english.php
Modified : /trunk/Themes/default/languages/Errors.french.php
Modified : /trunk/Themes/default/languages/Help.english.php
Modified : /trunk/Themes/default/languages/Help.french.php
Modified : /trunk/Themes/default/languages/Modlog.english.php
Modified : /trunk/Themes/default/languages/Modlog.french.php
Modified : /trunk/Themes/default/languages/Packages.english.php
Modified : /trunk/Themes/default/languages/Packages.french.php
Modified : /trunk/root/install.sql
1817
Plugins / Re: Forcing maintenance mode first?
« on January 22nd, 2013, 09:25 PM »
The whole point of maintenance mode is to stop the user doing things like that, maintenance mode means that limited functionality is there to limit what happens with the database.
Fortunately we have auto saving posts for such things ;)
Fortunately we have auto saving posts for such things ;)
1819
Archived fixes / Re: Linktree
« on January 22nd, 2013, 07:07 PM »What I'm trying to do is change the boring Weaving linktree to the arrow version you see above. I'm trying to determine if it's "neutral" enough to be used in default skins. If yes, then it might be worth including.
1820
Archived fixes / Re: Linktree
« on January 22nd, 2013, 06:50 PM »
I like it :)
I'm not sure about replacing the default one, I'd sort of like to leave all the options for people if they want them.
I'm not sure about replacing the default one, I'd sort of like to leave all the options for people if they want them.
1821
Archived fixes / Re: Why does Wedge look different for me?
« on January 22nd, 2013, 05:23 PM »
So's mine :^^;:
1822
Archived fixes / Re: Why does Wedge look different for me?
« on January 22nd, 2013, 04:47 PM »
The fact it's called for in Home.template.php but doesn't exist.
1823
Features / Re: New revs
« on January 22nd, 2013, 05:59 AM »
(4 files, 12KB)
Revision: 1866
Author: arantor
Date: 22 January 2013 04:55:23
Message:
! Go up function for FTP. (Class-FTP.php)
! Some minor reorganisation and moving towards plugin uploads; there is a chunk of the code required to deactivate an existing plugin, delete it and prepare to upload a new one in its place. There is also sufficient code, in theory, to get through parsing and creating all the folders in the zip file,[1] but to quote Bachman Turner Overdrive, You Ain't Seen Nothin' Yet. (ManagePlugins.php, Subs-Plugins.php, ManagePlugins language file)
----
Modified : /trunk/Sources/Class-FTP.php
Modified : /trunk/Sources/ManagePlugins.php
Modified : /trunk/Sources/Subs-Plugins.php
Modified : /trunk/Themes/default/languages/ManagePlugins.english.php
Revision: 1866
Author: arantor
Date: 22 January 2013 04:55:23
Message:
! Go up function for FTP. (Class-FTP.php)
! Some minor reorganisation and moving towards plugin uploads; there is a chunk of the code required to deactivate an existing plugin, delete it and prepare to upload a new one in its place. There is also sufficient code, in theory, to get through parsing and creating all the folders in the zip file,[1] but to quote Bachman Turner Overdrive, You Ain't Seen Nothin' Yet. (ManagePlugins.php, Subs-Plugins.php, ManagePlugins language file)
----
Modified : /trunk/Sources/Class-FTP.php
Modified : /trunk/Sources/ManagePlugins.php
Modified : /trunk/Sources/Subs-Plugins.php
Modified : /trunk/Themes/default/languages/ManagePlugins.english.php
| 1. | This is such an arse-pain because zip files don't enforce proper hierarchy. It's actually one long standing bug in SMF that certain zip file builders will leave out top level folders when preparing the file, e.g. it'll add /folder/file.txt but not create an entry for /folder/ as an actual folder entry in the directory header. Windows, I'm looking at you. So I have to manually parse every filename looking for folder names. |
1824
Features / Re: New revs
« on January 22nd, 2013, 01:42 AM »
(2 files, 1KB)
Revision: 1865
Author: arantor
Date: 22 January 2013 00:41:19
Message:
! Only show the reorder pinned option when there's something to reorder. (MessageIndex.php)
! New method for FTP, to call for raw lists of information. (Class-FTP.php)
----
Modified : /trunk/Sources/Class-FTP.php
Modified : /trunk/Sources/MessageIndex.php
Revision: 1865
Author: arantor
Date: 22 January 2013 00:41:19
Message:
! Only show the reorder pinned option when there's something to reorder. (MessageIndex.php)
! New method for FTP, to call for raw lists of information. (Class-FTP.php)
----
Modified : /trunk/Sources/Class-FTP.php
Modified : /trunk/Sources/MessageIndex.php
1825
Plugins / Re: Forcing maintenance mode first?
« on January 21st, 2013, 07:56 PM »
There are options to that, you can either rename everything in the plugins directory, or empty out 'plugins_enabled' in the settings table.
1826
Features / Re: New revs
« on January 21st, 2013, 01:23 PM »
(6 files, 24KB)
Revision: 1863
Author: arantor
Date: 21 January 2013 12:22:11
Message:
! Bug in FTP clean-up when a connection wasn't possible. Not the cleanest, but the safest. (Class-FTP.php)
! Next stage of plugin uploading, getting and validating FTP details. Still WIP in every respect. (index.php, ManagePlugins.php, Subs-Plugins.php, ManagePlugins.template.php, ManagePlugins language file)
----
Modified : /trunk/Plugins/index.php
Modified : /trunk/Sources/Class-FTP.php
Modified : /trunk/Sources/ManagePlugins.php
Modified : /trunk/Sources/Subs-Plugins.php
Modified : /trunk/Themes/default/ManagePlugins.template.php
Modified : /trunk/Themes/default/languages/ManagePlugins.english.php
Revision: 1863
Author: arantor
Date: 21 January 2013 12:22:11
Message:
! Bug in FTP clean-up when a connection wasn't possible. Not the cleanest, but the safest. (Class-FTP.php)
! Next stage of plugin uploading, getting and validating FTP details. Still WIP in every respect. (index.php, ManagePlugins.php, Subs-Plugins.php, ManagePlugins.template.php, ManagePlugins language file)
----
Modified : /trunk/Plugins/index.php
Modified : /trunk/Sources/Class-FTP.php
Modified : /trunk/Sources/ManagePlugins.php
Modified : /trunk/Sources/Subs-Plugins.php
Modified : /trunk/Themes/default/ManagePlugins.template.php
Modified : /trunk/Themes/default/languages/ManagePlugins.english.php
1827
Plugins / Re: PM Flash
« on January 21st, 2013, 11:38 AM »
Yes, very different. In RD's case it's a play on rat-arsed, an expression here for "drunk".
1828
Plugins / Re: Another little plugin: topic buttons
« on January 21st, 2013, 11:37 AM »
I think that's what I did, yeah.
1829
Archived fixes / Re: Add plugin doesn't work
« on January 21st, 2013, 06:24 AM »
OK, so progress has been surprisingly slow on this given the dozens of KB of code that's had to be written thus far. But progress is happening. So far we've got through uploading, through validation of the plugin being a valid, unpackable zip and dealing with duplicates.
Now we're up to getting FTP details, and most of the handling for that is done, even down to attempting to find the right FTP path with a less than pretty method (but, hopefully, reasonably reliable)
All WIP of course but I thought you might like some screenshots.
Now we're up to getting FTP details, and most of the handling for that is done, even down to attempting to find the right FTP path with a less than pretty method (but, hopefully, reasonably reliable)
All WIP of course but I thought you might like some screenshots.
1830
Plugins / Re: PM Flash
« on January 21st, 2013, 03:52 AM »It is really easy to install plugins. I have a poor memory, so I have to work things out over and over. And every time I work out how to install a plugin I think "It can't be that easy!"
(Do you mean your other thread? Not sure I got the full gist and am sure I cannot give any feedback. "bats-arse code"???)
No, the other thread is setting out how I want to do plugin servers, and as stated I want to keep the plugin server away from the core Wedge server, essentially (then a lot of it boils down to *how* that would work), while the other stuff is what is essentially required to drive a plugin server, including the need for authentication to allow for private plugins. Though there's still a raft of stuff around how checking for updates would work, and perhaps it would be best simply to have one master repo and only check against that, paid or otherwise. Or even just rip the entire thing out and have people do their own checking, I don't know. Lots of thoughts to it.
What I'm working on right now is getting plugins uploaded to the site without the user having to cope with setting permissions. This is more tricky than you might think.