Blame files/pagure.spec

Pierre-Yves Chibon bf7b1c
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
Pierre-Yves Chibon bf7b1c
%distutils.sysconfig import get_python_lib; print (get_python_lib())")}
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon fe5017
Name:           pagure
Pierre-Yves Chibon 922b19
Version:        0.1.22
Pierre-Yves Chibon 3a9067
Release:        1%{?dist}
Pierre-Yves Chibon bf7b1c
Summary:        A git-centered forge
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
License:        GPLv2+
Pierre-Yves Chibon ca7bb5
URL:            https://pagure.io/pagure
Pierre-Yves Chibon ca7bb5
Source0:        https://pagure.io/releases/pagure/%{name}-%{version}.tar.gz
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
BuildArch:      noarch
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
BuildRequires:  python2-devel
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-setuptools
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-nose
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-alembic
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-arrow
Pierre-Yves Chibon ab60ad
BuildRequires:  python-bleach
Pierre-Yves Chibon d2eff7
BuildRequires:  python-blinker
Pierre-Yves Chibon d2eff7
BuildRequires:  python-chardet
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-docutils
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-flask
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-flask-wtf
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-markdown
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-psutil
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-pygit2 >= 0.20.1
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-pygments
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-fedora
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-openid
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-openid-cla
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-openid-teams
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-straight-plugin
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-wtforms
Pierre-Yves Chibon 0fb5f1
BuildRequires:  python-munch
Pierre-Yves Chibon ba162a
BuildRequires:  python-enum34
Pierre-Yves Chibon 5d039b
BuildRequires:  python-redis
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
# EPEL6
Pierre-Yves Chibon bf7b1c
%if ( 0%{?rhel} && 0%{?rhel} == 6 )
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-sqlalchemy0.8
Pierre-Yves Chibon bf7b1c
Requires:  python-sqlalchemy0.8
Pierre-Yves Chibon bf7b1c
%else
Pierre-Yves Chibon bf7b1c
BuildRequires:  python-sqlalchemy > 0.8
Pierre-Yves Chibon bf7b1c
Requires:  python-sqlalchemy > 0.8
Pierre-Yves Chibon bf7b1c
%endif
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
Requires:  python-alembic
Pierre-Yves Chibon bf7b1c
Requires:  python-arrow
Pierre-Yves Chibon ab60ad
Requires:  python-bleach
Pierre-Yves Chibon d2eff7
Requires:  python-blinker
Pierre-Yves Chibon d2eff7
Requires:  python-chardet
Pierre-Yves Chibon bf7b1c
Requires:  python-docutils
Pierre-Yves Chibon ba162a
Requires:  python-enum34
Pierre-Yves Chibon bf7b1c
Requires:  python-flask
Pierre-Yves Chibon bf7b1c
Requires:  python-flask-wtf
Pierre-Yves Chibon bf7b1c
Requires:  python-markdown
Pierre-Yves Chibon bf7b1c
Requires:  python-psutil
Pierre-Yves Chibon bf7b1c
Requires:  python-pygit2 >= 0.20.1
Pierre-Yves Chibon bf7b1c
Requires:  python-pygments
Pierre-Yves Chibon bf7b1c
Requires:  python-fedora
Pierre-Yves Chibon bf7b1c
Requires:  python-openid
Pierre-Yves Chibon bf7b1c
Requires:  python-openid-cla
Pierre-Yves Chibon bf7b1c
Requires:  python-openid-teams
Pierre-Yves Chibon bf7b1c
Requires:  python-straight-plugin
Pierre-Yves Chibon bf7b1c
Requires:  python-wtforms
Pierre-Yves Chibon 0fb5f1
Requires:  python-munch
Pierre-Yves Chibon 5d039b
Requires:  python-redis
Pierre-Yves Chibon bf7b1c
Requires:  mod_wsgi
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon e0049f
# No dependency of the app per se, but required to make it working.
Pierre-Yves Chibon d4a7e7
Requires:  gitolite3
Pierre-Yves Chibon fcdeaa
Pierre-Yves Chibon bf7b1c
%description
Pierre-Yves Chibon fe5017
Pagure is a light-weight git-centered forge based on pygit2.
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon fe5017
Currently, Pagure offers a web-interface for git repositories, a ticket
Pierre-Yves Chibon fe5017
system and possibilities to create new projects, fork existing ones and
Pierre-Yves Chibon fe5017
create/merge pull-requests across or within projects.
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon fcdeaa
%package milters
Pierre-Yves Chibon e0049f
Summary:            Milter to integrate pagure with emails
Pierre-Yves Chibon e0049f
BuildArch:          noarch
Pierre-Yves Chibon e0049f
BuildRequires:      systemd-devel
Pierre-Yves Chibon e0049f
Requires:           python-pymilter
Pierre-Yves Chibon e0049f
Requires(post):     systemd
Pierre-Yves Chibon e0049f
Requires(preun):    systemd
Pierre-Yves Chibon e0049f
Requires(postun):   systemd
Pierre-Yves Chibon fcdeaa
# It would work with sendmail but we configure things (like the tempfile)
Pierre-Yves Chibon fcdeaa
# to work with postfix
Pierre-Yves Chibon e0049f
Requires:           postfix
Pierre-Yves Chibon fcdeaa
Pierre-Yves Chibon fcdeaa
Pierre-Yves Chibon fcdeaa
%description milters
Pierre-Yves Chibon fcdeaa
Milters (Mail filters) allowing the integration of pagure and emails.
Pierre-Yves Chibon fcdeaa
This is useful for example to allow commenting on a ticket by email.
Pierre-Yves Chibon fcdeaa
Pierre-Yves Chibon fcdeaa
Pierre-Yves Chibon 70c695
%package ev
Pierre-Yves Chibon 70c695
Summary:   EventSource server for pagure
Pierre-Yves Chibon 70c695
BuildArch: noarch
Pierre-Yves Chibon 70c695
Pierre-Yves Chibon 188485
BuildRequires:      systemd-devel
Pierre-Yves Chibon 70c695
Requires:  python-redis
Pierre-Yves Chibon 70c695
Requires:  python-trollius
Pierre-Yves Chibon 70c695
Requires:  python-trollius-redis
Pierre-Yves Chibon 70c695
Requires(post): systemd
Pierre-Yves Chibon 70c695
Requires(preun): systemd
Pierre-Yves Chibon 70c695
Requires(postun): systemd
Pierre-Yves Chibon 70c695
%description ev
Pierre-Yves Chibon 70c695
Pagure comes with an eventsource server allowing live update of the pages
Pierre-Yves Chibon 70c695
supporting it. This packages provides it.
Pierre-Yves Chibon 70c695
Pierre-Yves Chibon 70c695
Pierre-Yves Chibon bf7b1c
%prep
Pierre-Yves Chibon bf7b1c
%setup -q
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
%build
Pierre-Yves Chibon e0049f
%{__python2} setup.py build
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
%install
Pierre-Yves Chibon e0049f
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
# Install apache configuration file
Pierre-Yves Chibon bf7b1c
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/
Pierre-Yves Chibon fe5017
install -m 644 files/pagure.conf $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/pagure.conf
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
# Install configuration file
Pierre-Yves Chibon fe5017
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pagure
Pierre-Yves Chibon fe5017
install -m 644 files/pagure.cfg.sample $RPM_BUILD_ROOT/%{_sysconfdir}/pagure/pagure.cfg
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
# Install WSGI file
Pierre-Yves Chibon fe5017
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pagure
Pierre-Yves Chibon fe5017
install -m 644 files/pagure.wsgi $RPM_BUILD_ROOT/%{_datadir}/pagure/pagure.wsgi
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
# Install the createdb script
Pierre-Yves Chibon fe5017
install -m 644 createdb.py $RPM_BUILD_ROOT/%{_datadir}/pagure/pagure_createdb.py
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon 907dd1
# Install the alembic configuration file
Pierre-Yves Chibon 907dd1
install -m 644 files/alembic.ini $RPM_BUILD_ROOT/%{_sysconfdir}/pagure/alembic.ini
Pierre-Yves Chibon 907dd1
Pierre-Yves Chibon 907dd1
# Install the alembic revisions
Pierre-Yves Chibon 8c63e7
cp -r alembic $RPM_BUILD_ROOT/%{_datadir}/pagure
Pierre-Yves Chibon 907dd1
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon fcdeaa
# Install the milter files
Pierre-Yves Chibon fcdeaa
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/run/pagure
Pierre-Yves Chibon fcdeaa
mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir}
Pierre-Yves Chibon fcdeaa
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
Pierre-Yves Chibon fcdeaa
install -m 0644 milters/milter_tempfile.conf \
Pierre-Yves Chibon fcdeaa
    $RPM_BUILD_ROOT/%{_tmpfilesdir}/%{name}-milter.conf
