49 Commits

Author SHA256 Message Date
Dominique Leuenberger
8ec76f9eaa Accepting request 852786 from devel:tools:scm
- Add proposed fix for setting project options via API
  + Patch: 0001-api-project-Fix-handling-of-false.patch

OBS-URL: https://build.opensuse.org/request/show/852786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=20
2020-12-03 17:42:56 +00:00
cc20325400 - Add proposed fix for setting project options via API
+ Patch: 0001-api-project-Fix-handling-of-false.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=48
2020-12-03 02:52:17 +00:00
Dominique Leuenberger
028f8f9ec9 Accepting request 837239 from devel:tools:scm
- Backport various fixes from upstream
  + Patch: 0001-Display-real-line-numbers-on-pull-request-s-diff-vie.patch
  + Patch: 0002-Show-the-assignee-s-avatar-on-the-board.patch
  + Patch: 0003-Allow-setting-a-status-as-closing-even-if-the-projec.patch
  + Patch: 0004-Include-the-assignee-in-the-list-of-people-notified-.patch
  + Patch: 0005-Introduce-the-collaborator_project_groups-mapping.patch
  + Patch: 0006-When-a-file-a-detected-as-a-binary-file-return-the-r.patch
  + Patch: 0007-Remove-fenced-code-block-when-checking-mention.patch
  + Patch: 0008-Add-support-for-using-cchardet-to-detect-files-encod.patch
  + Patch: 0009-Add-support-for-disabling-user-registration.patch
- Remove mandatory dependency on systemd to ease containerization

OBS-URL: https://build.opensuse.org/request/show/837239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=19
2020-09-25 14:35:34 +00:00
a61ee7e487 - Backport various fixes from upstream
+ Patch: 0001-Display-real-line-numbers-on-pull-request-s-diff-vie.patch
  + Patch: 0002-Show-the-assignee-s-avatar-on-the-board.patch
  + Patch: 0003-Allow-setting-a-status-as-closing-even-if-the-projec.patch
  + Patch: 0004-Include-the-assignee-in-the-list-of-people-notified-.patch
  + Patch: 0005-Introduce-the-collaborator_project_groups-mapping.patch
  + Patch: 0006-When-a-file-a-detected-as-a-binary-file-return-the-r.patch
  + Patch: 0007-Remove-fenced-code-block-when-checking-mention.patch
  + Patch: 0008-Add-support-for-using-cchardet-to-detect-files-encod.patch
  + Patch: 0009-Add-support-for-disabling-user-registration.patch
- Remove mandatory dependency on systemd to ease containerization

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=46
2020-09-24 23:02:09 +00:00
Dominique Leuenberger
7157d6fed9 Accepting request 830601 from devel:tools:scm
- Update to 5.11.3
  + Fix the model around the boards so it works with mariadb/mysql
  + Add new endpoints to the API documentation

OBS-URL: https://build.opensuse.org/request/show/830601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=18
2020-08-31 14:51:50 +00:00
1623fbaef4 - Update to 5.11.3
+ Fix the model around the boards so it works with mariadb/mysql
  + Add new endpoints to the API documentation

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=44
2020-08-30 14:26:36 +00:00
Dominique Leuenberger
e1bf9862d8 Accepting request 824337 from devel:tools:scm
- Update to 5.11.2
  + Allow having a dedicated logging configuration for the git hooks
  + Increase logging to the pagure_auth logger
  + Make work pagure-admin ensure-project-hooks when the target link exists but is
    broken
  + Change the project icon when the project is mirrored from an external source
  + Allow a theme or a blueprint to inject custom buttons in the navigation bar.
  + Add API endpoint to get a pull-request comment
  + Omit breaking original comment format in reply on pull-requests
  + Let the milter announce when it reject an email based on its address
  + Don't Let the milter process the email we send.
  + Add a collaborator level to projects
  + Allow setting the default git branch when creating projects via the API
  + Allow creating mirrored project from the API
  + Add the possibility to set the default branch at project creation
  + Add API endpoint to set the default git branch and expose it in an existing
    endpoint
  + Adjust the example configuration for logging to a file
  + Allow project-less API token with the "modify_project" ACL to update watchers
  + Add a new API endpoint to retrieve a commit's metadata/info
  + Add a new API endpoint allowing to delete a project
  + Add support for customizing the new issue page
  + Introducing the boards feature
  + Add an API endpoint to view the content of a git repo
  + Port pagure's markdown extension to the new API
  + Multiple small fixes for the vagrant-based development environment
  + Use WhiteNoise to serve static assets for the Pagure web
  + Fix the title of the graph showing the evolution of the number of open tickets
    on a project
  + Do not assume there is a SMTP_STARTTLS configuration key set
  + Bring back JS library used for the heatmap
  + Show the ACL name in addition to the description when creating API tokens
  + Allow editing the URL a project is mirrored from
  + Add comments to the mirror service files for clarifying their purpose.
  + Add a dedicated logger for everything that is auth related
  + api: fix apidoc format on api_view_issues_history_detailed_stats Fixes web
    api doc view template issues
  + doc: Add a page documenting known Pagure instances
  + starttls support via SMTP_STARTTLS: provide additional documentation.
  + Add support for smtp server requiring starttls to work
  + Make the stats page use the new stats API endpoint
