-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wladdons settings #365
Wladdons settings #365
Conversation
I have changed the tables to get rid of the settings-file. This has the advantage that the Display and Description values can be changed without hassle. Also adding new noticetypes is much easier. The tables are now:
So to fetch a users setting for emailing you need a query like this:
Is this ok for you? The workflow after this get merged is now:
The 2. point can result in many database entries though, because the database entries are created for all users who enters this page although this user have no add-on created. Looking at the add-ons-server database the user-id's are in the table |
Can you look again? |
sorry, my change was not sufficient |
Now it should work... Please try again |
👍 Looking good :) |
superseded by #374 |
Probably a solution for #359
I've tried to archive this with the notification-app, but was not very successfull... so now a new app called
wladdons_settings
.The
label
,description
anddisplay
can only be changed via the file wladdons_settings.settings.py.The table to retrieve the email setting is called
wladdons_settings_addonnotice
, the corresponding labels areaddon_transifex_issues
andaddon_deleted
. The field which shows if an email should be send is calledshouldsend
.