Pierre-Yves Chibon fcdeaa
install -m 644 milters/pagure_milter.service \
Pierre-Yves Chibon fcdeaa
    $RPM_BUILD_ROOT/%{_unitdir}/pagure_milter.service
Pierre-Yves Chibon 6245ad
install -m 644 milters/comment_email_milter.py \
Pierre-Yves Chibon 6245ad
    $RPM_BUILD_ROOT/%{_datadir}/pagure/comment_email_milter.py
Pierre-Yves Chibon fcdeaa
Pierre-Yves Chibon 70c695
# Install the eventsource
Pierre-Yves Chibon 05f454
mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}/pagure-ev
Pierre-Yves Chibon 05f454
install -m 755 ev-server/pagure-stream-server.py \
Pierre-Yves Chibon 05f454
    $RPM_BUILD_ROOT/%{_libexecdir}/pagure-ev/pagure-stream-server.py
Pierre-Yves Chibon 70c695
install -m 644 ev-server/pagure_ev.service \
Pierre-Yves Chibon 70c695
    $RPM_BUILD_ROOT/%{_unitdir}/pagure_ev.service
Pierre-Yves Chibon 70c695
Pierre-Yves Chibon fcdeaa
Pierre-Yves Chibon e0049f
%post milters
Pierre-Yves Chibon e0049f
%systemd_post pagure_milter.service
Pierre-Yves Chibon 70c695
%post ev
Pierre-Yves Chibon 0fd6e0
%systemd_post pagure_ev.service
Pierre-Yves Chibon e0049f
Pierre-Yves Chibon e0049f
%preun milters
Pierre-Yves Chibon e0049f
%systemd_preun pagure_milter.service
Pierre-Yves Chibon 70c695
%preun ev
Pierre-Yves Chibon 0fd6e0
%systemd_preun pagure_ev.service
Pierre-Yves Chibon e0049f
Pierre-Yves Chibon e0049f
%postun milters
Pierre-Yves Chibon e0049f
%systemd_postun_with_restart pagure_milter.service
Pierre-Yves Chibon 70c695
%postun ev
Pierre-Yves Chibon 0fd6e0
%systemd_postun_with_restart pagure_ev.service
Pierre-Yves Chibon e0049f
Pierre-Yves Chibon e0049f
Pierre-Yves Chibon bf7b1c
%files
Pierre-Yves Chibon e0049f
%doc README.rst
Pierre-Yves Chibon e0049f
%license LICENSE
Pierre-Yves Chibon fe5017
%config(noreplace) %{_sysconfdir}/httpd/conf.d/pagure.conf
Pierre-Yves Chibon fe5017
%config(noreplace) %{_sysconfdir}/pagure/pagure.cfg
Pierre-Yves Chibon 907dd1
%config(noreplace) %{_sysconfdir}/pagure/alembic.ini
Pierre-Yves Chibon fe5017
%dir %{_sysconfdir}/pagure/
Pierre-Yves Chibon 6245ad
%dir %{_datadir}/pagure/
Pierre-Yves Chibon 6245ad
%{_datadir}/pagure/pagure*
Pierre-Yves Chibon 8c63e7
%{_datadir}/pagure/alembic/
Pierre-Yves Chibon fe5017
%{python_sitelib}/pagure/
Pierre-Yves Chibon fe5017
%{python_sitelib}/pagure*.egg-info
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon bf7b1c
Pierre-Yves Chibon fcdeaa
%files milters
Pierre-Yves Chibon e0049f
%license LICENSE
Pierre-Yves Chibon fcdeaa
%attr(755,postfix,postfix) %dir %{_localstatedir}/run/pagure
Pierre-Yves Chibon 6245ad
%dir %{_datadir}/pagure/
Pierre-Yves Chibon fcdeaa
%{_tmpfilesdir}/%{name}-milter.conf
Pierre-Yves Chibon fcdeaa
%{_unitdir}/pagure_milter.service
Pierre-Yves Chibon ff78aa
%{_datadir}/pagure/comment_email_milter.py*
Pierre-Yves Chibon fcdeaa
Pierre-Yves Chibon fcdeaa
Pierre-Yves Chibon 5d039b
%files ev
Pierre-Yves Chibon 70c695
%license LICENSE
Pierre-Yves Chibon 05f454
%{_libexecdir}/pagure-ev/
Pierre-Yves Chibon 0fd6e0
%{_unitdir}/pagure_ev.service
Pierre-Yves Chibon 70c695
Pierre-Yves Chibon 70c695
Pierre-Yves Chibon bf7b1c
%changelog
Pierre-Yves Chibon 922b19
* Fri Aug 07 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.22</pingou@pingoured.fr>
Pierre-Yves Chibon 922b19
- Update to 0.1.22
Pierre-Yves Chibon 922b19
- Adjust the README to the current state of pagure
Pierre-Yves Chibon 922b19
- Rework how we integrate our custom tags into markdown to avoid the infinite
Pierre-Yves Chibon 922b19
  loop we run into once in a while