- Drop patches included in this release
  + Patch: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch
  + Patch: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch
  + Patch: 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch
  + Patch: 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch
  + Patch: 0001-Fix-repotype-spelling.patch
  + Patch: 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch
  + Patch: 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch
  + Patch: 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch
  + Patch: 0001-Bring-back-JS-library-used-for-the-heatmap.patch
  + Patch: 0001-Ensure-the-title-name-of-the-headers-are-strings.patch
  + Patch: 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch
  + Patch: 0001-Make-sure-authorized_keys-file-has-mode-600.patch
  + Patch: 0101-Use-WhiteNoise-to-serve-static-assets-for-the-Pagure.patch

OBS-URL: https://build.opensuse.org/request/show/824337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=17
2020-08-04 18:25:05 +00:00
5cceab4025 Fix log directory ownership
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=42
2020-08-04 13:20:15 +00:00
d96e10171a - Update to 5.11.2
+ Allow having a dedicated logging configuration for the git hooks
  + Increase logging to the pagure_auth logger
  + Make work pagure-admin ensure-project-hooks when the target link exists but is
    broken
  + Change the project icon when the project is mirrored from an external source
  + Allow a theme or a blueprint to inject custom buttons in the navigation bar.
  + Add API endpoint to get a pull-request comment
  + Omit breaking original comment format in reply on pull-requests
  + Let the milter announce when it reject an email based on its address
  + Don't Let the milter process the email we send.
  + Add a collaborator level to projects
  + Allow setting the default git branch when creating projects via the API
  + Allow creating mirrored project from the API
  + Add the possibility to set the default branch at project creation
  + Add API endpoint to set the default git branch and expose it in an existing
    endpoint
  + Adjust the example configuration for logging to a file
  + Allow project-less API token with the "modify_project" ACL to update watchers
  + Add a new API endpoint to retrieve a commit's metadata/info
  + Add a new API endpoint allowing to delete a project
  + Add support for customizing the new issue page
  + Introducing the boards feature
  + Add an API endpoint to view the content of a git repo
  + Port pagure's markdown extension to the new API
  + Multiple small fixes for the vagrant-based development environment
  + Use WhiteNoise to serve static assets for the Pagure web
  + Fix the title of the graph showing the evolution of the number of open tickets
    on a project
  + Do not assume there is a SMTP_STARTTLS configuration key set
  + Bring back JS library used for the heatmap
  + Show the ACL name in addition to the description when creating API tokens
  + Allow editing the URL a project is mirrored from
  + Add comments to the mirror service files for clarifying their purpose.
  + Add a dedicated logger for everything that is auth related
  + api: fix apidoc format on api_view_issues_history_detailed_stats Fixes web
    api doc view template issues
  + doc: Add a page documenting known Pagure instances
  + starttls support via SMTP_STARTTLS: provide additional documentation.
  + Add support for smtp server requiring starttls to work
  + Make the stats page use the new stats API endpoint
- Drop patches included in this release
  + Patch: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch
  + Patch: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch
  + Patch: 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch
  + Patch: 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch
  + Patch: 0001-Fix-repotype-spelling.patch
  + Patch: 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch
  + Patch: 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch
  + Patch: 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch
  + Patch: 0001-Bring-back-JS-library-used-for-the-heatmap.patch
  + Patch: 0001-Ensure-the-title-name-of-the-headers-are-strings.patch
  + Patch: 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch
  + Patch: 0001-Make-sure-authorized_keys-file-has-mode-600.patch
  + Patch: 0101-Use-WhiteNoise-to-serve-static-assets-for-the-Pagure.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=41
2020-08-04 13:16:59 +00:00
Dominique Leuenberger
5cdcfa854a Accepting request 816227 from devel:tools:scm
- Backport fixes for STARTTLS support
  + Patch: 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch
  + Patch: 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch
