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.
2311
Archived fixes / Re: Add plugin doesn't work
« on December 2nd, 2012, 04:43 PM »
Just to expand when I'm not using an iPod...
SMF has a zip handling library, except it doesn't work on some zip files, Plus it's also about just unpacking the entire archive in full into a local directory which is not what I want.
ZipArchive (in either form) tends to do much the same thing, though both are more capable of handling zip files.
What I need, ultimately, is something that can handle as much of zip files as I can throw at it, and on top of that, I need it to be able to handle extracting files one at a time - and here's the bit that ZipArchive can't do - and I want that file to be pulled into a variable, I do NOT want it pushed out to a file in temp/ not even temporarily.
See, here's how this is going to work. The setup is geared for being able to process this across multiple page loads, so I need to be able to pull things from zip files at will, and I want as little as possible to be in the temporary area. Since the upload must go there by definition, I can't change that, but I can prevent new files appearing in temp, which will be subject to pruning by the operating system and will be subject potentially to tampering from other scripts.
Once I've uploaded the file, I can extract it piece by piece and send that to the server via FTP (and as I understand it, can make this faster by only opening one pair of connections rather than the typical one connection the whole time, one connection per file, but I might have that understanding of FTP wrong)
Hmm. Now that I think about it, actually I can't do it that way. I'm going to ditch the current SFTP class and reimport phpseclib - into its own folder. Condensing the files is rather time consuming and there's been substantial changes since I did it a year ago, so I'll just import the entire library as-is.
I won't be doing that with the PclZip class, because it isn't forwards compatible with PHP 5.x, but also it isn't 'actively maintained', as the last release was in 2009. (Also, of note, the author of PclZip was the former maintainer of the PEAR ZipArchive)
SMF has a zip handling library, except it doesn't work on some zip files, Plus it's also about just unpacking the entire archive in full into a local directory which is not what I want.
ZipArchive (in either form) tends to do much the same thing, though both are more capable of handling zip files.
What I need, ultimately, is something that can handle as much of zip files as I can throw at it, and on top of that, I need it to be able to handle extracting files one at a time - and here's the bit that ZipArchive can't do - and I want that file to be pulled into a variable, I do NOT want it pushed out to a file in temp/ not even temporarily.
See, here's how this is going to work. The setup is geared for being able to process this across multiple page loads, so I need to be able to pull things from zip files at will, and I want as little as possible to be in the temporary area. Since the upload must go there by definition, I can't change that, but I can prevent new files appearing in temp, which will be subject to pruning by the operating system and will be subject potentially to tampering from other scripts.
Once I've uploaded the file, I can extract it piece by piece and send that to the server via FTP (and as I understand it, can make this faster by only opening one pair of connections rather than the typical one connection the whole time, one connection per file, but I might have that understanding of FTP wrong)
Hmm. Now that I think about it, actually I can't do it that way. I'm going to ditch the current SFTP class and reimport phpseclib - into its own folder. Condensing the files is rather time consuming and there's been substantial changes since I did it a year ago, so I'll just import the entire library as-is.
I won't be doing that with the PclZip class, because it isn't forwards compatible with PHP 5.x, but also it isn't 'actively maintained', as the last release was in 2009. (Also, of note, the author of PclZip was the former maintainer of the PEAR ZipArchive)
2312
Archived fixes / Re: Add plugin doesn't work
« on December 2nd, 2012, 07:06 AM »
If you mean the PEAR library, it's unmaintained and had PHP 5.3 issues.
If you mean the not-installed by default class, that doesn't do what I need, nor can be cajoled into doing what I want as far as I can tell.
If you mean the not-installed by default class, that doesn't do what I need, nor can be cajoled into doing what I want as far as I can tell.
2313
Archived fixes / Re: Add plugin doesn't work
« on December 2nd, 2012, 06:39 AM »
Putting aside everything related to repos and repo management (though that is a todo), I've been working on this stuff.
The FTP class has been extended to support uploads and downloads, though that's a work in progress and will require more work yet.
There's also a zip handling class coming, that when combined with the FTP class, should make it possible to upload plugins, though admins will have to provide FTP details, and lots of stuff behind the scenes to hopefully make it work on various shared hosts.
The only caveat is that the zip library I'll be adding is LGPL and I've made quite extensive modifications, so to fulfil the licence we need to be able to distribute it standalone. No biggie, there's no Wedge specific code in it.
The FTP class has been extended to support uploads and downloads, though that's a work in progress and will require more work yet.
There's also a zip handling class coming, that when combined with the FTP class, should make it possible to upload plugins, though admins will have to provide FTP details, and lots of stuff behind the scenes to hopefully make it work on various shared hosts.
The only caveat is that the zip library I'll be adding is LGPL and I've made quite extensive modifications, so to fulfil the licence we need to be able to distribute it standalone. No biggie, there's no Wedge specific code in it.
2314
The Pub / Re: Troubles during installation
« on December 1st, 2012, 03:40 PM »
755 is more permissions than 644...
2315
The Pub / Re: Troubles during installation
« on November 29th, 2012, 10:46 PM »
Whatever you need to make the cache folder to make that writable, you need to apply that to the css and js folders.
2316
Archived fixes / Per language caching is broken
« on November 29th, 2012, 03:17 AM »
So I switched the language for the upcoming language pack I'm working on and things were broken. That's actually irrelevant, because it's also broken when I use French too.
For example, http://localhost/wedge/js/topic-1351888249.js.gz doesn't get generated while topic-french-<timestamp>.js.gz does, though topic-french isn't the one that's loaded. Same deal for other languages too, including <is top secret> language pack.
For example, http://localhost/wedge/js/topic-1351888249.js.gz doesn't get generated while topic-french-<timestamp>.js.gz does, though topic-french isn't the one that's loaded. Same deal for other languages too, including <is top secret> language pack.
2317
The Pub / Re: Troubles during installation
« on November 29th, 2012, 03:11 AM »
That's because the css and js folders need to be writable...
2318
Other software / Re: Discussing Wedge on simplemachines.org
« on November 28th, 2012, 08:31 PM »It seems to me that Motoko was simply trying to spell things out, and make clear that nobody would be penalized for talking about talking about wedge.
The rules might seem silly, viewed from here, but the rules are the rules. Organizations make them, and then follow them in order to get on with the business of the day.
it is not completely prohibited to mention wedge, in the context of what the SMF community can learn from wedge.
I can understand why you (=team) block non open source discussion, but your users don't. And every time there's the complaint about how it doesn't fit the rules, it gets pushed to Chit Chat, which actually promotes Wedge better - so it's backfiring every single time.
The more you try to suppress such entities (given that we're the only fork that doesn't fit these rules, note) the more you actually promote us. Mind you, I'd note that after I was accused of libel, I decided that I didn't want anything to do with sm.org - and the only reason I'm even mentioning this is because it was brought to my attention elsewhere.
I should note that there have been some other interesting thoughts on the whole SMF/Wedge situation of recent times and this attitude - mostly like politicians, all talk and no do - is why that will never come to pass.
Consider: in the last two years, who has made more progress, SMF or Wedge? Isn't having an open licence supposed to nurture further growth? Because I'm not sure it is.
But again, the point is being missed. I'm spending more time dealing with this crap that was supposed to be over from 2 years ago when we branched off. As far as I'm concerned, I'd absolutely love there to be a fucking great brick wall between Wedge and SMF, so that all the BS and drama like this can't happen. And people wonder why I hate developing software like this, and why I've been trying to leave it all behind now for almost 3 years but I can't seem to manage it because of the fact that right now I feel too guilty to just throw my hands up in the air and walk away. I'd love to do that, because then SMF will do what it's been trying to do for the last 5 years and just quietly kill itself. Because that's where it's going.
smCore is all but dead (no public posts on the forum in over a month, no commits for two), 2.1's progress is modest but no doubt hampered by the same things that have crippled SMF and caused 2.0 to take 5 years to occur... all from all the same problems that lead to crazy situations like this.
I should also add, I never wanted to fork SMF in the first place. Back in July 2010, I NEVER WANTED TO FORK SMF because I knew this was the sort of BS that would come out of it. I knew back then how it would turn out, a fucking great mess. Everything SM's organisation touches ultimately becomes a mess.
On that note, I have things to do, catch you all later.
2319
Other software / Re: Discussing Wedge on simplemachines.org
« on November 28th, 2012, 05:48 PM »
Just a casual thought: Motoko loves pointing out the rules in the forks board. No-one else seems to care or mind. Why do we think that is?
2320
Archived fixes / Re: Session writing
« on November 28th, 2012, 05:13 PM »
I'm not sure it is a Webkit bug as such but perhaps circumstances caused in the browser detection when it encountered a Webkit bug?
2321
Features / Re: Really petty, but I got to ask
« on November 28th, 2012, 05:12 PM »
It doesn't have to have text in it (doing that in an image would be hard)
However, there's always other options, for example, using a tick and a cross. I happened to pick up https://stacksocial.com/sales/impressionist-ui-bundle the other day, which has some examples of using it (which is what made me think of it) and as far as I can see from the licence there would be no issue with my building images out of it for our purposes.Quote As does the yesno type I added yesterday, which essentially brings the AeMe version to anywhere in the standard admin panel (but also means it can conveniently be switched out for any new type, without affecting checkboxes)
There is one side effect to using sliders though and that's the iOS effect. (Technically, it's also an OS X thing, but it's more obvious on iOS) Specifically, when you change settings in iOS, like the sliders, you don't have to hit a save button - they apply as soon as you hit the button.
This brings me to something I was intrigued about in IPB - when you do a search in the admin panel there, you're actually shown the items and you can amend them right there in the search response popup. I'm not sure how I feel about it but it's certainly interesting from a UI point of view. (You still have to hit save though)
However, there's always other options, for example, using a tick and a cross. I happened to pick up https://stacksocial.com/sales/impressionist-ui-bundle the other day, which has some examples of using it (which is what made me think of it) and as far as I can see from the licence there would be no issue with my building images out of it for our purposes.
As you can see, the dropdown (at least in the Wedge version)
There is one side effect to using sliders though and that's the iOS effect. (Technically, it's also an OS X thing, but it's more obvious on iOS) Specifically, when you change settings in iOS, like the sliders, you don't have to hit a save button - they apply as soon as you hit the button.
This brings me to something I was intrigued about in IPB - when you do a search in the admin panel there, you're actually shown the items and you can amend them right there in the search response popup. I'm not sure how I feel about it but it's certainly interesting from a UI point of view. (You still have to hit save though)
2322
Other software / Re: Discussing Wedge on simplemachines.org
« on November 28th, 2012, 05:01 PM »I'm not sure there was any recent discussion on Wedge in the Chit Chat board, but I did a search and found a couple of the forks board. To which I replied.
It's a private topic though. I remember the gist of it though, so I'm not going to search for my password just for that. ;)
I'm not sure that's much of an issue...
SMF has lost a lot of its momentum, which has shifted to other non-SMF-based solutions.
At this point, it would probably even make more sense for SM to push smCore aside (because I don't think it's ever going to be able to replace SMF in any capacity), and ask us to rename Wedge to 'SMF 3.0' and be done with it.
But there is no chance they will adopt anything from Wedge, even if we were to change the licence because it doesn't fit in with how the team do things. Seriously... we've dropped cross-DB support, the calendar as a core item, birthdays as a core item, the ability to have theme-specific preferences for users and stuff like that, and added a bunch of things that they wouldn't be interested in (they don't want a gallery in the core because that would mean it's not just a forum!)
Not to mention all the bad blood that's arisen over the years.
Really? I didn't see anything new in Motoko's comments... He's always been a bit of a Wedge basher, or more precisely, a Nao basher. Which I'm fine with, because I don't like me that much anyway.
The thing is, there's more to this story, that's happened inside PMs across multiple forums.
Same here. Although I keep telling myself, two years of work shouldn't go to the bin, so let's release it... And see if we can find some renewed motivation after that.
A good decision we made was to feature-freeze it a few months ago, but it also makes it hard for us to find joy in developing when all we're doing is fixing bugs and trying to stop ourselves from implementing new features.
What do you see yourself doing in the future..?
That and writing games.
I'm proud of what we've done so far. I just miss being able to write shit for myself.
My next project is probably going to be Deideo, my website about music thieves and homages turned wrong. But don't tell my girlfriend, she would kill me for even considering to build such a potentially lawsuit-inducing site.
2323
Other software / Re: Discussing Wedge on simplemachines.org
« on November 28th, 2012, 06:05 AM »
So this is kicking off again and the licence is being examined. Yay.
Just for the record, the exclusion against vbgamer was put in place after he excluded me from using goods for which I had paid for and revoked my licence; he was apparently willing to give me a partial refund if I apologised to him for the things I'd said (though he wasn't being asked to apologise for the comments he made about me, calling me - and I quote - 'a fucking liar' except would never state what it was I'd lied about when pushed) - but since that would be yet another compromise, I wouldn't back down. I bet he didn't mention the fact that he told me I couldn't build anything based on his work - not even converters to other systems of any kind.
As for the exclusion against Akyhne, that was after a mammoth argument where he violated Aeva's licence. You can - if you wish - go through the latter half of the crap at http://arantor.org/index.php?topic=168.0
(Also, what Motoko fails to realise, yet again, that by pushing things into Chit Chat, more people see Wedge than would have otherwise. Talk about backfiring.)
Why is it every time I find the time and motivation to contribute to Wedge, something comes along and leaves a nasty sour taste in my mouth? It's been hard enough finding the time and motivation to work on it without having to deal with crap like this. As some people would remember, I'm not particularly happy writing this stuff any more, and I haven't been for months because all it's doing is making me greyer than before and leaving me feeling like I owe people. People deserve to have their faith rewarded and a lot of faith has been put in this project - and I don't want to let that down. But once I've fulfilled what I see as my obligations to this project, I'll disappear into the sunset and enjoy a less unpleasant, if quieter, life with it. I don't need this crap, but I also don't want to let people down like the way XenForo is going at the moment.
Just for the record, the exclusion against vbgamer was put in place after he excluded me from using goods for which I had paid for and revoked my licence; he was apparently willing to give me a partial refund if I apologised to him for the things I'd said (though he wasn't being asked to apologise for the comments he made about me, calling me - and I quote - 'a fucking liar' except would never state what it was I'd lied about when pushed) - but since that would be yet another compromise, I wouldn't back down. I bet he didn't mention the fact that he told me I couldn't build anything based on his work - not even converters to other systems of any kind.
As for the exclusion against Akyhne, that was after a mammoth argument where he violated Aeva's licence. You can - if you wish - go through the latter half of the crap at http://arantor.org/index.php?topic=168.0
(Also, what Motoko fails to realise, yet again, that by pushing things into Chit Chat, more people see Wedge than would have otherwise. Talk about backfiring.)
Why is it every time I find the time and motivation to contribute to Wedge, something comes along and leaves a nasty sour taste in my mouth? It's been hard enough finding the time and motivation to work on it without having to deal with crap like this. As some people would remember, I'm not particularly happy writing this stuff any more, and I haven't been for months because all it's doing is making me greyer than before and leaving me feeling like I owe people. People deserve to have their faith rewarded and a lot of faith has been put in this project - and I don't want to let that down. But once I've fulfilled what I see as my obligations to this project, I'll disappear into the sunset and enjoy a less unpleasant, if quieter, life with it. I don't need this crap, but I also don't want to let people down like the way XenForo is going at the moment.
2324
Archived fixes / Re: Modify board: "All groups who can see a board can enter it as well"
« on November 28th, 2012, 05:48 AM »
r1784 has this facility now. It's not overly elegant but the best I can do for now.
2325
Features / Re: New revs
« on November 28th, 2012, 05:47 AM »
(12 files, 6KB)
Revision: 1784
Author: arantor
Date: 28 November 2012 04:46:31
Message:
! Add type 'yesno' to the settings subsystem to retain some continuity with Aeva - functionally equivalent to 'check', but uses a dropdown. Depending on the outcome of my discussion on the subject, we might change its appearance. (ManageServer.php, ManageSettings.php, plugin-info.rng, Admin.template.php)
! Add facility whereby boards that are visible but not enterable can get a custom message to be shown to them. (install.sql, ManageBoards.php, Subs-BoardIndex.php, Subs-Boards.php, Boards.template.php, MessageIndex.template.php, ManageBoards.template.php, ManageBoards language file)
@ See also discussion in team board about this. There are consequences that I have not tackled in this commit.
----
Modified : /trunk/Sources/ManageBoards.php
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Sources/ManageSettings.php
Modified : /trunk/Sources/Subs-BoardIndex.php
Modified : /trunk/Sources/Subs-Boards.php
Modified : /trunk/Themes/default/Admin.template.php
Modified : /trunk/Themes/default/Boards.template.php
Modified : /trunk/Themes/default/ManageBoards.template.php
Modified : /trunk/Themes/default/MessageIndex.template.php
Modified : /trunk/Themes/default/languages/ManageBoards.english.php
Modified : /trunk/other/plugin-info.rng
Modified : /trunk/root/install.sql
Revision: 1784
Author: arantor
Date: 28 November 2012 04:46:31
Message:
! Add type 'yesno' to the settings subsystem to retain some continuity with Aeva - functionally equivalent to 'check', but uses a dropdown. Depending on the outcome of my discussion on the subject, we might change its appearance. (ManageServer.php, ManageSettings.php, plugin-info.rng, Admin.template.php)
! Add facility whereby boards that are visible but not enterable can get a custom message to be shown to them. (install.sql, ManageBoards.php, Subs-BoardIndex.php, Subs-Boards.php, Boards.template.php, MessageIndex.template.php, ManageBoards.template.php, ManageBoards language file)
@ See also discussion in team board about this. There are consequences that I have not tackled in this commit.
----
Modified : /trunk/Sources/ManageBoards.php
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Sources/ManageSettings.php
Modified : /trunk/Sources/Subs-BoardIndex.php
Modified : /trunk/Sources/Subs-Boards.php
Modified : /trunk/Themes/default/Admin.template.php
Modified : /trunk/Themes/default/Boards.template.php
Modified : /trunk/Themes/default/ManageBoards.template.php
Modified : /trunk/Themes/default/MessageIndex.template.php
Modified : /trunk/Themes/default/languages/ManageBoards.english.php
Modified : /trunk/other/plugin-info.rng
Modified : /trunk/root/install.sql