Pierre-Yves Chibon 922b19
Pierre-Yves Chibon 1e847a
* Wed Aug 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.21</pingou@pingoured.fr>
Pierre-Yves Chibon 1e847a
- Update to 0.1.21
Pierre-Yves Chibon 1e847a
- Make SSH protocol explicit for SSH URLs (Till Maas)
Pierre-Yves Chibon 1e847a
- Adjust the documentation (layout and content)
Pierre-Yves Chibon 1e847a
- Rework the doc server to allow showing html files directly
Pierre-Yves Chibon 1e847a
- Fix installing the pagure hook correctly (tickets and requests)
Pierre-Yves Chibon 1e847a
- Give proper attribution to the pagure logo to Micah Deen in the documentation
Pierre-Yves Chibon 1e847a
- Increase pull request text field lengths to 80 (Till Maas)
Pierre-Yves Chibon 1e847a
- Fix who can open a remote PR and the check that the repo allows PR
Pierre-Yves Chibon 1e847a
- If there is no commit and no content, it means we didn't find the file: 404
Pierre-Yves Chibon 1e847a
Pierre-Yves Chibon 6fc7e1
* Wed Jul 29 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.20</pingou@pingoured.fr>
Pierre-Yves Chibon 6fc7e1
- Update to 0.1.20
Pierre-Yves Chibon 6fc7e1
- Include the tags in the JSON representation of a project
Pierre-Yves Chibon 6fc7e1
- Add the ability to open a pull-request from a git repo not hosted on pagure
Pierre-Yves Chibon 6fc7e1
- Fix pagination when browsing the list of commits
Pierre-Yves Chibon 6fc7e1
- Fix the fork button when viewing the Settings of a project
Pierre-Yves Chibon 6fc7e1
- Adjust the example apache configuration file
Pierre-Yves Chibon 6fc7e1
- Add a favicon with pagure's logo
Pierre-Yves Chibon 6fc7e1
- Fix asynchronous commentting on pull-requests
Pierre-Yves Chibon 6fc7e1
- Start working on some documentation on how to install pagure
Pierre-Yves Chibon 6fc7e1
- Do no flash messages when a comment is submitted via javascript (ie: async)
Pierre-Yves Chibon 6fc7e1
- Do not blink the tittle of the page if the page is already on focus
Pierre-Yves Chibon 6fc7e1
- Retrieve ssh key from FAS and set it up in pagure if none is currently set-up
Pierre-Yves Chibon 6fc7e1
- Fix anchors for comments on the pull-request pages
Pierre-Yves Chibon 6fc7e1
- Fix checking the merge status of a PR when user is not logged in
Pierre-Yves Chibon 6fc7e1
Pierre-Yves Chibon 7b97dc
* Mon Jul 20 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.19-1</pingou@pingoured.fr>
Pierre-Yves Chibon 7b97dc
- Update to 0.1.19
Pierre-Yves Chibon 7b97dc
- Prettify the JSON stored in the git for tickets/requests... (Simo Sorce)
Pierre-Yves Chibon 7b97dc
- Use the project name as subject tag in the notifications sent (Simo Sorce)
Pierre-Yves Chibon 7b97dc
- Add an X-pagure header with either the pagure instance or the project name
Pierre-Yves Chibon 7b97dc
- Reset the merge status of all the open PR when one is merged
Pierre-Yves Chibon 7b97dc
- Add a second server listing the number of connections opened on the first
Pierre-Yves Chibon 7b97dc
  eventsource server
