[2.0] Smartifying the backend

Mark threads with "[2.0]" for discussions about features in the longer-term future, "[1.6]" is for short-term. This is not the place for general discussions or plugin or template requests. Only features that are approved to happen by the core team should be listed here for better structuring.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [2.0] Smartifying the backend

Post by garvinhicking »

OK, well...works for me :)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] Smartifying the backend

Post by Timbalu »

Too quick, Garvin. No discussion...? :P
We still would have two "philosophies" which would'nt be good either...
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] Smartifying the backend

Post by Timbalu »

I just smartified functions_plugins_admin.inc.php, added to 2.0.
This was quite hard to convert and its nested code needs to be inspected very deep and well, to get out all the possible bugs... :wink:
Please help testing.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] Smartifying the backend

Post by Timbalu »

I remember YL say, images functions need some heavy converting too.
I now had a quick look inside, but it really seems all main output for the media db is smartified already successfully (8 files so far in default). What is remaining to be done? Can someone give me a hint?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: [2.0] Smartifying the backend

Post by yellowled »

Timbalu wrote:I now had a quick look inside, but it really seems all main output for the media db is smartified already successfully (8 files so far in default). What is remaining to be done?
Well, it is smartified, but it isn't converted to HTML5/adapted to the rest of the backend yet. Besides, as I already told you, I'm not sure how much time I'm going to have for this over the next couple of weeks. Plus, Janek is still working on a design prototype.

I also remember us discussing replacing the whole media db with a different solution altogether, but that might have been on Twitter which you don't use. Combining that with the fact that the media db is not that easy to adapt (because it uses a lot of JS, which takes time to figure out and rewrite), I decided to leave the media db out entirely for a first draft of the new backend.

I'm sorry this is taking so long, but "paid work > community work". It's as simple as that.

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] Smartifying the backend

Post by Timbalu »

yellowled wrote:Well, it is smartified, but it isn't converted to HTML5/adapted to the rest of the backend yet.
Oh that is another talk! I am sure that will need some tweaking to convert to a real HTML5-backend, but this isn't my playground. At least there now will be time to finetune the smartifications we already have.
If you remember or find other missing php-smartification functions, please insert here.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: [2.0] Smartifying the backend

Post by yellowled »

Timbalu wrote:If you remember or find other missing php-smartification functions, please insert here.
I'm sure there is a lot left to smartify, but I think it's better to hold your horses on that for the time being and let us finish a first draft of the backend – however long that's going to take. I promise, it will get much easier to discuss various questions once we have a rought scaffolding to build upon. :)

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] Smartifying the backend

Post by Timbalu »

Meanwhile I have found various small bugs and enhancements which can get viewed in my fork of YL Prototype. https://github.com/ophian/s9y-admin-tpl (this is still developing and nothing to test in real live!)

There is one curious "bug" left (for the moment), which is doing unexpected things, And I don't know why... even if I think it is some hidden javascript or browser gem.

Remember we have these 2 collapsing boxes by core i.e. in spamblock plugin config.
+/- Content Filter and +/- Trackbacks

For example.
This one is inside Trackbacks and is checked:

Code: Select all

<input type="radio" title="Nein" checked="checked" value="false" name="serendipity[plugin][trackback_check_url]" id="serendipity_plugin_trackback_check_urlfalse" class="direction_ltr input_radio">
This one is in the next uncollapsing config part and also checked:

Code: Select all

<input type="radio" title="moderieren" checked="checked" value="moderate" name="serendipity[plugin][forcemoderation_treat]" id="serendipity_plugin_forcemoderation_treatmoderate" class="direction_ltr input_radio">
Now, my question. Opening the collapsed Trackback and Content Filter Boxes do not show the checked radio buttons as marked, but the later uncollapsed part does. My two examples both use checked="checked".
With html live-edit in my Firebug, i can turn the first ones back to on, using checked or checked="" only.

This is working correct in 1.6.1/2 environment, but not in 2.0.
How can this be? Anybody any ideas?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [2.0] Smartifying the backend

Post by garvinhicking »

Hm, I don't think we performed any JS magic on that issue. Probably this is due to the smartification. Did you check the output HTML and compare it one by one with output from s9y 1.7? I bet there will be a difference...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] Smartifying the backend

Post by Timbalu »

Yes, sure there is... but nothing which points directly to this issue. :)
Id did turn off all js - tried to disable id names, etc - but no luck so far. Thats driving me nuts!
As this needs to get HTML5-fied too one day, I'll leave that for YL & friends...
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [2.0] Smartifying the backend

Post by garvinhicking »

So the HTML output of the page in the 2.0 and 1.7 version was 100% the same?
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] Smartifying the backend

Post by Timbalu »

;-) got it!
As Spock says: "An ancestor of mine maintained, that if you eliminate the impossible, whatever remains, however improbable, must be the truth."
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Locked