ElkArte Community

Elk Development => Feature Discussion => Exterminated Features => Topic started by: emanuele on January 05, 2013, 06:31:14 pm

Title: A bit of bloating
Post by: emanuele on January 05, 2013, 06:31:14 pm
https://github.com/blueimp/jQuery-File-Upload

/me is playing with it for a project

/me thinks it would be possible to write an addon for Elkarte "easily" (at least it should be easier than for SMF) to replace the default attachments upload box
Title: Re: A bit of bloating
Post by: Spuds on January 05, 2013, 08:37:03 pm
I've been checking that out myself, I think its pretty 8)  If it can be done for Elkarte I say go for it, and if it can't be done easily, well then we need to change some things in elkarte so it can be !

Title: Re: A bit of bloating
Post by: IchBin on January 05, 2013, 09:08:28 pm
That is a thing of beauty. I vote you guys make it happen. :D
Title: Re: A bit of bloating
Post by: Antechinus on January 06, 2013, 12:10:35 am
kn wikkid. I like. :)
Title: Re: A bit of bloating
Post by: emanuele on January 06, 2013, 04:11:49 am
Spuds were you looking at it for default?
Title: Re: A bit of bloating
Post by: Spuds on January 06, 2013, 11:34:55 am
I was just playing with that one and a couple of others some time back but did not do much more than that.

Default you say :P, don't know what does everyone else think? 
Title: Re: A bit of bloating
Post by: emanuele on January 06, 2013, 05:36:21 pm
Oook.

For now I have just used the custom uploader because I needed a way to upload images not bound to the attachments system (I needed it mainly to add images to blocks in SP and install AEVA just for that was a bit overkill, so since I should be the only one using it it should be fine like that...I also used a kind of strange positioning on the right of the textarea (it's a while I'm thinking that on the left and the right of the textarea there is a lot of unused space that could be filled with an upload system...well originally (some years ago) the plan was another but that's another story) that doesn't look so good (I had to use a couple of dirty javascript tricks to be able to set the box in the correct position with the design I would like it to have (and I mostly failed since I hate both javascript and css...))).

...I admit I had to count the parentheses to be sure were correctly closed. :P

mmm...small "bug" (or missing feature depending on the point of view): the textarea of the editor doesn't resize on changing the width of the page.
Also from time to time the resize bar jumps here and there...ohh well I can disable javascript. :P
Title: Re: A bit of bloating
Post by: Spuds on January 06, 2013, 07:23:29 pm
Quotemmm...small "bug" (or missing feature depending on the point of view): the textarea of the editor doesn't resize on changing the width of the page.
Also from time to time the resize bar jumps here and there...ohh well I can disable javascript. :P
Yeah I knew about the textarea resize issue, it creates that textarea based off the initial window size  but does not refresh that size when you resize the window.  We could report it to Sam and see if he wants to make a change. 

Not sure I've seen the resize bar jump ...
Title: Re: A bit of bloating
Post by: TestMonkey on January 11, 2013, 01:08:23 pm
To (quick) note:
I favor the refactoring: detach of the upload files functionality in Elkarte, from strictly attachments to posts. It should be reusable for something like "attachments" to articles of SP.

If we do that, the replacement of the implementation with this implementation might be even easier.
Title: Re: A bit of bloating
Post by: TestMonkey on March 06, 2013, 03:34:41 am
Tracked, for the poor memory of some of us.

/me has poor memory and even looser discipline. :P

https://github.com/elkarte/Elkarte/issues/224
Title: Re: A bit of bloating
Post by: emanuele on November 10, 2013, 05:19:58 am
Decoupling is at a rather good level now: attaching a file and post are two quite independent actions (glued together by $_SESSION), probably not yet perfect.
For 1.1 should be rather easy to implement that with out standard attachments system. :D
Title: Re: A bit of bloating
Post by: Nao on November 10, 2013, 06:01:57 am
Doesn't matter but it's Aeva not AEVA :P
Source: the author ^^
Title: Re: A bit of bloating
Post by: Spuds on November 10, 2013, 09:41:38 am
Quote from: emanuele – Decoupling is at a rather good level now: attaching a file and post are two quite independent actions (glued together by $_SESSION), probably not yet perfect.
For 1.1 should be rather easy to implement that with out standard attachments system. :D
Awesome ... its on the 1.1 list for sure :)

Quote from: Nao – Doesn't matter but it's Aeva not AEVA :P
Source: the author ^^
At least it was spelled right :P
Title: Re: A bit of bloating
Post by: Nao on November 11, 2013, 05:21:35 am
Trudat!

Although, technically, the Aeva mod with a gallery area is called Aeva Media, since Aeva itself was only the embedding part, but... I can understand it might put people off ;)