Pierre-Yves Chibon 7b97dc
- Log the info instead of printing them in the eventsource server
Pierre-Yves Chibon 7b97dc
- Split the documentation to a different wsgi application to avoid any risk of
Pierre-Yves Chibon 7b97dc
  cross-site forgery
Pierre-Yves Chibon 7b97dc
- Fix the JS logic when adding a tag or a dependency to avoid having duplicates
Pierre-Yves Chibon 7b97dc
  in the input field
Pierre-Yves Chibon 7b97dc
- Allow deleting a git branch of a project via the UI
Pierre-Yves Chibon 7b97dc
- Include the font-awesome in the source rather than relying on an external cdn
Pierre-Yves Chibon 7b97dc
- Do not try to connect to the eventsource server if we're not viewing a
Pierre-Yves Chibon 7b97dc
  pull-request
Pierre-Yves Chibon 7b97dc
- Fix showing the first comment made on a PR via the eventsource server
Pierre-Yves Chibon 7b97dc
- Fix showing the git URLs in the doc server
Pierre-Yves Chibon 7b97dc
- Much better API documentation (Lei Yang)
Pierre-Yves Chibon 7b97dc
- Handle showing closed PR that were not merged
Pierre-Yves Chibon 7b97dc
- Fix refreshing the UI of private tickets via the eventsource (making calls to
Pierre-Yves Chibon 7b97dc
  the API to get the info while only getting what changed via the SSE)
Pierre-Yves Chibon 7b97dc
- Fix the anchor links in the API documentation
Pierre-Yves Chibon 7b97dc
- Blink the tab upon changes in the page
Pierre-Yves Chibon 7b97dc
- Ensure we close both SSE server when stopping pagure_ev
Pierre-Yves Chibon 7b97dc
- Let the HTML form trigger if we did not connect to the EV server successfully
Pierre-Yves Chibon 7b97dc
- The admins of a repo are anyone with commit access to the repo, directly or
Pierre-Yves Chibon 7b97dc
  via a group
