Commit Graph

261 Commits

Author SHA1 Message Date
Eli Schwartz 23e980fc74 setup.py: use importlib.resources from python 3.7 to find core.sr.ht Makefile
importlib.resources will guarantee to find any importable module, and
check that the resource ('Makefile') can be found within it.

This lets us get rid of the current getsitepackages() hack and
environment variable fallback, which is both verbose and badly handles
some edge cases when installing modules, and instead use the recommended
way to find data files shipped with a python module.
2020-05-11 09:36:29 -04:00
Drew DeVault 8f238adc82 Improve UI on project checklist 2020-05-08 11:17:58 -04:00
Alex Bierwagen 74c9124619 add user's name to placeholder in "projects.html" template 2020-05-06 10:28:10 -04:00
Drew DeVault a34ed9df1b services: consider 404 a successful deletion 2020-05-04 12:00:06 -04:00
Drew DeVault f6861ae2f5 webhooks: correct lists.sr.ht sender URL 2020-05-04 11:55:14 -04:00
Drew DeVault 1b21391014 Swallow errors when unensuring webhooks 2020-05-04 11:20:23 -04:00
Drew DeVault 546f0e47be webhooks: return response from unimplemented path 2020-05-04 11:08:08 -04:00
Drew DeVault 8da6133783 Add config.example.ini 2020-05-04 10:55:26 -04:00
Denis Laxalde 30e5a12c0b Add a build manifest for Debian packaging 2020-05-01 08:28:44 -04:00
Drew DeVault 5fc74fec4c Remove length limit on resource descriptions
The upstream services are the authority on these
2020-04-30 15:37:26 -04:00
Drew DeVault 9765707eb7 Fix visibility updates in project settings 2020-04-30 14:02:08 -04:00
Drew DeVault b821833d07 index search tools: d-none by default 2020-04-30 13:16:11 -04:00
Drew DeVault 9362b96441 project-index: hide search tools on xs 2020-04-30 13:13:58 -04:00
Drew DeVault 5151bb11ba Improve layout of resource lists 2020-04-30 12:18:32 -04:00
Drew DeVault 86f3f3351b Better webhook validation 2020-04-30 11:02:33 -04:00
Drew DeVault e8d313356c webhooks: verify payload signature 2020-04-30 10:27:09 -04:00
Drew DeVault a32c72e135 Revert "Fix circular dependency on project deletion"
This reverts commit 8aa3a33e9b.
2020-04-30 10:11:00 -04:00
Drew DeVault 8aa3a33e9b Fix circular dependency on project deletion 2020-04-30 10:04:14 -04:00
Drew DeVault f947f831ab Repo description is required 2020-04-30 09:59:51 -04:00
Drew DeVault 81369a172c Improve user profiles for users with little activity 2020-04-30 09:58:42 -04:00
Drew DeVault 08620422f2 Improve appearance of featured projects 2020-04-30 09:42:52 -04:00
Drew DeVault b90812f934 Fix URLs for embedded images in project summaries 2020-04-30 08:46:07 -04:00
Drew DeVault 34e5c1c7c1 project-index: hide form on mobile 2020-04-30 08:22:19 -04:00
Drew DeVault 5f1523bdfb Same fix for git repos 2020-04-29 13:59:57 -04:00
Drew DeVault 688195adb4 Fix Hg repository creation visibility assignment 2020-04-29 13:55:04 -04:00
Drew DeVault 413bf32989 Set image max width to 100% on project summaries 2020-04-29 13:53:17 -04:00
Drew DeVault d53f622d54 Mailing lists: use unmodified name for desc lookup 2020-04-29 13:36:23 -04:00
Drew DeVault 43b3a612e6 tracker.py: import Visibility 2020-04-29 13:34:57 -04:00
Drew DeVault 99f5564750 Fix invalid mailing list names 2020-04-29 13:34:06 -04:00
Drew DeVault 7468d5ce0b Project summary: clarify messaging on README prompt 2020-04-29 13:30:24 -04:00
Drew DeVault 7d1cb671f3 Better handling of private or unlisted resources 2020-04-29 13:25:49 -04:00
Drew DeVault 8f5a77e19b Update language on new-user-dashboard.html 2020-04-29 12:26:18 -04:00
Drew DeVault caa317cf5e Update projects on git commit events 2020-04-29 12:23:31 -04:00
Drew DeVault 841af67399 project summary: change wording of checklist dismissal 2020-04-29 12:22:28 -04:00
Drew DeVault 4028656cd2 Correct syntax error
God dammit
2020-04-29 12:11:53 -04:00
Drew DeVault b5ddb82dd0 Fix validation errors on new list 2020-04-29 12:07:34 -04:00
Drew DeVault 8bafcc57c6 mailing lists: raise exception on create failure 2020-04-29 11:56:20 -04:00
Drew DeVault 806f497867 Featured projects: remove user profile link 2020-04-29 11:11:31 -04:00
Drew DeVault 926ddb77d3 Filter project index to checklist-complete 2020-04-29 11:02:58 -04:00
Drew DeVault 216ca85b16 Allow trailing slashes on some routes 2020-04-29 10:46:05 -04:00
Drew DeVault 69c60fb4c4 Ellipsize overflow on events 2020-04-29 10:42:37 -04:00
Drew DeVault 07251c0336 trackers: do not require write access to view 2020-04-29 10:36:59 -04:00
Drew DeVault 313209a06e webhooks: handle lack of new refs on git push 2020-04-29 10:34:03 -04:00
Drew DeVault 0d196d8602 profile: fix route to user projects 2020-04-29 10:30:15 -04:00
Drew DeVault 05e62eb6a3 project-summary: make dismiss button more obvious 2020-04-29 10:25:48 -04:00
Drew DeVault 4186fe21d5 Add margin to headers in project summaries 2020-04-29 10:20:16 -04:00
Drew DeVault 15280eb32f Don't require login to view resource lists 2020-04-29 10:18:14 -04:00
Drew DeVault 4a13fa65af users: import abort 2020-04-29 10:15:59 -04:00
Drew DeVault 6db3801dc3 project-summary: improve setup incomplete message 2020-04-29 10:13:54 -04:00
Drew DeVault c83da0edb3 Hide new project checklist for non-owners 2020-04-29 10:12:21 -04:00