You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to improve general quality of FRSS source code (e.g. coding style, refactoring, improve MVC system). It means I will work on very different code sections. So if you're working on something "big" (e.g. SQL instructions for PostgreSQL), please let me know so I will try to not break your work.
I think it is necessary before adding big features such as plugin system. For instance, I'm working on the new category system (#646) but now I have to add new columns in DB. But before I would like to create a page in administration to check installation configuration is still good and if it's not, try to patch errors (e.g. missing columns in DB). But to do that, I would like to have a strong base code. So I'm actually stuck :)
Some examples of what I want to do:
Improve general indexController source code. Actually normal, global and reader views are handled by the indexAction but I think it's too problematic.
Improve usersController (needed for what I want to do next for multiuser system)
Ok, I have just committed the primitive extension system I am currently using febabcc
Although not finished, it is already functional for CSS + JavaScript.
If you plan any change in the database that may affect performances, it could be good to first manually test the performances of the SQL queries on a large database before doing too many other changes.
If needed, I can provide an SQL dump of ~200k articles.
I only planned to add two order fields (for both of feed and category tables) and to change category id as discussed in #229 (I will certainly ask you to help me on that later :p). But actually I have delayed changes in DB after closing this ticket.
Go ahead for the database. I just started to work on postgres and i am stuck with not a lot of time currently. I can start over because now I know how to solve my first problems.
And anyway I need to rewrite a lot of queries to make them work on the 3 databases.
javascript_vars.phtml has been rewritten. Some functions may not work anymore even if I tried to be meticulous. Please let me know if anything is wrong!
Good news, the end of refactoring is coming! If you see my first post, there is just the i18n improvement to finish :) (last but not least!) In fact refactoring of indexController is not merged yet but you can try the branch 634-refactor-with-context, I just have to fix the feed aside which has a new structure.
I hope to close this ticket before the end of the week ;)
Activity
marienfressinaud commentedon Oct 5, 2014
Also, I would like to do a review of Minz code in order to update the official repository and release a new version :)
Primitive extension system
Alkarex commentedon Oct 5, 2014
Ok, I have just committed the primitive extension system I am currently using febabcc
Although not finished, it is already functional for CSS + JavaScript.
If you plan any change in the database that may affect performances, it could be good to first manually test the performances of the SQL queries on a large database before doing too many other changes.
If needed, I can provide an SQL dump of ~200k articles.
marienfressinaud commentedon Oct 5, 2014
Oh nice :)
I only planned to add two
orderfields (for both offeedandcategorytables) and to change category id as discussed in #229 (I will certainly ask you to help me on that later :p). But actually I have delayed changes in DB after closing this ticket.Alkarex commentedon Oct 5, 2014
Ok :-)
aledeg commentedon Oct 5, 2014
Go ahead for the database. I just started to work on postgres and i am stuck with not a lot of time currently. I can start over because now I know how to solve my first problems.
And anyway I need to rewrite a lot of queries to make them work on the 3 databases.
Let's begin the big refactoring!
Use _i() whenever it is possible
marienfressinaud commentedon Oct 5, 2014
There is no more useless
Minz_Translate::t()(now please use_t()) orFreshRSS_Themes::i()(use_i())marienfressinaud commentedon Oct 5, 2014
By the way, #634 should be part of this ticket.
Refactor javascript_vars.phtml
marienfressinaud commentedon Oct 5, 2014
javascript_vars.phtmlhas been rewritten. Some functions may not work anymore even if I tried to be meticulous. Please let me know if anything is wrong!16 remaining items
Draky50110 commentedon Oct 20, 2014
@marienfressinaud Merci :)
Refactoring of indexController
marienfressinaud commentedon Oct 22, 2014
Good news, the end of refactoring is coming! If you see my first post, there is just the i18n improvement to finish :) (last but not least!) In fact refactoring of
indexControlleris not merged yet but you can try the branch 634-refactor-with-context, I just have to fix the feed aside which has a new structure.I hope to close this ticket before the end of the week ;)
marienfressinaud commentedon Oct 23, 2014
Now available in the 634-refactor-with-context branch :) (before / after)
Alkarex commentedon Oct 23, 2014
Looks good :-) I am quite busy currently but will try soon. What is the status of the HTTP login?
marienfressinaud commentedon Oct 23, 2014
No problem. HTTP login works well ;)
And here is a little demo of new aside: http://marienfressinaud.fr/data/files/freshrss_new_aside.webm
marienfressinaud commentedon Oct 24, 2014
Work on 634-refactor-with-context branch is finished and merged into
dev. Enjoy!aledeg commentedon Oct 24, 2014
nice 👍 I'll check that this weekend
marienfressinaud commentedon Oct 24, 2014
Note default view option can be broken after updating: please submit the reading form again to fix it.
Alwaysin commentedon Oct 25, 2014
J'aime beaucoup 👍
Jucgshu commentedon Oct 25, 2014
This new context menu is brilliant !
Just 2 notes with origin theme :
Other than that, it's really really cool !
marienfressinaud commentedon Oct 25, 2014
Thanks!
Draky50110 commentedon Oct 25, 2014
Added to "problems" in the issue asking for testing : untranslated string.
marienfressinaud commentedon Dec 11, 2014
Last merge (efdb80f) was the final one: now we have a new i18n system. I close this ticket.