Pierre-Yves Chibon 7b97dc
- Order the project by names in the front page (instead of creation date)
Pierre-Yves Chibon 7b97dc
- Add the ability to tag a project
Pierre-Yves Chibon 7b97dc
- Fix the fedmsg_hook when there are only deletions or only additions
Pierre-Yves Chibon 7b97dc
- Add a new API endpoint allowing to search projects (by name, author, tag ...)
Pierre-Yves Chibon 7b97dc
- Make pagure compatible with pygit 0.22.0
Pierre-Yves Chibon 7b97dc
- Adjust unit-tests for all these changes
Pierre-Yves Chibon 7b97dc
Pierre-Yves Chibon c24086
* Mon Jun 22 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.18-1</pingou@pingoured.fr>
Pierre-Yves Chibon c24086
- Update to 0.1.18
Pierre-Yves Chibon c24086
- Fix the eventsource server for CORS
Pierre-Yves Chibon c24086
- Fix showing/checking the merge status of a PR
Pierre-Yves Chibon c24086
Pierre-Yves Chibon b236a4
* Mon Jun 22 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.17-1</pingou@pingoured.fr>
Pierre-Yves Chibon b236a4
- Update to 0.1.17
Pierre-Yves Chibon b236a4
- Fix for missing docs of API issue add comment (Kunaal Jain)
Pierre-Yves Chibon b236a4
- Fix the systemd init file
Pierre-Yves Chibon b236a4
- Be more careful about the URL specified, it may be of the wrong format in the
Pierre-Yves Chibon b236a4
  eventsource server
Pierre-Yves Chibon b236a4
- Allow configuring the port where the event source server runs in the
Pierre-Yves Chibon b236a4
  configuration
Pierre-Yves Chibon b236a4
- Fix bug in filter_img_src introduced with its moved to the backend library
Pierre-Yves Chibon b236a4
Pierre-Yves Chibon 5d039b
* Thu Jun 18 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.16-1</pingou@pingoured.fr>
Pierre-Yves Chibon 5d039b
- Update to 0.1.16
Pierre-Yves Chibon 5d039b
- Clone all the remote branches when cloning a project
Pierre-Yves Chibon 5d039b
- Allow online editing to a new branch or any of the existing ones
Pierre-Yves Chibon 5d039b
- Allow the 
html tags in markdown
Pierre-Yves Chibon 5d039b
- Add eventsource support in the ticket and pull-request pages
Pierre-Yves Chibon 5d039b
Pierre-Yves Chibon 9316bd
* Tue Jun 16 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.15-1</pingou@pingoured.fr>
Pierre-Yves Chibon 9316bd
- Update 0.1.15
Pierre-Yves Chibon 9316bd
- Use a monospace font for the commit hash
Pierre-Yves Chibon 9316bd
- Remove duplicated "commit" id in the HTML (causing a graphical bug in the
Pierre-Yves Chibon 9316bd
  commit page)
Pierre-Yves Chibon 9316bd
- Secure the input using the no_js filter instead of relying on a restrictive
Pierre-Yves Chibon 9316bd
  regex for PR and issue titles
Pierre-Yves Chibon 9316bd
- Support ',' in the tags field since it's required to specify multiple tags
Pierre-Yves Chibon 9316bd
Pierre-Yves Chibon 30cce0
* Fri Jun 12 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.14-1</pingou@pingoured.fr>
Pierre-Yves Chibon 30cce0
- Update to 0.1.14
Pierre-Yves Chibon 30cce0
- Remove all new lines characters from the ssh key uploaded
Pierre-Yves Chibon 30cce0
- Adjust the URL in the footer to point to https://pagure.io/pagure
Pierre-Yves Chibon 30cce0
- Fix displaying the time of a comment
Pierre-Yves Chibon 30cce0
- Forbid the use of spaces in group name
Pierre-Yves Chibon 30cce0
- Do not get the list of not-merged commits if there is only 1 branch in the
Pierre-Yves Chibon 30cce0
  repo
Pierre-Yves Chibon 30cce0
- Display the error message if pagure.lib.add_group raises an exception
Pierre-Yves Chibon 30cce0
- Add a new setting enforcing that all commits in a PR are signed-off by their
Pierre-Yves Chibon 30cce0
  author
Pierre-Yves Chibon 30cce0
- Enforce that all commits are signed-off by the author if the repo is
Pierre-Yves Chibon 30cce0
  configured for this
Pierre-Yves Chibon 30cce0
- Also check for the signed-off status before merging a pull-request
Pierre-Yves Chibon 30cce0
- Adjust online-editing to allow specifying which email address to use in the
Pierre-Yves Chibon 30cce0
  commit
Pierre-Yves Chibon 30cce0
- Add an avatar_email field to projects
Pierre-Yves Chibon 30cce0
- Change the PullRequest's status from a Boolean to a Text restricted at the DB
Pierre-Yves Chibon 30cce0
  level (Allows to distinguish Open/Merged/Closed)