- Backport fix for docs repo access grant
  + Patch: 0001-Fix-repotype-spelling.patch
- Backport fix for visual bug on API docs formatting
  + Patch: 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch
- Backport fix to changing pull mirror settings
  + Patch: 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch
- Backport fix to add descriptions to API scopes
  + Patch: 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch
- Backport fix to make heatmap UI functional again
  + Patch: 0001-Bring-back-JS-library-used-for-the-heatmap.patch
- Backport fix for handling headers
  + Patch: 0001-Ensure-the-title-name-of-the-headers-are-strings.patch
- Backport fix for burndown graph title
  + Patch: 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch
- Backport fix for permissions on authorized_keys file
  + Patch: 0001-Make-sure-authorized_keys-file-has-mode-600.patch
- Add patch to use whitenoise for rendering static assets
  + Patch: 0101-Use-WhiteNoise-to-serve-static-assets-for-the-Pagure.patch
- Refresh default configuration patch
  + Patch: pagure-5.0-default-example-cfg.patch

OBS-URL: https://build.opensuse.org/request/show/816227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=16
2020-06-22 15:45:45 +00:00
9c6e7fdf78 - Backport fixes for STARTTLS support
+ Patch: 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch
  + Patch: 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch
- Backport fix for docs repo access grant
  + Patch: 0001-Fix-repotype-spelling.patch
- Backport fix for visual bug on API docs formatting
  + Patch: 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch
- Backport fix to changing pull mirror settings
  + Patch: 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch
- Backport fix to add descriptions to API scopes
  + Patch: 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch
- Backport fix to make heatmap UI functional again
  + Patch: 0001-Bring-back-JS-library-used-for-the-heatmap.patch
- Backport fix for handling headers
  + Patch: 0001-Ensure-the-title-name-of-the-headers-are-strings.patch
- Backport fix for burndown graph title
  + Patch: 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch
- Backport fix for permissions on authorized_keys file
  + Patch: 0001-Make-sure-authorized_keys-file-has-mode-600.patch
- Add patch to use whitenoise for rendering static assets
  + Patch: 0101-Use-WhiteNoise-to-serve-static-assets-for-the-Pagure.patch
- Refresh default configuration patch
  + Patch: pagure-5.0-default-example-cfg.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=39
2020-06-21 13:57:24 +00:00
Yuchen Lin
fe1cc88e48 Accepting request 807849 from devel:tools:scm
- Fix typo in quickstart on ssh directory mode 
- Backport support for STARTTLS support for SMTP servers
  + Patch: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch

OBS-URL: https://build.opensuse.org/request/show/807849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=15
2020-05-23 15:27:44 +00:00
665b830928 - Fix typo in quickstart on ssh directory mode
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=37
2020-05-20 23:35:26 +00:00
ceadc5cdcc - Backport support for STARTTLS support for SMTP servers
+ Patch: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=36
2020-05-20 22:17:29 +00:00
Dominique Leuenberger
6e94ecfd2e Accepting request 806975 from devel:tools:scm
- Update to 5.10.0
  + Allow viewing issues via the API using project-less API token
  + Various improvements to the srcfpo theme
  + Make pagure work with recent sqlalchemy versions (>= 1.3.0)
  + Add a new API endpoint to retrieve detailed stats about the issues
  + Improve the graphs displayed in the stats tab of each projects
  + Add a new graph tracking the number of open issues throughout the year
  + Improve loading tickets from git
  + Support pygit2 >= 1.1.0
  + Add missing endpoints to the API documentation
  + Add support for wtforms >= 2.3
    - Add dependency on email_validator in such case
  + Fix sorting users by their username when using python3
  + Correct the API documentation for updating the watchers of a project
  + Ensure the name of the headers are always of the correct type 
    (especially when using python3)
  + Ensure aclchecker and keyhelper can work with APP_URL having a trailing slash
  + Add a new git auth backend which can manage the .ssh/authorized_keys file
    directly
  + Update information about supported Git auth backends
  + Add support for arrow >= 0.15.6
  + Fix getting the milter running with python3
  + Fix mirroring project hosted remotely
  + Add url_path property to class User (and thus in the API)
  + Improve email text for new user registration
  + Set the USER environment variable when pushing over http
  + Add support for git push via http using basic auth relying on API token
  + If pagure is set up for local auth, allow git push via https to use it
  + Add an example nginx configuration file for pagure
  + Create two subpackages in the pagure for the apache and nginx configuration
    files
  + Add some documentation on how git push over http works in pagure
  + Make pagure compatible with the latest version of flake8
  + Add PAGURE_PLUGINS_CONFIG setting in pagure configuration file 
