Magnus Hagander [Tue, 25 Sep 2018 17:09:26 +0000 (19:09 +0200)]
Remove sponsor name from sponsor details
It's already in the header, let's save some vertical space.
Magnus Hagander [Tue, 25 Sep 2018 17:08:27 +0000 (19:08 +0200)]
Show sponsor details on the view/claim benefit page
Because you often want the URL and the Display Name of the sponsor when
confirming a logo, for example...
Magnus Hagander [Tue, 25 Sep 2018 14:36:42 +0000 (16:36 +0200)]
Add link to news
Magnus Hagander [Sun, 23 Sep 2018 19:29:44 +0000 (21:29 +0200)]
Handle attendee report where more than one state is picked
Bug spotted by ads.
Magnus Hagander [Sun, 23 Sep 2018 18:58:18 +0000 (20:58 +0200)]
Add docs file that I forgot to git add earlier
Magnus Hagander [Sun, 23 Sep 2018 16:56:56 +0000 (18:56 +0200)]
Make it possible to filter a report based on speaker state
Magnus Hagander [Sun, 23 Sep 2018 13:54:00 +0000 (15:54 +0200)]
Implement better way to handle deploystatic branch tips
This removes the --githash parameter again, and replaces it with smarter
parsing. When working from a raw directory, do as before. When deploying
from a branch, call "git rev-parse" on the branch to get the branch tip,
and then use that hash. This is the same branch we actually deploy from,
so the contents should be correct at all times.
Magnus Hagander [Sun, 23 Sep 2018 13:46:51 +0000 (15:46 +0200)]
Add deploystatic commandline argument to provide githash
This will be needed when deploying off a branch, where we cannot just
open a file.
Magnus Hagander [Sun, 23 Sep 2018 13:34:09 +0000 (15:34 +0200)]
Don't limit news JSON feed to RSS feed items only
If we limit it like that then there is no way to actually get to those
news items. They should be included in the JSON feed, just not RSS,
because the JSON feed is intended for internal consumption.
Instead, add a boolean field to the actual *contents* representing the
flag for inrss.
Magnus Hagander [Sun, 23 Sep 2018 13:31:59 +0000 (15:31 +0200)]
Fix unicode bug and spelling error
Magnus Hagander [Sun, 23 Sep 2018 12:45:09 +0000 (14:45 +0200)]
Revamp and expand news handling
A number of improvements and unifications for news:
* News posts now get authors
* Authors are from NewsPosterProfile:s, which will include a full name
and an "urlname"
* Authors can also be specified as "can post global", which should
give rights to post on the global feed. Right now the global feed
requires superuser access anwyay, but for the future...
* News can now be posted at conference level as well as previous
global only
* Front page of website pulls in a combination of global news and
conference news. Global news can be given a "high priority until"
field that ensure it sits at the top of the frontpage until a
certain date, so conference news can't push it off.
* Each conference gets it's own RSS feed. This one is also available
via JSON for an easy way to pull it into the conference site itself.
* All links to posts in the conference feed goes to the conference
homepage. It's really only designed for transient news.
* Each user also gets it's own RSS feed. This is designed so that it
can be submitted to an aggregator like Planet PostgreSQL which
requires personal feeds. Conference specific news are automatically
prefixed by conference name.
* Each post can individually be toggled if it should be included in
the RSS feed or not
* Re-adds the news archive, with a paginated view
* Each post can individually be toggled for inclusion in the news
archive, so it's possible to create more transient news. News
archive *only* contains news from the global feed, not the
conference feeds.
* Makes the "read more" button on the frontpage only show up if the
entire news post did not fit
Magnus Hagander [Sun, 23 Sep 2018 12:56:59 +0000 (14:56 +0200)]
Specify default DataTable sorting for some backend forms
We had sorting, but when adding DataTable everything reverted to sorting
based on the first column. Fix that for example for all items that have
a defined sortkey column.
Magnus Hagander [Sat, 22 Sep 2018 19:28:27 +0000 (21:28 +0200)]
Add support for markdown previews in backend forms
We had basic markdown preview support in /admin/, but not in the newer
and otherwise better backend editor.
Magnus Hagander [Fri, 21 Sep 2018 12:26:12 +0000 (14:26 +0200)]
Fix defaults for sponsorship benefit classes
Defaulting to null when nulls are not allowed turns out to be a bad
idea.
Magnus Hagander [Tue, 18 Sep 2018 16:12:58 +0000 (18:12 +0200)]
Disable datatable ordering on registration list
It can't handle NULLs the way we need it, and we have server side
ordering already. It's the searching that's important...
Magnus Hagander [Tue, 18 Sep 2018 15:57:56 +0000 (17:57 +0200)]
Use datatable for registration list
This makes it possible to search the registration list, and also to
re-sort it without a server roundtrip. Makes it easier to work with long
lists of registrations.
Magnus Hagander [Tue, 18 Sep 2018 15:45:52 +0000 (17:45 +0200)]
Fix migration for acceess token permissions
63b80c6f727e12403d9419ef531ea22304e6a1b9 changed the hardcoded options
available, but forgot to update the old migration.
Magnus Hagander [Sun, 16 Sep 2018 20:52:33 +0000 (22:52 +0200)]
Include number of remaining seats in additional option json dump
Magnus Hagander [Sun, 16 Sep 2018 19:43:39 +0000 (21:43 +0200)]
Add support for a new Adyen transaction string
Magnus Hagander [Sun, 16 Sep 2018 16:49:45 +0000 (18:49 +0200)]
Allow remote access to keyed JSON data
Set the access-control-allowed-origin to make it possible to load the
JSON data from another domain, such as one of the conference domains.
Magnus Hagander [Fri, 14 Sep 2018 14:45:54 +0000 (16:45 +0200)]
Make it possible to get additional option counts from tokens
Magnus Hagander [Fri, 14 Sep 2018 14:45:41 +0000 (16:45 +0200)]
Update docs for json token links
Magnus Hagander [Fri, 14 Sep 2018 12:10:50 +0000 (14:10 +0200)]
Make it possible to add/remove additional options from registrations
This should not require /admin/ access, so add it to the general form.
Magnus Hagander [Fri, 14 Sep 2018 11:43:41 +0000 (13:43 +0200)]
Support json format output access key based data dump
Also adds support for first-level grouping of structured data into the
json output (which in csv/tsv remains ungrouped, of course).
Magnus Hagander [Thu, 13 Sep 2018 11:43:00 +0000 (13:43 +0200)]
Don't show all users with discount codes when creating new codes
Before a code is set, the field is ''. Which matches every user that
doesn't use a discount code or voucher.
Magnus Hagander [Wed, 12 Sep 2018 20:33:59 +0000 (22:33 +0200)]
Reverse order of upcoming and current conferences on dashboard
Show the next upcoming one first, instead of ordering them
last-to-first. This makes more sense for current/upcoming, since the one
most likely to be worked on is then at the first position.
Past conferences remain sorted the same way as before, since that leaves
the most recent one first.
Suggsted by Andreas Scherbaum, though not his patch since it didn't
work.
Magnus Hagander [Wed, 12 Sep 2018 11:59:29 +0000 (13:59 +0200)]
Fix missing import
69ae4f286fd6bf2305c7aeca69598b6bc88a2741 broke the import of
NoReverseMatch when updating the url reversing.
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