aurweb merge requestshttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests2022-02-18T22:02:33Zhttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/463fix: unset InactivityTS for users on login2022-02-18T22:02:33ZKevin Morriskevr@0cost.orgfix: unset InactivityTS for users on loginSigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/462fix: resolve null VoteTS columns via migration2022-02-19T00:21:07ZKevin Morriskevr@0cost.orgfix: resolve null VoteTS columns via migrationSomehow, many aur.al records of PackageVotes do not have a valid VoteTS
value. This migration fixes that issue by setting all null VoteTS
columns to the epoch timestamp.
Signed-off-by: Kevin Morris <kevr@0cost.org>Somehow, many aur.al records of PackageVotes do not have a valid VoteTS
value. This migration fixes that issue by setting all null VoteTS
columns to the epoch timestamp.
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/460fix: set RequestTS when autogenerating requests2022-02-18T00:08:27ZKevin Morriskevr@0cost.orgfix: set RequestTS when autogenerating requestsSigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/459fix: /packages search ordering links2022-02-18T00:08:26ZKevin Morriskevr@0cost.orgfix: /packages search ordering linksThis was not including other parameters that should be persisted for
users.
Signed-off-by: Kevin Morris <kevr@0cost.org>This was not including other parameters that should be persisted for
users.
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/458fix: send up to date flag notifications2022-02-17T23:36:02ZKevin Morriskevr@0cost.orgfix: send up to date flag notificationsThese were being produced with the db state before the flag was set,
which is not what should be done for flag notifications, as the
notification contains data about the comment and the current flagger.
Closes #292
Signed-off-by: Kevin...These were being produced with the db state before the flag was set,
which is not what should be done for flag notifications, as the
notification contains data about the comment and the current flagger.
Closes #292
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/457fix: pkgbase -> package redirection2022-02-14T23:43:49ZKevin Morriskevr@0cost.orgfix: pkgbase -> package redirectionWe were redirecting in some error-cases, which this commit sorts out:
- package count == 1 and package base name != package name
- was redirecting to {name} and not the only associated Package
Now, when we have a package base name that ...We were redirecting in some error-cases, which this commit sorts out:
- package count == 1 and package base name != package name
- was redirecting to {name} and not the only associated Package
Now, when we have a package base name that mismatches its only
package, we display the package base page. Otherwise, we redirect
to the first package's page.
Closes #282
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/456fix: links to cgit should be url encoded2022-02-14T01:53:55ZKevin Morriskevr@0cost.orgfix: links to cgit should be url encodedCloses #283
Signed-off-by: Kevin Morris <kevr@0cost.org>Closes #283
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/455fix: allow co-maintainers to [un]pin comments on a package2022-02-12T00:28:59ZKevin Morriskevr@0cost.orgfix: allow co-maintainers to [un]pin comments on a packageCloses #279
Signed-off-by: Kevin Morris <kevr@0cost.org>Closes #279
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/454fix: send notifications when users submit comments2022-02-11T08:48:20ZKevin Morriskevr@0cost.orgfix: send notifications when users submit commentsCloses #278
Signed-off-by: Kevin Morris <kevr@0cost.org>Closes #278
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/453fix: restore missing typeahead js on authenticated dashboard2022-02-10T21:38:03ZKevin Morriskevr@0cost.orgfix: restore missing typeahead js on authenticated dashboardSigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/451fix(rpc): use max_rpc_results for type=multiinfo result limit2022-02-10T09:21:47ZKevin Morriskevr@0cost.orgfix(rpc): use max_rpc_results for type=multiinfo result limitSigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/448fix: correct redirects for package actions & requests2022-02-09T07:04:50ZKevin Morriskevr@0cost.orgfix: correct redirects for package actions & requestsFor requests, we always pass a `next` of /requests, leading us
back to the requests page. For a standard package, we get redirected
to the involved pkgbase, or target pkgbase if a merge action was taken.
Signed-off-by: Kevin Morris <kev...For requests, we always pass a `next` of /requests, leading us
back to the requests page. For a standard package, we get redirected
to the involved pkgbase, or target pkgbase if a merge action was taken.
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/444fix: support multiple SSHPubKey records per user2022-02-08T17:13:22ZKevin Morriskevr@0cost.orgfix: support multiple SSHPubKey records per userThere was one blazing issue with the previous implementation regardless
of the multiple records: we were generating fingerprints by storing
the key into a file and reading it with ssh-keygen. This is absolutely
terrible and was not meant...There was one blazing issue with the previous implementation regardless
of the multiple records: we were generating fingerprints by storing
the key into a file and reading it with ssh-keygen. This is absolutely
terrible and was not meant to be left around (it was forgotten, my bad).
Took this opportunity to clean up a few things:
- simplify pubkey validation
- centralize things a bit better
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/443fix: TUVote inner join TUVoteInfo for "Last Votes by TU" listing2022-02-08T02:36:22ZKevin Morriskevr@0cost.orgfix: TUVote inner join TUVoteInfo for "Last Votes by TU" listingBy implicitly joining, sqlalchemy joined on
`TUVote.UsersID = TUVoteInfo.SubmitterID`. This should be joining on
`TUVote.VoteID = TUVoteInfo.ID` instead to include all TUVote instances
found in the database.
Closes #266
Signed-off-by: ...By implicitly joining, sqlalchemy joined on
`TUVote.UsersID = TUVoteInfo.SubmitterID`. This should be joining on
`TUVote.VoteID = TUVoteInfo.ID` instead to include all TUVote instances
found in the database.
Closes #266
Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/442fix: M/c search with multiple keywords2022-02-08T00:29:12ZKevin Morriskevr@0cost.orgfix: M/c search with multiple keywordsSigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/441fix: OutOfDateTS db fetch for pkgbase action display2022-02-07T21:38:33ZKevin Morriskevr@0cost.orgfix: OutOfDateTS db fetch for pkgbase action displaySigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/438fix: /packages search by keywords2022-02-07T07:37:30ZKevin Morriskevr@0cost.orgfix: /packages search by keywordsSigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/437fix: RSS aurlogo.png url2022-02-07T07:30:06ZKevin Morriskevr@0cost.orgfix: RSS aurlogo.png urlSigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/436fix: remove /packages search count limit2022-02-07T00:27:47ZKevin Morriskevr@0cost.orgfix: remove /packages search count limitSigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.orghttps://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/434Bugfixes2022-02-05T11:55:07ZKevin Morriskevr@0cost.orgBugfixesSigned-off-by: Kevin Morris <kevr@0cost.org>Signed-off-by: Kevin Morris <kevr@0cost.org>Kevin Morriskevr@0cost.orgKevin Morriskevr@0cost.org