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
Notifications #428
Notifications #428
Conversation
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
…kerson@gmail.com>" This reverts commit d4eaec5.
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Some more refactoring Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Give it as much information as possible so the templates have as much information as possible Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Add new parameters to validateAccess() Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Am I the only person that likes fields from similar tables to be near each other? Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
No, it wasn't, but it is an obvious case to reduce the amount of rows read. |
Could be, but I like the "trust but verify" myself, as I'm never confident in what/how/why DB internals run. Anyway was just curious what the improvement turned out to be. Carry on! |
Thank you, Josh! I think indeed Notifications subs are better off refactored in their own file, and perhaps also some functions signatures more consistent with others. There are quite some chunks of code there, it's far better than keeping them in Post or the like. But the PR contains other commits too, and they are not suitable. Same goes for https://github.com/joshuaadickerson/NotElkarte/commit/e1c14e7e3ae7ccfe8033906799c5db84f7475a70 which is problematic. The way to make it easier to take in, is to rebase your Notifications PR to the master: with the higher-level notifications refactoring, and it alone. I would suggest you take a look at the current notifications code too. A few changes will probably conflict with a couple of my latest changes, which have also refactored a few of the notifications too (far fewer, like one or two, with no intentions on notifications in particular). |
As noted, this has been done in #988 so closing this |
Moved the notifications subs to a new file