Pierre-Yves Chibon 30cce0
- Show in the pull-request view who merged the pull-request
Pierre-Yves Chibon 30cce0
- Specify who closed the pull-request in the API output
Pierre-Yves Chibon 30cce0
- Catch GitError when merging and checking merge status of a PR
Pierre-Yves Chibon 30cce0
- Hide the form to create pull-requests if the user is not an admin of the repo
Pierre-Yves Chibon 30cce0
- Replace the Pull-Request button by a Compare button if the user it not a repo
Pierre-Yves Chibon 30cce0
  admin
Pierre-Yves Chibon 30cce0
- Set the title of the tab as URL hash to allow directly linking to it
Pierre-Yves Chibon 30cce0
- Adjust the API to be able to distinguish API authentication and UI
Pierre-Yves Chibon 30cce0
  authentication
Pierre-Yves Chibon 30cce0
- Fix API documentation to create new issues
Pierre-Yves Chibon 30cce0
- Drop the status from the requirements to open a new issue via the API
Pierre-Yves Chibon 30cce0
- Expand the list of blacklisted project names
Pierre-Yves Chibon 30cce0
- Have the code tags behave like pre tags (html tags)
Pierre-Yves Chibon 30cce0
- Allow project to specify an URL and display it on their page
Pierre-Yves Chibon 30cce0
- Strip the ssh keys when writing them to the authorized_keys file
Pierre-Yves Chibon 30cce0
- Disable javascript in all the markdown fields
Pierre-Yves Chibon 30cce0
- Validate early the input submitted in the forms (using more or less strict
Pierre-Yves Chibon 30cce0
  regex)
Pierre-Yves Chibon 30cce0
- If the session timed-out, redirect to the setting page after authentication
Pierre-Yves Chibon 30cce0
  and inform the user that the action was canceled
Pierre-Yves Chibon 30cce0
- Catch PagureException when adjusting the project's settings
Pierre-Yves Chibon 30cce0
- Redirect the /api endpoint to the api documentation place
Pierre-Yves Chibon 30cce0
- Fix how is retrieved the list of emails to send the notification to
Pierre-Yves Chibon 30cce0
- Sanitize the html using bleach to avoid potential XSS exploit
Pierre-Yves Chibon 30cce0
- Do not give READ access to everyone on the tickets and pull-requests repos to
Pierre-Yves Chibon 30cce0
  avoid leaking private tickets
Pierre-Yves Chibon 30cce0
- Adjust the unit-tests for all these changes
Pierre-Yves Chibon 30cce0
Pierre-Yves Chibon 75daa0
* Fri Jun 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.13-1</pingou@pingoured.fr>
Pierre-Yves Chibon 75daa0
- Update to 0.1.13
Pierre-Yves Chibon 75daa0
- Do not show the edit button if the user cannot edit the file
Pierre-Yves Chibon 75daa0
- Fix who is allowed to drop comments
Pierre-Yves Chibon 75daa0
- Fix showing the drop comment button on issue comments
Pierre-Yves Chibon 75daa0
- Fix creating the pull-request for fast people like @lmacken
Pierre-Yves Chibon 75daa0
- Display the target of the PR as well as the origin in the PR page
Pierre-Yves Chibon 75daa0
- Limit the size of the lists on the front page
Pierre-Yves Chibon 75daa0
Pierre-Yves Chibon 66bea5
* Fri Jun 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.12-1</pingou@pingoured.fr>
Pierre-Yves Chibon 66bea5
- Update to 0.1.12
Pierre-Yves Chibon 66bea5
- Fix the URL where the sources upload are done
Pierre-Yves Chibon 66bea5
- Upload the new sources under the project's name (be it project or
Pierre-Yves Chibon 66bea5
  user/project)
Pierre-Yves Chibon 66bea5
Pierre-Yves Chibon 8c63e7
* Fri Jun 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.11-1</pingou@pingoured.fr>
Pierre-Yves Chibon 8c63e7
- Update to 0.1.11
Pierre-Yves Chibon 8c63e7
- Another fix for the fedmsg_hook git hook
Pierre-Yves Chibon 8c63e7
- Adjust how we display the README page to avoid XSS there as well
Pierre-Yves Chibon 8c63e7
- Add the possibility to disable plugins via the configuration file
Pierre-Yves Chibon 8c63e7
- Present the git tags in the UI
Pierre-Yves Chibon 8c63e7
- As soon as the API user present a token, validate it or not, even if the
Pierre-Yves Chibon 8c63e7
  endpoint would work without token