- Refresh quick start instructions for new configuration options
- Drop unneeded patch
  + Patch: 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch
- Refresh default configuration patch
  + Patch: pagure-5.0-default-example-cfg.patch
- Backport fix from upstream to fix stats page
  + Patch: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch
- Add missing step to start pagure web services for nginx setup in quickstart
- Fix directory mode for ssh directory to fix conflict with gitolite

OBS-URL: https://build.opensuse.org/request/show/806975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=14
2020-05-19 12:44:28 +00:00
ddec979477 - Backport fix from upstream to fix stats page
+ Patch: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch
- Add missing step to start pagure web services for nginx setup in quickstart
- Fix directory mode for ssh directory to fix conflict with gitolite

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=34
2020-05-18 13:33:45 +00:00
580163d11d Add missing dep on email_validator
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=33
2020-05-15 01:21:04 +00:00
17455386e4 Fix typo in file list
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=32
2020-05-15 01:16:28 +00:00
2040cb6a6a - Update to 5.10.0
+ Allow viewing issues via the API using project-less API token
  + Various improvements to the srcfpo theme
  + Make pagure work with recent sqlalchemy versions (>= 1.3.0)
  + Add a new API endpoint to retrieve detailed stats about the issues
  + Improve the graphs displayed in the stats tab of each projects
  + Add a new graph tracking the number of open issues throughout the year
  + Improve loading tickets from git
  + Support pygit2 >= 1.1.0
  + Add missing endpoints to the API documentation
  + Add support for wtforms >= 2.3
    - Add dependency on email_validator in such case
  + Fix sorting users by their username when using python3
  + Correct the API documentation for updating the watchers of a project
  + Ensure the name of the headers are always of the correct type 
    (especially when using python3)
  + Ensure aclchecker and keyhelper can work with APP_URL having a trailing slash
  + Add a new git auth backend which can manage the .ssh/authorized_keys file
    directly
  + Update information about supported Git auth backends
  + Add support for arrow >= 0.15.6
  + Fix getting the milter running with python3
  + Fix mirroring project hosted remotely
  + Add url_path property to class User (and thus in the API)
  + Improve email text for new user registration
  + Set the USER environment variable when pushing over http
  + Add support for git push via http using basic auth relying on API token
  + If pagure is set up for local auth, allow git push via https to use it
  + Add an example nginx configuration file for pagure
  + Create two subpackages in the pagure for the apache and nginx configuration
    files
  + Add some documentation on how git push over http works in pagure
  + Make pagure compatible with the latest version of flake8
  + Add PAGURE_PLUGINS_CONFIG setting in pagure configuration file 
- Refresh quick start instructions for new configuration options
- Drop unneeded patch
  + Patch: 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch
- Refresh default configuration patch
  + Patch: pagure-5.0-default-example-cfg.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=31
2020-05-15 01:13:38 +00:00
Dominique Leuenberger
437e5076f9 Accepting request 791384 from devel:tools:scm
- Update to 5.9.1
  + Add a missing div tag that broke the user's settings page
  + Do not block when waiting for subprocess to finish
  + Fix git blame when the identifier provided is a blob
  + Fix view_commits when the identified provided is a blob
  + When viewing file's history, use the default branch if needed

OBS-URL: https://build.opensuse.org/request/show/791384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=13
2020-04-05 18:54:10 +00:00
faf2376c87 - Update to 5.9.1
+ Add a missing div tag that broke the user's settings page
  + Do not block when waiting for subprocess to finish
  + Fix git blame when the identifier provided is a blob
  + Fix view_commits when the identified provided is a blob
  + When viewing file's history, use the default branch if needed

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=29
2020-04-04 16:05:12 +00:00
Dominique Leuenberger
c3e63cdb79 Accepting request 788347 from devel:tools:scm
- Update to 5.9.0
  + Add API to manage plugins (ie: git hooks)
  + Fix querying mdapi from within the srcfpo theme 
  + Various fixes for the srcfpo theme
  + Multiple fixes and improvements to the API endpoints to retrieve the tags
    used in a project
  + Add new API endpoints to manipulate tags in projects
  + Add a new API endpoint to edit/update an existing issue/ticket
  + Add a new page to see a file's history in git (linked from the file's view page
    and the blame page)
  + Only consider the 6 most recently active branch in the drop-down to create
    new PR
  + Fix the view_commit endpoint when the identifier provided is a git tag
  + Add an endpoint to renew user API token
  + Include a link to where the token can be renewed in the email about API
    token nearing expiration
  + Allow users to set their own expiration date on API token (up to 2 years)
  + Fix the /groups API endpoint and order the output by group name
  + Add a new API endpoint to retrieve a project's webhook token
  + Expose related_prs on issue API
  + Fix the regenerate-repo actions
  + Provide some feedback to the user when changing monitoring worked
  + Hide the SSH clone URL if the user is not in one of the group with ssh
    access
  + Order pull requests based on updated_on column when we want to order based
    on last updated time
  + Fix taking into account the blacklisted patterns
  + Rework/fix the API documentation page
  + Allow deploy keys to commit to the doc git repository of a project
  + Increase a lot the logging when someone asks for access to a git repo

