Magnus Hagander [Wed, 12 Sep 2018 11:58:10 +0000 (13:58 +0200)]
Show current users of discount codes in admin view
Magnus Hagander [Wed, 12 Sep 2018 11:56:28 +0000 (13:56 +0200)]
Make the add button for linked objects configurable
Default is off, but turn it on for sponsorship levels, the only
currently existing one.
Magnus Hagander [Wed, 12 Sep 2018 11:53:31 +0000 (13:53 +0200)]
Link to options, discounts and vouchers from admin dashboard
Brings in a shortcut to viewing more status about the different types of
objects.
Magnus Hagander [Wed, 12 Sep 2018 10:44:32 +0000 (12:44 +0200)]
Show number of invoiced registrations on admin dashboard
This separates out the count of invoiced (which includes both directly
invoiced and invoiced through bulk payment) registrations from unconfirmed.
Magnus Hagander [Wed, 12 Sep 2018 08:51:49 +0000 (10:51 +0200)]
Fix cross conference emailing for registered-by-others users
When a user is registrered by somebody else, they get an attendee_id of
NULL. These registrations got filtered out against the global opt-out
list, due to the NULL check.
Make it so that any registration with NULL attendee is always included.
If this user decides to opt out globally, the attendee_id field will get
populated when they do that, and the regular opt-out rules will apply.
Per-conference-series optout not affected as it was already doing the
correct thing.
Magnus Hagander [Wed, 12 Sep 2018 08:29:26 +0000 (10:29 +0200)]
Make sponsorship details more compact
This was done in
7f3bc68469a13f2ac0531cef39f42d54cfe0c6e1 for the signup
form, but should also be done for the individual sponsor dashboard.
Magnus Hagander [Tue, 11 Sep 2018 20:45:34 +0000 (22:45 +0200)]
Add link to view invoice from registration dashboard view
Magnus Hagander [Tue, 11 Sep 2018 19:32:21 +0000 (21:32 +0200)]
Add direct link to user feedback on admin dashboard
Lack thereof noticed by Stephen
Magnus Hagander [Tue, 11 Sep 2018 14:38:23 +0000 (16:38 +0200)]
Ensure lowercase on emails on conference registrations
Previously the duplication check would work case sensitive, so the same
email could be used twice with different spellings. This caused
duplicate registrations due to lack of verification by the people who
registered.
Vik Fearing [Sun, 9 Sep 2018 23:18:19 +0000 (16:18 -0700)]
Use modern way of including the admin URLs
Magnus Hagander [Fri, 7 Sep 2018 23:38:50 +0000 (16:38 -0700)]
Don't include cross schedule sessions in report of sessions-without-rooms
Vik Fearing [Fri, 7 Sep 2018 23:29:10 +0000 (16:29 -0700)]
Specify on_delete parameter for all ForeignKeys
This will be required in future Django versions, and currently throws
deprecation warnings.
Vik Fearing [Fri, 7 Sep 2018 18:23:03 +0000 (11:23 -0700)]
Fix imports of django urlresolves
Importing from django.core.urlresolvers is deprecated in favor of django.urls.
Magnus Hagander [Fri, 7 Sep 2018 17:04:54 +0000 (10:04 -0700)]
Fix refunding of additional options invoices
When there is no way to automatically remove something because of a
refund, don't block the refund completely. Instead allow it to go
through and leave it up to the operator to manually verify.
Daniel Gustafsson [Fri, 7 Sep 2018 10:01:51 +0000 (12:01 +0200)]
Fix rendering of offline schedule
The offline code was using the deprecated .live function which was
removed in jQuery 1.9. This is a follow-up commit to
53ce8f3304eac
which fixed the same bug for sessionvoting.
Magnus Hagander [Wed, 5 Sep 2018 21:36:37 +0000 (14:36 -0700)]
Remove tests file that contains no tests anyway
Magnus Hagander [Mon, 3 Sep 2018 10:57:25 +0000 (12:57 +0200)]
Add links to website, reg, cfp and cfs on events listing
Magnus Hagander [Mon, 3 Sep 2018 09:26:12 +0000 (11:26 +0200)]
Fix speling
Magnus Hagander [Mon, 3 Sep 2018 09:25:09 +0000 (11:25 +0200)]
Split past events list by year
Makes it a lot more readable when there are many events (many more than
in testing..)
Magnus Hagander [Mon, 3 Sep 2018 09:10:04 +0000 (11:10 +0200)]
Add fa icon to indicate dropdown availability
Magnus Hagander [Mon, 3 Sep 2018 09:09:46 +0000 (11:09 +0200)]
Make sponsorship signup list more compact
Becomes more apparent when all the different options are avaiable
Magnus Hagander [Mon, 3 Sep 2018 09:04:30 +0000 (11:04 +0200)]
Re-order and comment up CSS file
Magnus Hagander [Mon, 3 Sep 2018 08:50:47 +0000 (10:50 +0200)]
Fix typo
Accidentally listed all events under "call for sponsors open".
Magnus Hagander [Mon, 3 Sep 2018 08:48:58 +0000 (10:48 +0200)]
Hide "Open for" sections on events page with no content
Magnus Hagander [Mon, 3 Sep 2018 08:47:04 +0000 (10:47 +0200)]
Remove extra </div>
Masked by previous error in the base template.
Magnus Hagander [Mon, 3 Sep 2018 08:46:59 +0000 (10:46 +0200)]
Add missing </div>
Magnus Hagander [Mon, 3 Sep 2018 08:38:43 +0000 (10:38 +0200)]
Make invoice form load the full jquery and not the slim one
This is needed to access the $.ajax() functionality.
Magnus Hagander [Mon, 3 Sep 2018 08:37:31 +0000 (10:37 +0200)]
Add a block "pagescript" for on-page scripts
These are scripts that need to run after jquery has loaded (for
example).
Magnus Hagander [Mon, 3 Sep 2018 08:36:48 +0000 (10:36 +0200)]
Make it possible to override the jquery include
This allows for example including a different version of jquery than the
default.
Magnus Hagander [Mon, 3 Sep 2018 08:32:55 +0000 (10:32 +0200)]
Fix typo
Magnus Hagander [Fri, 31 Aug 2018 13:03:37 +0000 (15:03 +0200)]
New base design for www.postgresql.eu website
This replaces the base design with something that's a lot more modern,
based on bootstrap etc. Lots of inspiration from the updated main
postgresql.org website. Also is at least attempting to be a little bit
responsive, unlike previous website.
Also restructures the event section completely, to be able to more focus
on the events that we run.
Does not change anything fundamental in the backend systems, and
*should* have no effect on downstream conferences as those templates are
just wrapped in a different otuside now.
Magnus Hagander [Mon, 3 Sep 2018 07:57:00 +0000 (09:57 +0200)]
Add a member_context to all requeests
This adds a lazy object "member" which accesses the membershpi
information for the currently logged in user (if logged in). It's lazy
evaluated so we don't end up querying the database for it unless needed.
Magnus Hagander [Sun, 2 Sep 2018 18:03:59 +0000 (20:03 +0200)]
Fix accounting search function
Magnus Hagander [Sun, 2 Sep 2018 17:34:26 +0000 (19:34 +0200)]
Even more event merge failures
Magnus Hagander [Sun, 2 Sep 2018 17:33:24 +0000 (19:33 +0200)]
More merge failure cleanups
Magnus Hagander [Sun, 2 Sep 2018 17:32:47 +0000 (19:32 +0200)]
Remove more references to events
Fallout from a merge failure :/
Magnus Hagander [Sun, 2 Sep 2018 17:32:10 +0000 (19:32 +0200)]
Remove reference in admin
Magnus Hagander [Sun, 2 Sep 2018 17:30:23 +0000 (19:30 +0200)]
Add promotional fields to conference and series
This adds field to enable/disable promotion of a conference, along with
a text and an image field for it. It also adds an intro text to
conference series, as they are now used to promote events.
Magnus Hagander [Sun, 2 Sep 2018 17:29:07 +0000 (19:29 +0200)]
Remove support for standalone events
It wasn't actively used for a long time, having been replaced with our
full confreg system.
Magnus Hagander [Sun, 2 Sep 2018 10:48:26 +0000 (12:48 +0200)]
Fix braintree payment fees view
This has been broken since payment fees started being tracked, but
apparently nobody ever viewed a braintree invoice that had been paid
before :)
Magnus Hagander [Fri, 31 Aug 2018 13:18:29 +0000 (15:18 +0200)]
Import font-awesome 4.7
Magnus Hagander [Fri, 31 Aug 2018 13:16:41 +0000 (15:16 +0200)]
Add a django validator for urls-pointing-to-pictures
Magnus Hagander [Fri, 31 Aug 2018 13:05:44 +0000 (15:05 +0200)]
Add 'now' function to jinja templates
Magnus Hagander [Thu, 30 Aug 2018 19:22:10 +0000 (21:22 +0200)]
Fix schedule creation error when no rooms are defined
This would previously report that there are no slots defined, due to a
join against rooms. So instead, load the list of rooms first, and give a
specific error message if they're missing.
Patch mainly from ads, though I moved the check even further up.
Magnus Hagander [Wed, 29 Aug 2018 11:04:32 +0000 (13:04 +0200)]
Show invoice autocancel times for additional options in backend view
Magnus Hagander [Wed, 29 Aug 2018 09:06:33 +0000 (11:06 +0200)]
Allow conference administrators to save schedule
This should not require superuser, but it does require the conference
admin (and not all talkvoters) as it changes things on the conference
website.
Daniel Gustafsson [Mon, 27 Aug 2018 09:21:31 +0000 (11:21 +0200)]
Wrap "full info" link on sessionlist in <span>
Make it possible to hide the "full information" link on the session
list template by wrapping it in a span with a class. When the list
is embedded on the conference website the link makes little sense
and is somewhat confusing.
Daniel Gustafsson [Mon, 27 Aug 2018 08:58:53 +0000 (10:58 +0200)]
Update wording on sessionvotes loading panel
Replace "Nothing Yet" with "Loading submissions" as that it what
the dialog actually means.
Daniel Gustafsson [Mon, 27 Aug 2018 08:36:12 +0000 (10:36 +0200)]
Use none function instead of default filter
The default filter is a Django templatr construction, and broke
the Jinja template. Use the "none" function in Jinja instead to
fix the template.
Daniel Gustafsson [Mon, 27 Aug 2018 08:32:53 +0000 (10:32 +0200)]
Use correct filtername for default
Daniel Gustafsson [Mon, 27 Aug 2018 08:27:02 +0000 (10:27 +0200)]
Use a default trackname for unallocated talks
In the sessionlist, when a talk hasn't been allocated a track it
shows up as "None" as the Python None object is translated to a
string. Override None tracks with 'General' instead to make the
sessionlist less confusing before it's complete.
Magnus Hagander [Fri, 24 Aug 2018 10:20:42 +0000 (12:20 +0200)]
Show session id on talk voting page
Per request from ads, this should be useful when discussing talks,to
avoid having to copy/paste the whole talk title.
Magnus Hagander [Fri, 24 Aug 2018 09:32:31 +0000 (11:32 +0200)]
Add row numbering to talk vote page
Since we can now filter out talks, it makes the row numbering a lot more
useful.
Magnus Hagander [Fri, 24 Aug 2018 09:29:15 +0000 (11:29 +0200)]
Make it possible to filter talkvote list by status
Magnus Hagander [Fri, 24 Aug 2018 08:52:52 +0000 (10:52 +0200)]
Allow talk vote status change by admins
Previously it was only possible to change the status if someone was
*both* a voter *and* an admin. But the admins would still get the button
(but not talkvoters).
Daniel Gustafsson [Thu, 23 Aug 2018 19:34:03 +0000 (21:34 +0200)]
Fix typo in cancel reg popup
Magnus Hagander [Thu, 16 Aug 2018 20:52:22 +0000 (22:52 +0200)]
Automatically cascade deletes to conference session votes
Without this, a session that had votes on it would not be possible to
delete.
Magnus Hagander [Tue, 14 Aug 2018 11:17:20 +0000 (13:17 +0200)]
Properly support markdown when previewing session abstracts
In the voting page, we should parse the markdown in the preview, since
it's supported in abstracts in general.
Magnus Hagander [Mon, 13 Aug 2018 20:36:25 +0000 (22:36 +0200)]
Allow administrators to view talk voting page without throwing exception
They can of course not vote (and this was already protected for at the
actual endpoints), just view the overview without throwing.
Magnus Hagander [Mon, 13 Aug 2018 20:27:47 +0000 (22:27 +0200)]
Don't crash speaker lookup on speakers with no userid
These would either be old migrated speakers or speakers who have been
added manually into the system (which we really shouldn't do..)
Magnus Hagander [Mon, 13 Aug 2018 20:23:30 +0000 (22:23 +0200)]
Change voting comment to be text instead of varchar(200)
No reason to limit it in the new interface.
Daniel Gustafsson [Fri, 10 Aug 2018 12:50:46 +0000 (14:50 +0200)]
Attempt to fix sessionvotes rendering
The .live function was removed in jQuery 1.9, causing the sessions
list to not display as it's rendered hidden. This is a mostly blind
attempt at fixing the issue.
Daniel Gustafsson [Fri, 20 Jul 2018 15:05:48 +0000 (17:05 +0200)]
Minor documentation touch-ups
Nothing interesting, just minor things spotted while reading.
Daniel Gustafsson [Fri, 20 Jul 2018 11:25:17 +0000 (13:25 +0200)]
Add invoice payment information to sponsor admin page
The invoicing information is present on the sponsorship dashboard,
but not on the detailed sponsorship view which can be confusing.
This adds the payment information on the detailed admin page.
Daniel Gustafsson [Fri, 20 Jul 2018 07:15:19 +0000 (09:15 +0200)]
Clarify wording on notification queue draining
While it's true that the speakers of the sessions will be attendees
of the conference, they probably won't be at this point. I had to
read code to ensure myself this wasn't sending a notification to
all registered attendees of the conference (which it doesn't), so
to spare myself the same excercise the next time reword the text
to make it clear.
Guillaume Lelarge [Wed, 18 Jul 2018 08:43:39 +0000 (10:43 +0200)]
Revert "Add the membership navigation menu to the invoices list"
This reverts commit
2e016b9ecaab521356297ab17f4a9072f10aed35.
Dave Page [Wed, 18 Jul 2018 08:37:54 +0000 (09:37 +0100)]
Add the nav menu to invoice pages.
Guillaume Lelarge [Wed, 18 Jul 2018 08:35:51 +0000 (10:35 +0200)]
Add the membership navigation menu to the invoices list
Guillaume Lelarge [Wed, 27 Jun 2018 09:45:40 +0000 (11:45 +0200)]
Update date on the statutes
Guillaume Lelarge [Wed, 18 Jul 2018 08:27:51 +0000 (09:27 +0100)]
Add a link to member's invoices to the membership page.
Daniel Gustafsson [Tue, 17 Jul 2018 20:24:33 +0000 (22:24 +0200)]
Widen buttons on registration dashboard
The buttons dooesn't fit the text on them, and since their styling
was inline with !important it couldn't be fixed by the conference
overrides. Fix by widening the button and removing !important. This
lipsticking the pig to handle the current event taking place, all
the inline CSS needs to removed at some point but thats another
patch.
Daniel Gustafsson [Tue, 17 Jul 2018 20:14:09 +0000 (22:14 +0200)]
Wrap sessionlink in div element to allow styling
The "Back" link on session and speaker display currently takes the
user to the sessionlist, which may not be where the user actually
came from. This wraps the link in a div element such that an event
can hide it with visibility settings in the override CSS in case it
doesn't make sense.
Magnus Hagander [Tue, 17 Jul 2018 15:02:33 +0000 (17:02 +0200)]
Fix typo
Magnus Hagander [Tue, 17 Jul 2018 15:01:45 +0000 (17:01 +0200)]
Separate pending invoices from overdue one for confirmed sponsors
Magnus Hagander [Tue, 17 Jul 2018 14:46:51 +0000 (16:46 +0200)]
Make it possible to clear a voucher code from a registration
For example, if somebody is "hogging" a code without proceeding to
finish their registration, make it possible to clear a code from the
registratino without resorting to superuser editing.
A code can only be removed if the registration does not have an invoice
or bulk payment (of course).
Magnus Hagander [Tue, 17 Jul 2018 09:37:19 +0000 (11:37 +0200)]
Remove duplicate alert messages code and styles
All pages inheriting from confadmin_base.html already process alert
messages using that template. Having it on the admin benefits made the
same message show up twice on the same page.
In passing remove CSS that used to be used for messages on timereports
but aren't anymore.
Magnus Hagander [Mon, 16 Jul 2018 14:46:37 +0000 (16:46 +0200)]
Make unconfirmed benefits a bit more compact
Magnus Hagander [Mon, 16 Jul 2018 14:43:27 +0000 (16:43 +0200)]
Add some spacing between buttons
Magnus Hagander [Mon, 16 Jul 2018 14:03:30 +0000 (16:03 +0200)]
Fix incorrect colspan
Magnus Hagander [Mon, 16 Jul 2018 13:31:54 +0000 (15:31 +0200)]
Warning text about changing sponsorship benefits
Magnus Hagander [Mon, 16 Jul 2018 13:30:42 +0000 (15:30 +0200)]
Remove global superuser link
We should really never use this anymore, so get rid of it.
Magnus Hagander [Mon, 16 Jul 2018 13:26:57 +0000 (15:26 +0200)]
Add basic docs for sponsorship side of things
Magnus Hagander [Mon, 16 Jul 2018 13:18:17 +0000 (15:18 +0200)]
Indicate invoice status for pending sponsors
Magnus Hagander [Mon, 16 Jul 2018 12:37:34 +0000 (14:37 +0200)]
Add proper backend editor for sponsors
No need to use the django admin interface anymore!
Magnus Hagander [Mon, 16 Jul 2018 12:25:40 +0000 (14:25 +0200)]
Use bootstrap accordion in admin interface
Avoid conflicts with jquery-ui
Magnus Hagander [Mon, 16 Jul 2018 12:07:50 +0000 (14:07 +0200)]
Upgrade bootstrap and jquery to later minor releases
Leave the old jquery around for non-confreg parts
Magnus Hagander [Mon, 16 Jul 2018 11:32:40 +0000 (13:32 +0200)]
Style fixes for sponsorship backend interface
Magnus Hagander [Fri, 13 Jul 2018 15:46:22 +0000 (17:46 +0200)]
Make it even more clear why IBAN transfers are discouraged
Magnus Hagander [Fri, 13 Jul 2018 15:45:50 +0000 (17:45 +0200)]
Make it possible to use HTML in payment method description
This makes it possible to use boldface and such things in particular --
use with care, but all the strings come from the code so there's no
risk.
Magnus Hagander [Fri, 13 Jul 2018 11:25:42 +0000 (13:25 +0200)]
Include username in backend listings of speaker edit
Magnus Hagander [Thu, 12 Jul 2018 11:23:36 +0000 (13:23 +0200)]
Update invoice reminder text
Make it more clear that the auto-cancellation of invoices is
non-reversible, and that they should check their sending bank account to
look for automated returns.
Daniel Gustafsson [Mon, 9 Jul 2018 20:32:08 +0000 (22:32 +0200)]
Minor doc touch-ups and typo fixes
Magnus Hagander [Mon, 9 Jul 2018 14:58:22 +0000 (16:58 +0200)]
Add filter-by-track to talkvoting page
This makes it possible to use it indepdently for voting for training for
example, but also for removing things like training and breaks from the
list of sessions when voting.
Magnus Hagander [Mon, 9 Jul 2018 14:18:08 +0000 (16:18 +0200)]
Fix styling for back button on session notification queue
Magnus Hagander [Mon, 9 Jul 2018 14:16:48 +0000 (16:16 +0200)]
Move talk voting links into /admin/
Magnus Hagander [Mon, 9 Jul 2018 14:14:50 +0000 (16:14 +0200)]
Add edit session button to conference voting page
If smaller things have to be adjusted, allow conference admins to do so.
Magnus Hagander [Mon, 9 Jul 2018 14:09:25 +0000 (16:09 +0200)]
Attempt to simplify talk voting pages
This merges a couple of changes:
1. Each individual vote is cast by selection in dropdown and is
immediately ajax-posted to the backend, so there is no huge save
button for everything that risks overwriting other fields. Changing
the vote will automatically update the average value based on the
changes (and other changes made by others).
2. No dedicated text-edit box for own comments. Instead, own comments
are listed alongside other comments, and there is an edit button that
brings up a popup and lets the comment be edited.
3. No popup windows for talk descriptions. Instead, accordions are used,
so clicking the title will expand the description in-line. This also
makes it a lot easier to handle things like copy/paste from the
descriptions.
Magnus Hagander [Mon, 9 Jul 2018 14:05:22 +0000 (16:05 +0200)]
Fix link to pending session notifications
Magnus Hagander [Mon, 9 Jul 2018 12:01:56 +0000 (14:01 +0200)]
Make it possible to make waitlist offers until a certain time
Previously it was only possible to say "<n>" hours, which made the
administrator do the calculation to make sure the offer didn't expire in
the middle of the night etc.
With this it's now possible to either extend an offer for a certain
number of hours, or until a certain point in time.
In both cases, the fields default to 48 hours from the current time.
Magnus Hagander [Mon, 9 Jul 2018 11:59:14 +0000 (13:59 +0200)]
Make it possible to cancel a waitlist offer
Previously it was only possible to remove a user from the waitlist when
they did not have an active offer, and one had to wait until the offer
expired to to that. Now we can cancel the offer but leave them on the
waitlist, and then decide if we want to cancel the waitlist completely
as a second step.