Pierre-Yves Chibon 8c63e7
- Integrate alembic for DB scheme migration
Pierre-Yves Chibon 8c63e7
- Cache the PR's merge status into the DB
Pierre-Yves Chibon 8c63e7
- Only people with access to the project can add/remove API token
Pierre-Yves Chibon 8c63e7
- Make the unit-tests run on bare repos as in prod
Pierre-Yves Chibon 8c63e7
- First stab at online editing
Pierre-Yves Chibon 8c63e7
- Simplify the API output to drop the project's settings where it doesn't
Pierre-Yves Chibon 8c63e7
  make sense
Pierre-Yves Chibon 8c63e7
- First stag at allowing upstream to upload their release to pagure
Pierre-Yves Chibon 8c63e7
- Fix merging a PR into another branch than master
Pierre-Yves Chibon 8c63e7
- Reduce code duplication when checking if a PR can be merged or merging it
Pierre-Yves Chibon 8c63e7
- Code style clean-up
Pierre-Yves Chibon 8c63e7
Pierre-Yves Chibon 21d3f9
* Tue Jun 02 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.10-1</pingou@pingoured.fr>
Pierre-Yves Chibon 21d3f9
- Update to 0.1.10
Pierre-Yves Chibon 21d3f9
- Add support for URL ending with a trailing slash where it makes sense (so
Pierre-Yves Chibon 21d3f9
  we support both with and without trailing slash)
Pierre-Yves Chibon 21d3f9
- Fix XSS issue by disabling <script> tags in the documentation pages</script>
Pierre-Yves Chibon 21d3f9
- Expend the unit-test suite for the api.project controller
Pierre-Yves Chibon 21d3f9
- Add the possibility for 3rd party apps to 'flag' a pull-request with for
Pierre-Yves Chibon 21d3f9
  example the result of a build
Pierre-Yves Chibon 21d3f9
- Handle the situation where there are multiple branch of the same name in
Pierre-Yves Chibon 21d3f9
  the same repo
Pierre-Yves Chibon 21d3f9
- Fix the color of the link on hover when displayed within a tab view
Pierre-Yves Chibon 21d3f9
  (for example in the PR pages)
Pierre-Yves Chibon 21d3f9
- Redirect the user to the pull-request created after its the creation
Pierre-Yves Chibon 21d3f9
- Do not leak emails over fedmsg
Pierre-Yves Chibon 21d3f9
- Fix the fedmsg_hook plugin
Pierre-Yves Chibon 21d3f9
Pierre-Yves Chibon ba162a
* Fri May 29 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.9-1</pingou@pingoured.fr>
Pierre-Yves Chibon ba162a
- Update to 0.1.9
Pierre-Yves Chibon ba162a
- Initial API work
Pierre-Yves Chibon ba162a
- Document the initial API
Pierre-Yves Chibon ba162a
- Fix the CSS to present the links correctly
Pierre-Yves Chibon ba162a
- Add new API endpoint to list the git tags of a project
Pierre-Yves Chibon ba162a
- Ensure the DB is updated regarding the start and stop commits before merging
Pierre-Yves Chibon ba162a
Pierre-Yves Chibon 2ec1c5
* Wed May 27 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.8-1</pingou@pingoured.fr>
Pierre-Yves Chibon 2ec1c5
- Update 0.1.8
Pierre-Yves Chibon 2ec1c5
- Add the possibility to do Asynchronous in-line comment posting
Pierre-Yves Chibon 2ec1c5
  (Patrick Uiterwijk)
Pierre-Yves Chibon 2ec1c5
- Handle the situation where the branch asked is not found in the git repo
Pierre-Yves Chibon 2ec1c5
- Handle the situation where we cannot find a desired commit
Pierre-Yves Chibon 2ec1c5
- Do not display a value in the settings page if there are none
Pierre-Yves Chibon 2ec1c5
- Rework the pull-request view to move the list of commits into a tab
Pierre-Yves Chibon 2ec1c5
- Make email sending optional (Patrick Uiterwijk)
Pierre-Yves Chibon 2ec1c5
Pierre-Yves Chibon 92d0cb
* Fri May 22 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.7-1</pingou@pingoured.fr>
Pierre-Yves Chibon 92d0cb
- Update to 0.1.7
Pierre-Yves Chibon 92d0cb
- Drop debugging code on the milter and the hooks
Pierre-Yves Chibon 92d0cb
- Adjust the search_issues method to support filter for some tags, excluding
Pierre-Yves Chibon 92d0cb
  some others (for example ?tags=easfix&tags=!0.2)
Pierre-Yves Chibon 92d0cb
- Support groups when searching an user's projects (ie: finding the projects an
Pierre-Yves Chibon 92d0cb
  user has access to via the group their are in)
Pierre-Yves Chibon 92d0cb
- Do not load the git repo from the FS when loading an user's page
Pierre-Yves Chibon 92d0cb
- Present and document the SSH keys in a dedicated documentation page
Pierre-Yves Chibon 92d0cb
Pierre-Yves Chibon ea4656
* Wed May 20 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.6-1</pingou@pingoured.fr>
Pierre-Yves Chibon ea4656
- Update to 0.1.6
Pierre-Yves Chibon ea4656
- Fix sending notification emails to multiple users, avoid sending private into
Pierre-Yves Chibon ea4656
  to all of them