OBS-URL: https://build.opensuse.org/request/show/788347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=12
2020-03-25 22:50:09 +00:00
c754cfdd32 - Update to 5.9.0
+ Add API to manage plugins (ie: git hooks)
  + Fix querying mdapi from within the srcfpo theme 
  + Various fixes for the srcfpo theme
  + Multiple fixes and improvements to the API endpoints to retrieve the tags
    used in a project
  + Add new API endpoints to manipulate tags in projects
  + Add a new API endpoint to edit/update an existing issue/ticket
  + Add a new page to see a file's history in git (linked from the file's view page
    and the blame page)
  + Only consider the 6 most recently active branch in the drop-down to create
    new PR
  + Fix the view_commit endpoint when the identifier provided is a git tag
  + Add an endpoint to renew user API token
  + Include a link to where the token can be renewed in the email about API
    token nearing expiration
  + Allow users to set their own expiration date on API token (up to 2 years)
  + Fix the /groups API endpoint and order the output by group name
  + Add a new API endpoint to retrieve a project's webhook token
  + Expose related_prs on issue API
  + Fix the regenerate-repo actions
  + Provide some feedback to the user when changing monitoring worked
  + Hide the SSH clone URL if the user is not in one of the group with ssh
    access
  + Order pull requests based on updated_on column when we want to order based
    on last updated time
  + Fix taking into account the blacklisted patterns
  + Rework/fix the API documentation page
  + Allow deploy keys to commit to the doc git repository of a project
  + Increase a lot the logging when someone asks for access to a git repo

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=27
2020-03-25 20:38:01 +00:00
Dominique Leuenberger
28aa8d8cae Accepting request 753050 from devel:tools:scm
- Update to 5.8.1
  + Fix the link to the container namespace in srcfpo
  + Fix checking if the user is a committer of the repo the PR originates from
  + Fix showing the origin of the PR when it originates from the same project
  + Do not hard-code UTF-8 when showing a file

OBS-URL: https://build.opensuse.org/request/show/753050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=11
2019-12-03 11:42:40 +00:00
a5225ef810 - Update to 5.8.1
+ Fix the link to the container namespace in srcfpo
  + Fix checking if the user is a committer of the repo the PR originates from
  + Fix showing the origin of the PR when it originates from the same project
  + Do not hard-code UTF-8 when showing a file

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=25
2019-12-02 20:39:28 +00:00
Dominique Leuenberger
04ac85977e Accepting request 749089 from devel:tools:scm
- Update to 5.8
  + Enable the ctrl-enter keys to submit forms on tickets and PRs
  + Fix spelling errors on documentation
  + Fix renewing url on invalid token error message
  + Various fixes to the srcfpo theme
  + disable smooth scrolling on initial highlight & scroll process
  + Accept a with_commits parameter on the branches api to resolve the HEAD commits
  + Various fixes to the PR view
  + Add support for arrow >= 0.15
  + Select full text on git|ssh url input boxes when they get focus
  + Send notification when a branch is created
  + Add revision along with tag/branch creation/deletion
  + Add asciidoc syntax override
  + Fix git blame on unborn HEAD or non-master default branch repos
  + Fix the logic to rebase PRs
  + Fix setting one's default email address
  + Send oldrev as old_commit for git.receive event
  + Add a set-default-branch action to pagure-admin
  + Fix rendering badges on the PR list page
  + Tweak when we show the merge and the rebase buttons
  + Fix the logic around interacting with read-only databases in hooks
  + Fix .diff and .patch generation for empty commits
  + Fix url on the invalid token error message
  + Fix typo on the pull request merge error message
  + Allow cross-project API token to open pull-request
  + Allow updating PRs via the API using cross-project tokens
  + Fix the logic to make the merge button appear on pull-request

