Age | Commit message (Collapse) | Author |
|
Rather than use user.is_authenticated, rely on certain permissions being
set for the user. This allows us to open up the developer side and not
assume everyone is a package maintainer.
Allow all logged-in users to still view todo lists, but don't show the
complete/incomplete links (only the text) unless they are allowed to
mess with todo lists.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This exposes something we added a while back, and has been shown elsewhere,
but will now be available for everyone to see. Also change the default
search order to just be by pkgname; we don't need to do a multi-column
search by default.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Now that the wiki is HTTPS for the most part, we should skip the redirects
and link directly. Also switch some www links for mailman resources to the
mailman subdomain.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Set up a default DATE_FORMAT in settings.py and use it everywhere we do the
'|date' template filter rather than hardcoding the value in the template.
This also fixes a regression with news date/time now that we changed the
field to store both date and time.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
And also add the new style class we will need so the search form retains the
prior look, now that we are using this style elsewhere.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
It sounded like the date had to match exactly which wasn't true, so clarify
the label on the form field.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This text also includes a link to search the AUR for the same keywords. This
implements FS#19904.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We had 'style=' instead of 'class=' here, making the highlight disappear.
Fix it and things will work again. Fixes FS#19652.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Get this working by doing some class business with CSS in order to highlight
the correct tab. I had to add some stuff to a variety of pages but it should
be working correctly now. Addresses FS#19591.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* moved non-tabular data out of tables
* added tbody for pretty printing
* form accessibility
* descriptive href titles throughout
* code cleanup (removing unnecessary line breaks, styling, etc.)
* renamed page to Package Database
* add descriptive text to bottom of database pages
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This is an attempt to fix our long-standing problems dealing with maintainer
information. Move the actual maintainer information off of the package model
into a PackageRelation object, which has some flexibility to later represent
more than just maintainership.
This solves multiple problems:
* If a package gets accidentally deleted, so did the maintainer info
* Testing packages have always shown up as orphans
* With split packages, it was easy to miss some of the sub-packages
This commit does not include the deletion of the original maintainer column;
that will come at a later time when I feel more confident that the data was
migrated correctly.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This way we can skip the redirect to HTTPS on the real site that is not
necessary by any means, and it works out for the best.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Random stupids in our HTML, this should be a little better at least.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* Don't show checkboxes for non-authenticated users
* Fix up the adopt buttons to not be a table row
* Fix the form which didn't have a closing tag
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
into the admin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit fe03cefa08b4332c8a404a8952f21e39f7e26115.
|
|
|
|
|
|
|
|
|
|
Refactored the model to remove the arch and repo tables. Those data points
are now encapsulated in the package table as an ENUM field.
Changes to models and templates as needed.
|
|
|
|
|
|
Special Note
Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
|