Pierre-Yves Chibon ea4656
Pierre-Yves Chibon bb841e
* Tue May 19 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.5-1</pingou@pingoured.fr>
Pierre-Yves Chibon bb841e
- Update to 0.1.5
Pierre-Yves Chibon bb841e
- Bug fix on the milter and the internal API endpoint
Pierre-Yves Chibon bb841e
Pierre-Yves Chibon c2f959
* Tue May 19 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.4-1</pingou@pingoured.fr>
Pierre-Yves Chibon c2f959
- Update to 0.1.4
Pierre-Yves Chibon c2f959
- Fix loading requests and tickets from git (allows syncing projects between
Pierre-Yves Chibon c2f959
  pagure instances)
Pierre-Yves Chibon c2f959
- Add to the template .wsgi file a way to re-locate the tmp folder to work
Pierre-Yves Chibon c2f959
  around a bug in libgit2
Pierre-Yves Chibon c2f959
- Fix unit-tests suite
Pierre-Yves Chibon c2f959
- Adjust the spec file to install all the files required for the milters
Pierre-Yves Chibon c2f959
- Fix the `View` button on the pull-request pages
Pierre-Yves Chibon c2f959
Pierre-Yves Chibon 3a9067
* Wed May 13 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.3-1</pingou@pingoured.fr>
Pierre-Yves Chibon 3a9067
- Update to 0.1.3
Pierre-Yves Chibon 3a9067
- Add support for gitolite3
Pierre-Yves Chibon 3a9067
- Fix unit-tests suite to work on jenkins
Pierre-Yves Chibon 3a9067
Pierre-Yves Chibon e0049f
* Sat May 09 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.2-2</pingou@pingoured.fr>
Pierre-Yves Chibon e0049f
- Fix the Requires on the milter subpackage (adding: post, preun and postun)
Pierre-Yves Chibon e0049f
- Add systemd scriptlet to restart the service gracefully
Pierre-Yves Chibon e0049f
- Use versioned python macro (py2)
Pierre-Yves Chibon e0049f
- Ship the license in the milter subpackage as well
Pierre-Yves Chibon e0049f
- Use the %%license macro
Pierre-Yves Chibon e0049f
Pierre-Yves Chibon f4cd85
* Thu May 07 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.2-1</pingou@pingoured.fr>
Pierre-Yves Chibon f4cd85
- Update to 0.1.2
Pierre-Yves Chibon f4cd85
- Fix bug in the fedmsg hook file (Thanks Zbigniew Jędrzejewski-Szmek)
Pierre-Yves Chibon f4cd85
Pierre-Yves Chibon 8b1c32
* Wed May 06 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.1-1</pingou@pingoured.fr>
Pierre-Yves Chibon 8b1c32
- Update to 0.1.1
Pierre-Yves Chibon 8b1c32
- Port to python-munch and list it in the dependencies
Pierre-Yves Chibon 8b1c32
- Fix exporting patch when they contain unicode characters or accent
Pierre-Yves Chibon 8b1c32
- After creating an issue, user is brought back to the new issue page
Pierre-Yves Chibon 8b1c32
- Fix unit-tests
Pierre-Yves Chibon 8b1c32
- Stop the pagure hook if the user is deleting a branch (no need to run through
Pierre-Yves Chibon 8b1c32
  all the commits of that branch)
Pierre-Yves Chibon 8b1c32
- Fix the requirements.txt file (Sayan Chowdhury)
Pierre-Yves Chibon 8b1c32
- Fix the tree page to show the commit sha on its proper line (Sayan Chowdhury)
Pierre-Yves Chibon 8b1c32
- Fix typo in the form of some of the plugin (Sayan Chowdhury)
Pierre-Yves Chibon 8b1c32
- Improve the README (Sayan Chowdhury)
Pierre-Yves Chibon 8b1c32
- Fix highlighting the commits tab when accessing it (Sayan Chowdhury)
Pierre-Yves Chibon 8b1c32
Pierre-Yves Chibon 291600
* Mon May 04 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1-1</pingou@pingoured.fr>
Pierre-Yves Chibon 291600
- First official release: 0.1
Pierre-Yves Chibon 291600
Pierre-Yves Chibon 669904
* Thu Apr 02 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.0-1.20150402</pingou@pingoured.fr>
Pierre-Yves Chibon 669904
- Cut a RPM for testing on Thu Apr 2nd 2015
Pierre-Yves Chibon 669904
Pierre-Yves Chibon bf7b1c
* Wed Oct 08 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.0-1.20141008</pingou@pingoured.fr>
Pierre-Yves Chibon bf7b1c
- Initial packaging work for Fedora