OBS-URL: https://build.opensuse.org/request/show/749089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=10
2019-11-17 18:23:21 +00:00
72ad7b0f34 - Update to 5.8
+ Enable the ctrl-enter keys to submit forms on tickets and PRs
  + Fix spelling errors on documentation
  + Fix renewing url on invalid token error message
  + Various fixes to the srcfpo theme
  + disable smooth scrolling on initial highlight & scroll process
  + Accept a with_commits parameter on the branches api to resolve the HEAD commits
  + Various fixes to the PR view
  + Add support for arrow >= 0.15
  + Select full text on git|ssh url input boxes when they get focus
  + Send notification when a branch is created
  + Add revision along with tag/branch creation/deletion
  + Add asciidoc syntax override
  + Fix git blame on unborn HEAD or non-master default branch repos
  + Fix the logic to rebase PRs
  + Fix setting one's default email address
  + Send oldrev as old_commit for git.receive event
  + Add a set-default-branch action to pagure-admin
  + Fix rendering badges on the PR list page
  + Tweak when we show the merge and the rebase buttons
  + Fix the logic around interacting with read-only databases in hooks
  + Fix .diff and .patch generation for empty commits
  + Fix url on the invalid token error message
  + Fix typo on the pull request merge error message
  + Allow cross-project API token to open pull-request
  + Allow updating PRs via the API using cross-project tokens
  + Fix the logic to make the merge button appear on pull-request

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=23
2019-11-16 22:57:32 +00:00
Dominique Leuenberger
17fbcd3199 Accepting request 722326 from devel:tools:scm
- Update to 5.7.4
  + Add more administrative functions to pagure_admin
  + Add CSP headers support and a mechanism to customize them
  + Do not allow rebase via the API if the PR does not allow it
  + Allow project-less API token to retrieve issues via the API
  + Improve the support for spec file highlighting
- Drop patch that is part of this release
  + 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch

OBS-URL: https://build.opensuse.org/request/show/722326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=9
2019-08-13 11:21:11 +00:00
056a4b51e9 - Update to 5.7.4
+ Add more administrative functions to pagure_admin
  + Add CSP headers support and a mechanism to customize them
  + Do not allow rebase via the API if the PR does not allow it
  + Allow project-less API token to retrieve issues via the API
  + Improve the support for spec file highlighting
- Drop patch that is part of this release
  + 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=21
2019-08-11 14:54:45 +00:00
Dominique Leuenberger
688ca9d2f7 Accepting request 692603 from devel:tools:scm
- Update to 5.5
  + Add support for !owner to the API listing projects
  + Make sure that TemporaryClone.push also pushes tags
  + Various UI improvements
  + Allow blocking an user on a project
  + Replace calls to pygit2.clone_repository by calls to git clone directly
  + Make fork more performant by using 'git push --mirror'
  + Use the user's default email when rebasing
- Drop patch that is part of this release
  + 0001-pagure-ev-python-3-compatibility.patch
- Backport fix for pull mirroring service
  + 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch

OBS-URL: https://build.opensuse.org/request/show/692603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=8
2019-04-09 18:19:26 +00:00
7389b432de - Update to 5.5
+ Add support for !owner to the API listing projects
  + Make sure that TemporaryClone.push also pushes tags
  + Various UI improvements
  + Allow blocking an user on a project
  + Replace calls to pygit2.clone_repository by calls to git clone directly
  + Make fork more performant by using 'git push --mirror'
  + Use the user's default email when rebasing
- Drop patch that is part of this release
  + 0001-pagure-ev-python-3-compatibility.patch
- Backport fix for pull mirroring service
  + 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=19
2019-04-09 13:09:48 +00:00
Dominique Leuenberger
f76169cc59 Accepting request 689885 from devel:tools:scm
- Update to 5.4
  + Allow by default the ACL "pull_request_create" on project-less API token
  + Implement Pagure Git Auth
  + Add a new API endpoint allowing to update an existing PR
  + If the user doesn't have a valid ssh key inform but let them log in
  + Fix various UI issues
  + Add a button to take/drop a pull-request
  + Add a new API endpoint to assign pull-request to someone
  + Allow dots and plus signs in project names
  + Fix seeing releases when the reference provided returned a commit
  + Include the PR tags in their JSON representation
  + Ensure that forking does not run the hook
  + Deprecate fedmsg for fedora-messaging
- Backport fix for pagure-ev issues in Python 3
  + Patch: 0001-pagure-ev-python-3-compatibility.patch
- Add patch to allow SQLAlchemy 1.3.0+ with Pagure
  + Patch: 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch
- Update the service list to enable and start in README.SUSE

