google-code-export / candydolldb

Automatically exported from code.google.com/p/candydolldb
0 stars 0 forks source link

Re-writable config file through web interface #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Making the config.php file editable through the web interface would be a great 
improvement, especially when a user wants to edit the default location where 
the collection is stored, or maybe change the database name

Original issue reported on code.google.com by mranimos...@gmail.com on 1 Oct 2012 at 11:42

GoogleCodeExporter commented 9 years ago
In r749, r750 and r751, I added all but two config.php variables.

Only things left are the CommandLineUserID and the e-mail template. I plan to 
make a dropdown with all users and a textarea to accomplish this, respectively.

Original comment by fwp...@gmail.com on 2 Oct 2012 at 7:59

GoogleCodeExporter commented 9 years ago
Have just added a textarea with the default forgot-password mailtemplate.

Before making it 'work', I'd like to post a thought. I remember talking about 
this, but we never wrote it down.

Wouldn't it be nice to store mailtemplates like this in the database? Then we 
should make a system-table with two columns: key (varchar(200), value 
varchar(max). We can put settings and such in there.

What do you think?

Original comment by fwp...@gmail.com on 5 Oct 2012 at 11:02

GoogleCodeExporter commented 9 years ago
what other kinds of mail templates would we store?

Original comment by mranimos...@gmail.com on 6 Oct 2012 at 12:28

GoogleCodeExporter commented 9 years ago
Perhaps a warning-mail when imports cause errors, or if the application detects 
an attack on the login-form, or...

We could also store the common set-prefix, thereby eliminating it from 
set_view.php, but still be flexible when constructing filenames.

I propose to delay this modification to the next release, instead of the 
upcoming one.

Original comment by fwp...@gmail.com on 9 Oct 2012 at 10:30

GoogleCodeExporter commented 9 years ago
OK, though with the set-prefix removal, there will probably be no need to store 
it in the DB, as the Set and Image classes are to be modified in a way as to 
accomplish that with the file-name retrieval 

Original comment by mranimos...@gmail.com on 10 Oct 2012 at 3:46

GoogleCodeExporter commented 9 years ago
All right.

With the admin panel tabbed and all everyday config entries editable, I declare 
this issue closed.

Original comment by fwp...@gmail.com on 16 Oct 2012 at 12:17