OBS-URL: https://build.opensuse.org/request/show/689885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=7
2019-04-01 10:38:16 +00:00
20f4ea6967 - Update to 5.4
+ Allow by default the ACL "pull_request_create" on project-less API token
  + Implement Pagure Git Auth
  + Add a new API endpoint allowing to update an existing PR
  + If the user doesn't have a valid ssh key inform but let them log in
  + Fix various UI issues
  + Add a button to take/drop a pull-request
  + Add a new API endpoint to assign pull-request to someone
  + Allow dots and plus signs in project names
  + Fix seeing releases when the reference provided returned a commit
  + Include the PR tags in their JSON representation
  + Ensure that forking does not run the hook
  + Deprecate fedmsg for fedora-messaging
- Backport fix for pagure-ev issues in Python 3
  + Patch: 0001-pagure-ev-python-3-compatibility.patch
- Add patch to allow SQLAlchemy 1.3.0+ with Pagure
  + Patch: 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch
- Update the service list to enable and start in README.SUSE

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=17
2019-03-29 14:06:16 +00:00
Stephan Kulow
0534c82fac Accepting request 678250 from devel:tools:scm
- Update to 5.3
  + Add support for AMQP via fedora-messaging
  + Improve filtering and searching through issues and PRs
  + Add support for forcing highlight types based on file extensions
  + Fix naming rules for labels/tags
  + Fix support for repoSpanner Git storage backend
  + CVE-2019-7628: Do not leak partial API keys in key expiration emails (boo#1124762)
- Drop patches that are part of this release
  + 0001-Allow-using-Pagure-with-python-redis-3.0.0.patch
  + 0002-Fix-Markdown-usage-to-work-with-Markdown-3.0.patch

OBS-URL: https://build.opensuse.org/request/show/678250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=6
2019-02-24 16:20:28 +00:00
2793ea075e - Update to 5.3
+ Add support for AMQP via fedora-messaging
  + Improve filtering and searching through issues and PRs
  + Add support for forcing highlight types based on file extensions
  + Fix naming rules for labels/tags
  + Fix support for repoSpanner Git storage backend
  + CVE-2019-7628: Do not leak partial API keys in key expiration emails (boo#1124762)
- Drop patches that are part of this release
  + 0001-Allow-using-Pagure-with-python-redis-3.0.0.patch
  + 0002-Fix-Markdown-usage-to-work-with-Markdown-3.0.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=15
2019-02-22 15:29:14 +00:00
Dominique Leuenberger
0396aa1080 Accepting request 666143 from devel:tools:scm
OBS-URL: https://build.opensuse.org/request/show/666143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=5
2019-01-21 09:55:11 +00:00
91e5207d34 Accepting request 665020 from home:jengelh:branches:devel:tools:scm
- Replace old $RPM_* shell vars.

OBS-URL: https://build.opensuse.org/request/show/665020
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=13
2019-01-15 08:33:51 +00:00
0d67508848 - Update to 5.2
+ Add support for the MQTT protocol
  + Add support for mirroring in git repositories from outside sources
  + Add support to merge a PR when the fork was deleted
  + Add the ability to generate archive from a commit or tag
  + Allow searching the content of the comments on an issue tracker
  + Allow filtering the issue list by the close status
  + Show related PRs on the issue list if there are any
  + Add build status to pull requests page
  + Add new API endpoints for get and set project options
  + Add WIP/experimental/unstable support for third-party extensions to pagure
  + Add support for rebasing pull-requests
  + Implement a button to rerun CI tests on a pull request
  + Support disallowing remote pull requests
  + Add an about page in the themes
  + Update the chameleon theme
- Backport fix from master to allow using python-redis >= 3.0.0
  + Patch: 0001-Allow-using-Pagure-with-python-redis-3.0.0.patch
- Backport fix from master to fix compatibility with Markdown 3.0+
  + Patch: 0002-Fix-Markdown-usage-to-work-with-Markdown-3.0.patch
- Drop patches that are part of this release
  + 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch
  + 0002-Bypass-old-hooks-rather-than-using-non-existing-syml.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=12
2019-01-10 13:14:31 +00:00
Dominique Leuenberger
4376c5ff4c Accepting request 657847 from devel:tools:scm
- Update to 5.1.4
  + Fix the alembic migration creating the hook_mirror table
  + Close the DB session in one place for all hooks
  + Add more logging to the pagure_logcom service
  + Configure SMTP info for git_multimail
  + Use the PR UID previously read from environment
- Backport fix from master to add compatibility with Markdown 3.0+
  + Patch: 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch
- Backport fix from master to properly skip legacy hooks
  + Patch: 0002-Bypass-old-hooks-rather-than-using-non-existing-syml.patch

OBS-URL: https://build.opensuse.org/request/show/657847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=4
2018-12-14 19:54:23 +00:00
2f9936bf9b - Update to 5.1.4
+ Fix the alembic migration creating the hook_mirror table
  + Close the DB session in one place for all hooks
  + Add more logging to the pagure_logcom service
  + Configure SMTP info for git_multimail
  + Use the PR UID previously read from environment
- Backport fix from master to add compatibility with Markdown 3.0+
  + Patch: 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch
- Backport fix from master to properly skip legacy hooks
  + Patch: 0002-Bypass-old-hooks-rather-than-using-non-existing-syml.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=10
2018-12-13 15:09:43 +00:00
Dominique Leuenberger
ba8364aea3 Accepting request 641329 from devel:tools:scm
- Update to 5.1.3
  + Don't sync up ssh keys if there are already some
  + Do not notify twice when pushing commits to an open PR
  + Update git-multimail to fix it for Python 3
- Update to 5.1.2
  + Make the sshkey migration more flexible from < 5.1
  + Fix the update date information on the pull-request page
  + Fix detecting if the user is a committer via a group
  + Fix writing user's ssh keys on disk
  + tweak colors of the activity graph
  + cache oidc user data

OBS-URL: https://build.opensuse.org/request/show/641329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=3
2018-10-15 07:38:45 +00:00
8988c47285 - Update to 5.1.3
+ Don't sync up ssh keys if there are already some
  + Do not notify twice when pushing commits to an open PR
  + Update git-multimail to fix it for Python 3

- Update to 5.1.2
  + Make the sshkey migration more flexible from < 5.1
  + Fix the update date information on the pull-request page
  + Fix detecting if the user is a committer via a group
  + Fix writing user's ssh keys on disk
  + tweak colors of the activity graph
  + cache oidc user data

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=8
2018-10-11 17:03:50 +00:00
Dominique Leuenberger
3c36f0ecf2 Accepting request 640846 from devel:tools:scm
- Invert Conflicts to Requires OpenSSH >= 7.4
- Update to 5.1.1
  + Fix adding and removing ssh keys in the user's profile
- Update to 5.1
  + Multiple fixes to the UI to address visual quirks and glitches
  + Initial implementation of HTTP(S) push support
  + Rework how SSH keys are stored in the database
  + Multiple changes and fixes around the ACL checker
  + Adding 'list-groups' function to pagure-admin
  + Add a new API endpoint to retrieve the list of files changed in a PR
- Add Conflicts for OpenSSH < 7.4 due to SSH key handling rework
- Re-wrap previous changelog entry for readability

OBS-URL: https://build.opensuse.org/request/show/640846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=2
2018-10-11 09:55:44 +00:00
9ace69e1de - Invert Conflicts to Requires OpenSSH >= 7.4
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=6
2018-10-09 14:57:14 +00:00
efe409d31e - Update to 5.1.1
+ Fix adding and removing ssh keys in the user's profile

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=5
2018-10-09 14:40:04 +00:00
cce2455d5f - Update to 5.1
+ Multiple fixes to the UI to address visual quirks and glitches
  + Initial implementation of HTTP(S) push support
  + Rework how SSH keys are stored in the database
  + Multiple changes and fixes around the ACL checker
  + Adding 'list-groups' function to pagure-admin
  + Add a new API endpoint to retrieve the list of files changed in a PR
- Add Conflicts for OpenSSH < 7.4 due to SSH key handling rework
- Re-wrap previous changelog entry for readability

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=4
2018-10-09 12:27:01 +00:00
Dominique Leuenberger
f06ec6d38f Accepting request 639576 from devel:tools:scm
Initial packaging of Pagure for openSUSE with fixed descriptions per original review

OBS-URL: https://build.opensuse.org/request/show/639576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=1
2018-10-08 15:44:04 +00:00
a41c098816 Accepting request 639552 from home:jengelh:branches:devel:tools:scm
- Trim bias from description. Replace old $RPM_* shell vars by
  macros.
- Update summaries to include those are Pagure themes.

OBS-URL: https://build.opensuse.org/request/show/639552
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=2
2018-10-02 11:22:37 +00:00
Martin Pluskal
29956f7a92 Accepting request 639243 from home:Pharaoh_Atem:SUSE_Pagure
Initial packaging of Pagure for openSUSE

OBS-URL: https://build.opensuse.org/request/show/639243
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=1
2018-10-01 11:28:15 +00:00