e09532c
%{?python_enable_dependency_generator}
06d010d
3d4381f
%if (0%{?rhel} && 0%{?rhel} < 8)
06d010d
# Since the Python 3 stack in EPEL is missing too many dependencies,
06d010d
# we're sticking with Python 2 there for now.
06d010d
%global __python %{__python2}
5f81d4c
%global python_pkgversion %{nil}
5f81d4c
%else
06d010d
# Default to Python 3 when not EL
06d010d
%global __python %{__python3}
06d010d
%global python_pkgversion %{python3_pkgversion}
5f81d4c
%endif
5f81d4c
b7aedcc
Name:               pagure
20ac00f
Version:            5.10.0
4b0019c
Release:            7%{?dist}
b7aedcc
Summary:            A git-centered forge
b7aedcc
b7aedcc
License:            GPLv2+
b7aedcc
URL:                https://pagure.io/pagure
b7aedcc
Source0:            https://pagure.io/releases/pagure/%{name}-%{version}.tar.gz
b7aedcc
c19fc57
Source10:           pagure-README.Fedora
c19fc57
c19fc57
# Backports from upstream
5f252d6
## Backport fix to make stats page work
5f252d6
Patch0001:          0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch
4b0019c
## Backport support for STARTTLS support for SMTP servers
4b0019c
Patch0002:          0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch
c19fc57
b7aedcc
BuildArch:          noarch
b7aedcc
bf308d4
BuildRequires:      systemd-devel
b7aedcc
BuildRequires:      systemd
5f81d4c
BuildRequires:      python%{python_pkgversion}-devel
5f81d4c
BuildRequires:      python%{python_pkgversion}-setuptools
5f81d4c
3d4381f
%if 0%{?rhel} && 0%{?rhel} < 8
e09532c
# Required only for the `fas` and `openid` authentication backends
06d010d
Requires:           python%{python_pkgversion}-fedora-flask
e09532c
# Required only for the `oidc` authentication backend
e09532c
# flask-oidc
e09532c
# Required only if `USE_FLASK_SESSION_EXT` is set to `True`
e09532c
# flask-session
e09532c
%else
06d010d
Recommends:         python%{python_pkgversion}-fedora-flask
e09532c
%endif
e09532c
d0a1ffa
# We require OpenSSH 7.4+ for SHA256 support
7e06793
Requires:           openssh >= 7.4
d0a1ffa
3d4381f
%if 0%{?rhel} && 0%{?rhel} < 8
5f81d4c
Requires:           python%{python_pkgversion}-alembic
5f81d4c
Requires:           python%{python_pkgversion}-arrow
06d010d
Requires:           python%{python_pkgversion}-bcrypt
5f81d4c
Requires:           python%{python_pkgversion}-binaryornot
5f81d4c
Requires:           python%{python_pkgversion}-bleach
5f81d4c
Requires:           python%{python_pkgversion}-blinker
5f81d4c
Requires:           python%{python_pkgversion}-celery
5f81d4c
Requires:           python%{python_pkgversion}-chardet
06d010d
Requires:           python%{python_pkgversion}-cryptography
5f81d4c
Requires:           python%{python_pkgversion}-docutils
5f81d4c
Requires:           python%{python_pkgversion}-enum34
5f81d4c
Requires:           python%{python_pkgversion}-flask
e09532c
Requires:           python%{python_pkgversion}-flask-wtf
7e06793
Requires:           python%{python_pkgversion}-markdown
e09532c
Requires:           python%{python_pkgversion}-munch
5f81d4c
Requires:           python%{python_pkgversion}-pillow
5f81d4c
Requires:           python%{python_pkgversion}-psutil
3d4381f
Requires:           python%{python_pkgversion}-pygit2 >= 0.26.0
5f81d4c
Requires:           python%{python_pkgversion}-openid
5f81d4c
Requires:           python%{python_pkgversion}-openid-cla
5f81d4c
Requires:           python%{python_pkgversion}-openid-teams
e09532c
Requires:           python%{python_pkgversion}-redis
3b2c73e
Requires:           python%{python_pkgversion}-requests
3b2c73e
Requires:           python%{python_pkgversion}-six
e09532c
Requires:           python%{python_pkgversion}-sqlalchemy >= 0.8
5f81d4c
Requires:           python%{python_pkgversion}-straight-plugin
5f81d4c
Requires:           python%{python_pkgversion}-wtforms
e09532c
%endif
8d0478a
f43cfe2
10b0585
%if 0%{?fedora} || 0%{?rhel} >= 8
10b0585
# If using PostgreSQL, the correct driver should be installed
10b0585
Recommends:         ((python3-psycopg2 or python3-pg8000) if postgresql-server)
10b0585
10b0585
# If using MariaDB/MySQL, the correct driver should be installed
10b0585
Recommends:         ((python3-mysql or python3-PyMySQL) if mysql-server)
20ac00f
20ac00f
# If using Apache web server, the correct configuration should be installed
20ac00f
Recommends:         (%{name}-web-apache-httpd if httpd)
20ac00f
20ac00f
# If using Nginx web server, the correct configuration should be installed
20ac00f
Recommends:         (%{name}-web-nginx if nginx)
10b0585
%endif
10b0585
c19fc57
# We use the git tools for some actions due to deficiencies in libgit2 and pygit2
c19fc57
Requires:           git-core
c19fc57
8d0478a
# No dependency of the app per se, but required to make it working.
74af54a
%if 0%{?rhel} && 0%{?rhel} < 8
b7aedcc
Requires:           gitolite3
74af54a
%else
74af54a
Recommends:         gitolite3
74af54a
%endif
8d0478a
8d0478a
%description
8d0478a
Pagure is a light-weight git-centered forge based on pygit2.
8d0478a
8d0478a
Currently, Pagure offers a web-interface for git repositories, a ticket
8d0478a
system and possibilities to create new projects, fork existing ones and
8d0478a
create/merge pull-requests across or within projects.
8d0478a
c19fc57
For steps on how to set up the system after installing this package,
c19fc57
please read %{_pkgdocdir}/README.Fedora.
c19fc57
bd15e78
20ac00f
%package            web-apache-httpd
20ac00f
Summary:            Apache HTTPD configuration for Pagure
20ac00f
BuildArch:          noarch
20ac00f
Requires:           %{name} = %{version}-%{release}
20ac00f
Requires:           httpd-filesystem
20ac00f
%if 0%{?rhel} && 0%{?rhel} < 8
20ac00f
Requires:           mod_wsgi
20ac00f
%else
20ac00f
Requires:           python%{python_pkgversion}-mod_wsgi
20ac00f
%endif
f8005d0
# Apache config moved out to its own subpackage
f8005d0
Obsoletes:          pagure < 5.10.0
f8005d0
Conflicts:          pagure < 5.10.0
20ac00f
%description        web-apache-httpd
20ac00f
This package provides the configuration files for deploying
20ac00f
a Pagure server using the Apache HTTPD server.
20ac00f
20ac00f
20ac00f
%package            web-nginx
20ac00f
Summary:            Nginx configuration for Pagure
20ac00f
BuildArch:          noarch
20ac00f
Requires:           %{name} = %{version}-%{release}
20ac00f
Requires:           nginx-filesystem
20ac00f
Requires:           python%{python_pkgversion}-gunicorn
20ac00f
%description        web-nginx
20ac00f
This package provides the configuration files for deploying
20ac00f
a Pagure server using the Nginx web server.
20ac00f
20ac00f
06d010d
%package            theme-pagureio
06d010d
Summary:            Web interface theme used for Pagure.io
06d010d
BuildArch:          noarch
06d010d
Requires:           %{name} = %{version}-%{release}
06d010d
%description        theme-pagureio
06d010d
This package provides the web interface assets for styling
06d010d
a Pagure server with the same look and feel as Pagure.io.
06d010d
06d010d
06d010d
%package            theme-srcfpo
06d010d
Summary:            Web interface theme used for src.fedoraproject.org
06d010d
BuildArch:          noarch
06d010d
Requires:           %{name} = %{version}-%{release}
06d010d
%description        theme-srcfpo
06d010d
This package provides the web interface assets for styling
06d010d
a Pagure server with the same look and feel as src.fedoraproject.org.
06d010d
06d010d
06d010d
%package            theme-chameleon
06d010d
Summary:            Web interface based on openSUSE's chameleon theme
06d010d
BuildArch:          noarch
06d010d
Requires:           %{name} = %{version}-%{release}
06d010d
%description        theme-chameleon
06d010d
This package provides the web interface assets for styling
06d010d
a Pagure server with the same look and feel as openSUSE Infrastructure.
06d010d
06d010d
b7aedcc
%package            milters
8d0478a
Summary:            Milter to integrate pagure with emails
8d0478a
BuildArch:          noarch
5f81d4c
Requires:           %{name} = %{version}-%{release}
5f81d4c
Requires:           python%{python_pkgversion}-pymilter
8d0478a
# It would work with sendmail but we configure things (like the tempfile)
8d0478a
# to work with postfix
8d0478a
Requires:           postfix
b7aedcc
%description        milters
8d0478a
Milters (Mail filters) allowing the integration of pagure and emails.
8d0478a
This is useful for example to allow commenting on a ticket by email.
8d0478a
8d0478a
b7aedcc
%package            ev
b7aedcc
Summary:            EventSource server for pagure
b7aedcc
BuildArch:          noarch
5f81d4c
Requires:           %{name} = %{version}-%{release}
06d010d
Requires:           python%{python_pkgversion}-trololio
b7aedcc
%description        ev
b0a6cd0
Pagure comes with an eventsource server allowing live update of the pages
bd15e78
supporting it. This package provides it.
bd15e78
bd15e78
b7aedcc
%package            webhook
b7aedcc
Summary:            Web-Hook server for pagure
b7aedcc
BuildArch:          noarch
5f81d4c
Requires:           %{name} = %{version}-%{release}
b7aedcc
%description        webhook
bd15e78
Pagure comes with an webhook server allowing http callbacks for any action
bd15e78
done on a project. This package provides it.
b0a6cd0
b0a6cd0
b7aedcc
%package            ci
b7aedcc
Summary:            A CI service for pagure
b7aedcc
BuildArch:          noarch
5f81d4c
Requires:           %{name} = %{version}-%{release}
06d010d
Requires:           python%{python_pkgversion}-cryptography
5f81d4c
Requires:           python%{python_pkgversion}-jenkins
b7aedcc
%description        ci
b7aedcc
Pagure comes with a continuous integration service, currently supporting
b7aedcc
only jenkins but extendable to others.
b7aedcc
With this service, your CI server will be able to report the results of the
b7aedcc
build on the pull-requests opened to your project.
b7aedcc
b7aedcc
bf308d4
%package            logcom
bf308d4
Summary:            The logcom service for pagure
bf308d4
BuildArch:          noarch
5f81d4c
Requires:           %{name} = %{version}-%{release}
bf308d4
%description        logcom
bf308d4
pagure-logcom contains the service that logs commits into the database so that
bf308d4
the activity calendar heatmap is filled.
bf308d4
bf308d4
bf308d4
%package            loadjson
bf308d4
Summary:            The loadjson service for pagure
bf308d4
BuildArch:          noarch
5f81d4c
Requires:           %{name} = %{version}-%{release}
bf308d4
%description        loadjson
bf308d4
pagure-loadjson is the service allowing to update the database with the
bf308d4
information provided in the JSON blobs that are stored in the tickets (and
bf308d4
in the future pull-requests) git repo.
bf308d4
bf308d4
06d010d
%package            mirror
06d010d
Summary:            The mirroring service for pagure
06d010d
BuildArch:          noarch
06d010d
Requires:           %{name} = %{version}-%{release}
06d010d
%description        mirror
06d010d
pagure-mirror is the service mirroring projects that asked for it outside
06d010d
of this pagure instance.
06d010d
06d010d
8d0478a
%prep
5f81d4c
%autosetup -p1
5f81d4c
3d4381f
%if 0%{?rhel} && 0%{?rhel} < 8
06d010d
# Fix requirements.txt for EL7 setuptools
06d010d
## Remove environment markers, as they're not supported
06d010d
sed -e "s/;python_version.*$//g" -i requirements.txt
20ac00f
## Drop email-validator requirement
20ac00f
sed -e "s/^email_validator.*//g" -i requirements.txt
06d010d
## Drop python3-openid requirement
06d010d
sed -e "s/^python3-openid$//g" -i requirements.txt
06d010d
%endif
8d0478a
c19fc57
# Install README.Fedora file
c19fc57
install -pm 0644 %{SOURCE10} README.Fedora
c19fc57
8d0478a
8d0478a
%build
06d010d
%py_build
8d0478a
8d0478a
8d0478a
%install
06d010d
%py_install
8d0478a
8d0478a
# Install apache configuration file
10b0585
mkdir -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/
20ac00f
install -p -m 644 files/pagure-apache-httpd.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/pagure.conf
20ac00f
20ac00f
# Install nginx configuration file
20ac00f
mkdir -p %{buildroot}/%{_sysconfdir}/nginx/conf.d/
20ac00f
install -p -m 644 files/pagure-nginx.conf %{buildroot}/%{_sysconfdir}/nginx/conf.d/pagure.conf
8d0478a
8d0478a
# Install configuration file
10b0585
mkdir -p %{buildroot}/%{_sysconfdir}/pagure
10b0585
install -p -m 644 files/pagure.cfg.sample %{buildroot}/%{_sysconfdir}/pagure/pagure.cfg
8d0478a
8d0478a
# Install WSGI file
10b0585
mkdir -p %{buildroot}/%{_datadir}/pagure
10b0585
install -p -m 644 files/pagure.wsgi %{buildroot}/%{_datadir}/pagure/pagure.wsgi
10b0585
install -p -m 644 files/doc_pagure.wsgi %{buildroot}/%{_datadir}/pagure/doc_pagure.wsgi
8d0478a
8d0478a
# Install the createdb script
10b0585
install -p -m 644 createdb.py %{buildroot}/%{_datadir}/pagure/pagure_createdb.py
8d0478a
d4acde5
# Install the api_key_expire_mail.py script
10b0585
install -p -m 644 files/api_key_expire_mail.py %{buildroot}/%{_datadir}/pagure/api_key_expire_mail.py
d4acde5
aac2439
# Install the mirror_project_in.py script
10b0585
install -p -m 644 files/mirror_project_in.py %{buildroot}/%{_datadir}/pagure/mirror_project_in.py
aac2439
0b971a2
# Install the keyhelper and aclcheck scripts
10b0585
mkdir -p %{buildroot}/%{_libexecdir}/pagure/
10b0585
install -p -m 755 files/aclchecker.py %{buildroot}/%{_libexecdir}/pagure/aclchecker.py
10b0585
install -p -m 755 files/keyhelper.py %{buildroot}/%{_libexecdir}/pagure/keyhelper.py
0b971a2
b0a6cd0
# Install the alembic configuration file
10b0585
install -p -m 644 files/alembic.ini %{buildroot}/%{_sysconfdir}/pagure/alembic.ini
b0a6cd0
b0a6cd0
# Install the alembic revisions
10b0585
cp -r alembic %{buildroot}/%{_datadir}/pagure
b0a6cd0
20ac00f
# Install the systemd file for the web frontend
20ac00f
mkdir -p %{buildroot}/%{_unitdir}
20ac00f
install -p -m 644 files/pagure_web.service \
20ac00f
    %{buildroot}/%{_unitdir}/pagure_web.service
20ac00f
20ac00f
# Install the systemd file for the docs web frontend
20ac00f
mkdir -p %{buildroot}/%{_unitdir}
20ac00f
install -p -m 644 files/pagure_docs_web.service \
20ac00f
    %{buildroot}/%{_unitdir}/pagure_docs_web.service
20ac00f
bf308d4
# Install the systemd file for the worker
10b0585
mkdir -p %{buildroot}/%{_unitdir}
bfecdfb
install -p -m 644 files/pagure_worker.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_worker.service
bf308d4
bf3925e
# Install the systemd file for the authorized_keys worker
bf3925e
install -p -m 644 files/pagure_authorized_keys_worker.service \
bf3925e
    %{buildroot}/%{_unitdir}/pagure_authorized_keys_worker.service
bf3925e
5f81d4c
# Install the systemd file for the gitolite worker
5f81d4c
install -p -m 644 files/pagure_gitolite_worker.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_gitolite_worker.service
5f81d4c
5f81d4c
# Install the systemd file for the web-hook
5f81d4c
install -p -m 644 files/pagure_webhook.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_webhook.service
5f81d4c
5f81d4c
# Install the systemd file for the ci service
5f81d4c
install -p -m 644 files/pagure_ci.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_ci.service
5f81d4c
5f81d4c
# Install the systemd file for the logcom service
5f81d4c
install -p -m 644 files/pagure_logcom.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_logcom.service
5f81d4c
5f81d4c
# Install the systemd file for the loadjson service
5f81d4c
install -p -m 644 files/pagure_loadjson.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_loadjson.service
8d0478a
06d010d
# Install the systemd file for the mirror service
06d010d
install -p -m 644 files/pagure_mirror.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_mirror.service
06d010d
06d010d
# Install the systemd file for the script sending reminder about API key
06d010d
# expiration
06d010d
install -p -m 644 files/pagure_api_key_expire_mail.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_api_key_expire_mail.service
06d010d
install -p -m 644 files/pagure_api_key_expire_mail.timer \
10b0585
    %{buildroot}/%{_unitdir}/pagure_api_key_expire_mail.timer
06d010d
aac2439
# Install the systemd file for the script updating mirrored project
aac2439
install -p -m 644 files/pagure_mirror_project_in.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_mirror_project_in.service
aac2439
install -p -m 644 files/pagure_mirror_project_in.timer \
10b0585
    %{buildroot}/%{_unitdir}/pagure_mirror_project_in.timer
aac2439
8d0478a
# Install the milter files
10b0585
mkdir -p %{buildroot}/%{_localstatedir}/run/pagure
10b0585
mkdir -p %{buildroot}/%{_tmpfilesdir}
bfecdfb
install -p -m 0644 pagure-milters/milter_tempfile.conf \
10b0585
    %{buildroot}/%{_tmpfilesdir}/%{name}-milter.conf
bfecdfb
install -p -m 644 pagure-milters/pagure_milter.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_milter.service
bfecdfb
install -p -m 644 pagure-milters/comment_email_milter.py \
10b0585
    %{buildroot}/%{_datadir}/pagure/comment_email_milter.py
8d0478a
b0a6cd0
# Install the eventsource
10b0585
mkdir -p %{buildroot}/%{_libexecdir}/pagure-ev
bfecdfb
install -p -m 755 pagure-ev/pagure_stream_server.py \
10b0585
    %{buildroot}/%{_libexecdir}/pagure-ev/pagure_stream_server.py
bfecdfb
install -p -m 644 pagure-ev/pagure_ev.service \
10b0585
    %{buildroot}/%{_unitdir}/pagure_ev.service
b0a6cd0
06d010d
# Fix the shebang for various scripts
06d010d
sed -e "s|#!/usr/bin/env python|#!%{__python}|" -i \
10b0585
    %{buildroot}/%{_libexecdir}/pagure-ev/*.py \
10b0585
    %{buildroot}/%{_libexecdir}/pagure/*.py \
10b0585
    %{buildroot}/%{_datadir}/pagure/*.py \
10b0585
    %{buildroot}/%{python_sitelib}/pagure/hooks/files/*.py \
10b0585
    %{buildroot}/%{python_sitelib}/pagure/hooks/files/hookrunner \
10b0585
    %{buildroot}/%{python_sitelib}/pagure/hooks/files/post-receive \
10b0585
    %{buildroot}/%{python_sitelib}/pagure/hooks/files/pre-receive \
10b0585
    %{buildroot}/%{python_sitelib}/pagure/hooks/files/repospannerhook
06d010d
06d010d
# Switch interpreter for systemd units
10b0585
sed -e "s|/usr/bin/python|%{__python}|g" -i %{buildroot}/%{_unitdir}/*.service
06d010d
3d4381f
%if 0%{?rhel} && 0%{?rhel} < 8
20ac00f
# Change to correct static file path for apache httpd and nginx
20ac00f
sed -e "s/pythonX.Y/python%{python2_version}/g" -i \
20ac00f
    %{buildroot}/%{_sysconfdir}/httpd/conf.d/pagure.conf \
20ac00f
    %{buildroot}/%{_sysconfdir}/nginx/conf.d/pagure.conf
06d010d
%else
06d010d
# Switch all systemd units to use the correct celery
10b0585
sed -e "s|/usr/bin/celery|/usr/bin/celery-3|g" -i %{buildroot}/%{_unitdir}/*.service
06d010d
20ac00f
# Switch all systemd units to use the correct gunicorn
20ac00f
sed -e "s|/usr/bin/gunicorn|/usr/bin/gunicorn-3|g" -i %{buildroot}/%{_unitdir}/*.service
20ac00f
20ac00f
# Change to correct static file path for apache httpd and nginx
20ac00f
sed -e "s/pythonX.Y/python%{python3_version}/g" -i \
20ac00f
    %{buildroot}/%{_sysconfdir}/httpd/conf.d/pagure.conf \
20ac00f
    %{buildroot}/%{_sysconfdir}/nginx/conf.d/pagure.conf
06d010d
%endif
06d010d
20ac00f
# Make log directories
20ac00f
mkdir -p %{buildroot}/%{_localstatedir}/log/pagure
20ac00f
logfiles="web docs_web"
20ac00f
20ac00f
for logfile in $logfiles; do
20ac00f
   touch %{buildroot}/%{_localstatedir}/log/pagure/access_${logfile}.log
20ac00f
   touch %{buildroot}/%{_localstatedir}/log/pagure/error_${logfile}.log
20ac00f
done
20ac00f
8884096
# Regenerate missing symlinks (really needed for upgrades from pagure < 5.0)
8884096
runnerhooks="post-receive pre-receive"
8884096
8884096
for runnerhook in $runnerhooks; do
10b0585
   rm -rf %{buildroot}/%{python_sitelib}/pagure/hooks/files/$runnerhook
10b0585
   ln -sf hookrunner %{buildroot}/%{python_sitelib}/pagure/hooks/files/$runnerhook
8884096
done
bf308d4
c1aaee3
%if 0%{?fedora} || 0%{?rhel} >= 8
c1aaee3
# Byte compile everything not in sitelib
c1aaee3
%py_byte_compile %{__python} %{buildroot}%{_datadir}/pagure/
c1aaee3
%py_byte_compile %{__python} %{buildroot}%{_libexecdir}/pagure/
c1aaee3
%py_byte_compile %{__python} %{buildroot}%{_libexecdir}/pagure-ev/
c1aaee3
%endif
c1aaee3
bf308d4
%post
bf308d4
%systemd_post pagure_worker.service
20ac00f
%systemd_post pagure_authorized_keys_worker.service
06d010d
%systemd_post pagure_gitolite_worker.service
06d010d
%systemd_post pagure_api_key_expire_mail.timer
aac2439
%systemd_post pagure_mirror_project_in.timer
20ac00f
%post web-nginx
20ac00f
%systemd_post pagure_web.service
20ac00f
%systemd_post pagure_docs_web.service
8d0478a
%post milters
8d0478a
%systemd_post pagure_milter.service
b0a6cd0
%post ev
b0a6cd0
%systemd_post pagure_ev.service
bd15e78
%post webhook
bd15e78
%systemd_post pagure_webhook.service
b7aedcc
%post ci
b7aedcc
%systemd_post pagure_ci.service
bf308d4
%post logcom
bf308d4
%systemd_post pagure_logcom.service
bf308d4
%post loadjson
bf308d4
%systemd_post pagure_loadjson.service
06d010d
%post mirror
06d010d
%systemd_post pagure_mirror.service
8d0478a
bf308d4
%preun
06d010d
%systemd_preun pagure_worker.service
20ac00f
%systemd_preun pagure_authorized_keys_worker.service
06d010d
%systemd_preun pagure_gitolite_worker.service
06d010d
%systemd_preun pagure_api_key_expire_mail.timer
aac2439
%systemd_preun pagure_mirror_project_in.timer
20ac00f
%preun web-nginx
20ac00f
%systemd_preun pagure_web.service
20ac00f
%systemd_preun pagure_docs_web.service
8d0478a
%preun milters
8d0478a
%systemd_preun pagure_milter.service
b0a6cd0
%preun ev
b0a6cd0
%systemd_preun pagure_ev.service
bd15e78
%preun webhook
bd15e78
%systemd_preun pagure_webhook.service
b7aedcc
%preun ci
b7aedcc
%systemd_preun pagure_ci.service
bf308d4
%preun logcom
bf308d4
%systemd_preun pagure_logcom.service
bf308d4
%preun loadjson
bf308d4
%systemd_preun pagure_loadjson.service
06d010d
%preun mirror
06d010d
%systemd_preun pagure_mirror.service
8d0478a
bf308d4
%postun
06d010d
%systemd_postun_with_restart pagure_worker.service
20ac00f
%systemd_postun_with_restart pagure_authorized_keys_worker.service
06d010d
%systemd_postun_with_restart pagure_gitolite_worker.service
06d010d
%systemd_postun pagure_api_key_expire_mail.timer
aac2439
%systemd_postun pagure_mirror_project_in.timer
20ac00f
%postun web-nginx
20ac00f
%systemd_postun_with_restart pagure_web.service
20ac00f
%systemd_postun_with_restart pagure_docs_web.service
8d0478a
%postun milters
8d0478a
%systemd_postun_with_restart pagure_milter.service
b0a6cd0
%postun ev
b0a6cd0
%systemd_postun_with_restart pagure_ev.service
bd15e78
%postun webhook
bd15e78
%systemd_postun_with_restart pagure_webhook.service
b7aedcc
%postun ci
b7aedcc
%systemd_postun_with_restart pagure_ci.service
bf308d4
%postun logcom
bf308d4
%systemd_postun_with_restart pagure_logcom.service
bf308d4
%postun loadjson
bf308d4
%systemd_postun_with_restart pagure_loadjson.service
06d010d
%postun mirror
06d010d
%systemd_postun_with_restart pagure_mirror.service
8d0478a
8d0478a
8d0478a
%files
5f81d4c
%doc README.rst UPGRADING.rst doc/
c19fc57
%doc README.Fedora
8d0478a
%license LICENSE
8d0478a
%config(noreplace) %{_sysconfdir}/pagure/pagure.cfg
b0a6cd0
%config(noreplace) %{_sysconfdir}/pagure/alembic.ini
8d0478a
%dir %{_sysconfdir}/pagure/
1b4677e
%dir %{_datadir}/pagure/
d4acde5
%{_datadir}/pagure/*.py*
3d4381f
%if ! (0%{?rhel} && 0%{?rhel} < 8)
06d010d
%{_datadir}/pagure/__pycache__/
06d010d
%endif
b0a6cd0
%{_datadir}/pagure/alembic/
54e86b3
%{_libexecdir}/pagure/
06d010d
%{python_sitelib}/pagure/
06d010d
%exclude %{python_sitelib}/pagure/themes/pagureio
06d010d
%exclude %{python_sitelib}/pagure/themes/srcfpo
06d010d
%exclude %{python_sitelib}/pagure/themes/chameleon
06d010d
%{python_sitelib}/pagure*.egg-info
292bc2c
%{_bindir}/pagure-admin
bf308d4
%{_unitdir}/pagure_worker.service
bf3925e
%{_unitdir}/pagure_authorized_keys_worker.service
5f81d4c
%{_unitdir}/pagure_gitolite_worker.service
06d010d
%{_unitdir}/pagure_api_key_expire_mail.service
06d010d
%{_unitdir}/pagure_api_key_expire_mail.timer
aac2439
%{_unitdir}/pagure_mirror_project_in.service
aac2439
%{_unitdir}/pagure_mirror_project_in.timer
06d010d
06d010d
20ac00f
%files web-apache-httpd
20ac00f
%license LICENSE
20ac00f
%config(noreplace) %{_sysconfdir}/httpd/conf.d/pagure.conf
20ac00f
%config(noreplace) %{_datadir}/pagure/*.wsgi
20ac00f
20ac00f
20ac00f
%files web-nginx
20ac00f
%license LICENSE
20ac00f
%config(noreplace) %{_sysconfdir}/nginx/conf.d/pagure.conf
20ac00f
%{_unitdir}/pagure_web.service
20ac00f
%{_unitdir}/pagure_docs_web.service
20ac00f
%dir %{_localstatedir}/log/pagure
20ac00f
%ghost %{_localstatedir}/log/pagure/*.log
20ac00f
20ac00f
06d010d
%files theme-pagureio
06d010d
%license LICENSE
06d010d
%{python_sitelib}/pagure/themes/pagureio/
06d010d
06d010d
06d010d
%files theme-srcfpo
06d010d
%license LICENSE
06d010d
%{python_sitelib}/pagure/themes/srcfpo/
06d010d
06d010d
06d010d
%files theme-chameleon
06d010d
%license LICENSE
06d010d
%{python_sitelib}/pagure/themes/chameleon/
8d0478a
8d0478a
8d0478a
%files milters
8d0478a
%license LICENSE
8d0478a
%attr(755,postfix,postfix) %dir %{_localstatedir}/run/pagure
1b4677e
%dir %{_datadir}/pagure/
8e5e423
%{_tmpfilesdir}/%{name}-milter.conf
8e5e423
%{_unitdir}/pagure_milter.service
1b4677e
%{_datadir}/pagure/comment_email_milter.py*
8d0478a
8d0478a
b0a6cd0
%files ev
b0a6cd0
%license LICENSE
b0a6cd0
%{_libexecdir}/pagure-ev/
8e5e423
%{_unitdir}/pagure_ev.service
bd15e78
bd15e78
bd15e78
%files webhook
bd15e78
%license LICENSE
8e5e423
%{_unitdir}/pagure_webhook.service
b0a6cd0
b0a6cd0
b7aedcc
%files ci
b7aedcc
%license LICENSE
b7aedcc
%{_unitdir}/pagure_ci.service
b7aedcc
bf308d4
bf308d4
%files logcom
bf308d4
%license LICENSE
bf308d4
%{_unitdir}/pagure_logcom.service
bf308d4
bf308d4
bf308d4
%files loadjson
bf308d4
%license LICENSE
bf308d4
%{_unitdir}/pagure_loadjson.service
bf308d4
bf308d4
06d010d
%files mirror
06d010d
%license LICENSE
06d010d
%{_unitdir}/pagure_mirror.service
06d010d
06d010d
8d0478a
%changelog
4b0019c
* Wed May 20 2020 Neal Gompa <ngompa13@gmail.com> - 5.10.0-7
4b0019c
- Backport support for STARTTLS support for SMTP servers
4b0019c
5f252d6
* Sat May 16 2020 Neal Gompa <ngompa13@gmail.com> - 5.10.0-6
5f252d6
- Backport fix for stats
5f252d6
- Add missing step to start pagure web services for nginx setup in quickstart
5f252d6
bf3925e
* Thu May 14 2020 Neal Gompa <ngompa13@gmail.com> - 5.10.0-5
bf3925e
- Install missing pagure_authorized_keys_worker service
bf3925e
1cf7cdb
* Thu May 14 2020 Neal Gompa <ngompa13@gmail.com> - 5.10.0-4
1cf7cdb
- Fix thinko in quick start instructions
1cf7cdb
f8005d0
* Thu May 14 2020 Neal Gompa <ngompa13@gmail.com> - 5.10.0-3
f8005d0
- Add Obsoletes for package split of webserver configuration
f8005d0
3f1af10
* Thu May 14 2020 Neal Gompa <ngompa13@gmail.com> - 5.10.0-2
3f1af10
- Bump to build in EPEL8
3f1af10
20ac00f
* Thu May 14 2020 Neal Gompa <ngompa13@gmail.com> - 5.10.0-1
20ac00f
- Update to 5.10.0 (RH#1836004)
20ac00f
- Clean up spec for better suitability for container deployments
20ac00f
- Refresh quick start instructions for new configuration options
20ac00f
- Drop unneeded patch
20ac00f
74af54a
* Mon Mar 30 2020 Neal Gompa <ngompa13@gmail.com> - 5.9.1-1
74af54a
- Update to 5.9.1 (RH#1818753)
74af54a
- Downgrade gitolite3 dependency to Recommends per CPE team request
74af54a
7d94533
* Wed Mar 25 2020 Neal Gompa <ngompa13@gmail.com> - 5.9.0-1
7d94533
- Update to 5.9.0 (RH#1816636)
7d94533
800ca1a
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.1-2
800ca1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
800ca1a
d1207e2
* Mon Dec 02 2019 Neal Gompa <ngompa13@gmail.com> - 5.8.1-1
d1207e2
- Update to 5.8.1 (RH#1778787)
d1207e2
c1aaee3
* Sat Nov 16 2019 Neal Gompa <ngompa13@gmail.com> - 5.8-1
c1aaee3
- Update to 5.8 (RH#1744065)
c1aaee3
38b2efe
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 5.7.4-4
38b2efe
- Rebuilt for Python 3.8.0rc1 (#1748018)
38b2efe
5a74665
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 5.7.4-3
5a74665
- Rebuilt for Python 3.8
5a74665
fa1d34a
* Sun Aug 11 2019 Neal Gompa <ngompa13@gmail.com> - 5.7.4-2
fa1d34a
- Fix httpd conf path in README.Fedora
fa1d34a
82c9102
* Sun Aug 11 2019 Neal Gompa <ngompa13@gmail.com> - 5.7.4-1
82c9102
- Update to 5.7.4
82c9102
e11a938
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.5-2
e11a938
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e11a938
3e7244c
* Tue Apr 09 2019 Neal Gompa <ngompa13@gmail.com> - 5.5-1
3e7244c
- Update to 5.5
3e7244c
- Backport fix for pull mirroring feature
3e7244c
c19fc57
* Fri Mar 29 2019 Neal Gompa <ngompa13@gmail.com> - 5.4-1
c19fc57
- Update to 5.4
c19fc57
- Backport fix for using pagure-ev on Python 3
c19fc57
- Add patch to allow pagure to install with SQLAlchemy 1.3.0+
c19fc57
- Add initial README.Fedora to document a quick-start setup process
c19fc57
10b0585
* Fri Feb 22 2019 Neal Gompa <ngompa13@gmail.com> - 5.3-1
10b0585
- Update to 5.3
10b0585
- Add weak dependencies for supported database client libraries
10b0585
- Use macros consistently in the spec
10b0585
84e8b89
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-3
84e8b89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
84e8b89
3d4381f
* Mon Jan 07 2019 Neal Gompa <ngompa13@gmail.com> - 5.2-2
ec24125
- Ensure all shebangs are set to the correct Python version
3d4381f
- Fix RHEL conditionals to account for EL8
3d4381f
- Fix pygit2 dependency for EL7
3d4381f
aac2439
* Mon Jan 07 2019 Neal Gompa <ngompa13@gmail.com> - 5.2-1
aac2439
- Update to 5.2
aac2439
7e06793
* Fri Dec 14 2018 Neal Gompa <ngompa13@gmail.com> - 5.1.4-2
7e06793
- Backport fix from master to add compatibility with Markdown 3.0+
7e06793
- Backport fix from master to properly skip legacy hooks
7e06793
7e06793
* Tue Oct 30 2018 Neal Gompa <ngompa13@gmail.com> - 5.1.4-1
7e06793
- Update to 5.1.4
7e06793
06c9408
* Thu Oct 11 2018 Neal Gompa <ngompa13@gmail.com> - 5.1.3-1
06c9408
- Update to 5.1.3 (RH#1638470)
06c9408
444efc9
* Tue Oct 09 2018 Neal Gompa <ngompa13@gmail.com> - 5.1.1-1
444efc9
- Update to 5.1.1 (RH#1637595)
444efc9
d0a1ffa
* Tue Oct 09 2018 Neal Gompa <ngompa13@gmail.com> - 5.1-1
d0a1ffa
- Update to 5.1 (RH#1637516)
d0a1ffa
8884096
* Sat Sep 29 2018 Neal Gompa <ngompa13@gmail.com> - 5.0.1-2
8884096
- Fix symlinks broken or missing due to setuptools
8884096
ce03437
* Sat Sep 29 2018 Neal Gompa <ngompa13@gmail.com> - 5.0.1-1
ce03437
- Update to 5.0.1 (RH#1634318)
ce03437
0b971a2
* Mon Sep 24 2018 Neal Gompa <ngompa13@gmail.com> - 5.0-1
0b971a2
- Update to 5.0 (RH#1632468)
0b971a2
06d010d
* Mon Sep 17 2018 Neal Gompa <ngompa13@gmail.com> - 4.93.0-1
06d010d
- Rebase to 4.93.0 (5.0 beta 4)
06d010d
- Pagure is now using Python 3 on Fedora
06d010d
e09532c
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.0.4-2
e09532c
- Generate dependencies automatically
e09532c
5f81d4c
* Tue Jul 24 2018 Neal Gompa <ngompa13@gmail.com> - 4.0.4-1
5f81d4c
- Rebase to 4.0.4
5f81d4c
- Add patch from Mageia to backport fix for pagure-milters
5f81d4c
89af827
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.2-4
89af827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
89af827
e9c9ab2
* Thu Mar 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.13.2-3
e9c9ab2
- Update Python 2 dependency declarations to new packaging standards
e9c9ab2
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
e9c9ab2
036022c
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.2-2
036022c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
036022c
edf9a40
* Thu Dec 21 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 3.13.2-1
edf9a40
- Update to 3.13.2
edf9a40
a9d60b8
* Tue Nov 28 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 3.11.1-1
a9d60b8
- Update to 3.11.1
a9d60b8
8174853
* Thu Aug 10 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 3.5-1
8174853
- Update to 3.5
8174853
- Reverting to py-bcrypt
8174853
80fc879
* Wed Aug 09 2017 Gwyn Ciesla <limburgher@gmail.com> - 3.3.1-3
80fc879
- Switch to python-bcrypt, BZ 1473018.
80fc879
f6a0004
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-2
f6a0004
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f6a0004
2a8d814
* Mon Jul 24 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 3.3.1-1
2a8d814
- Update to 3.3.1
2a8d814
- Fixes a typo in the alembic migration script introduced in 3.3
2a8d814
bf308d4
* Mon Jul 24 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 3.3-1
bf308d4
- Update to 3.3
bf308d4
- [SECURITY FIX] block private repo (read) access via ssh due to a bug on how we
bf308d4
  generated the gitolite config - CVE-2017-1002151 (Stefan Bühler)
bf308d4
292bc2c
* Wed Mar 29 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.14.1-1
292bc2c
- Update to 2.14.1
292bc2c
cc0d4ff
* Wed Mar 01 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.13.1-1
cc0d4ff
- Update to 2.13.1
cc0d4ff
6a92a72
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-2
6a92a72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6a92a72
b5bcf04
* Fri Jan 20 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.11-1
b5bcf04
- Update to 2.11
b5bcf04
b7aedcc
* Mon Dec 26 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.10.1-1
b7aedcc
- Update to 2.10.1
b7aedcc
1c2a360
* Thu Aug 04 2016 Bruno Wolff III <bruno@wolff.to> - 2.3.4-1
d4acde5
- Update to 2.3.4
9fa14a3
- Security fix release blocking all html related mimetype when displaying the
d4acde5
  raw files in issues and forces the browser to download them instead (Thanks to
d4acde5
  Patrick Uiterwijk for finding this issue) - CVE: CVE-2016-1000037
d4acde5
293c7e2
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-2
293c7e2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
293c7e2
f65962f
* Fri Jul 15 2016 Bruno Wolff III <bruno@wolff.to> - 2.3.3-1
d4acde5
- Update to 2.3.3
f65962f
- Fix rendering the release page when the tag message contain only spaces (Vivek
d4acde5
  Anand)
d4acde5
- Fix the search in @<username> (Eric Barbour)
d4acde5
- Displays link and git sub-modules in the tree with a dedicated icon
d4acde5
51983a3
* Tue Jul 12 2016 Bruno Wolff III <bruno@wolff.to> - 2.3.2-1
51983a3
- Make sure to read UPGRADING.rst when upgrading from previous releases
51983a3
- Update to 2.3.2
51983a3
- Do not mark as local only some of the internal API endpoints since they are
51983a3
  called via ajax and thus with the user's IP
51983a3
- Update to 2.3.1
51983a3
- Fix sending notifications to users watching a project
51983a3
- Fix displaying if you are watching the project or not
a7e974b
d4acde5
* Mon Jul 11 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.3-1
d4acde5
- Update to 2.3
d4acde5
- Fix typos in pr_custom_page.rst (Lubomír Sedlář)
d4acde5
- Improve the unit-test suite (Vivek Anand)
d4acde5
- Remove the branch chooser from the repoheader and rework the fork button (Ryan
d4acde5
  Lerch)
d4acde5
- Add support for non utf-8 file names (Ryan Lerch)
d4acde5
- Add a 'Duplicate' status for issues (Vivek Anand)
d4acde5
- Add title attribute for replying to comment and editing the comment in issues
d4acde5
  and PRs (Vivek Anand)
d4acde5
- Include the user when reporting error by email
d4acde5
- Add an API endpoint to create projects
d4acde5
- Add an API endpoint to assign someone to a ticket
d4acde5
- Add small script to be ran as cron to send reminder of expiring tokens (Vivek
d4acde5
  Anand)
d4acde5
- Do not show the PR button on branches for which a PR is already opened
d4acde5
- Add an API endpoint to fork projects
d4acde5
- Add the possibility to watch/unwatch a project (Gaurav Kumar)
d4acde5
- Add a 'Take' button on the issue page (Ryan Lerch and I)
d4acde5
- Add a dev-data script to input some test data in the DB for testing/dev
d4acde5
  purposes (skrzepto)
d4acde5
- Fix links to ticket/pull-request in the preview of a new ticket
d4acde5
- Add the possibility to diff two or more commits (Oliver Gutierrez)
d4acde5
- Fix viewing a file having a non-ascii name
d4acde5
- Fix viewing the diff between two commits having a file with a non-ascii name
d4acde5
- On the commit detail page, specify on which branch(es) the commit is
d4acde5
- Add the possibility to have instance-wide admins will full access to every
d4acde5
  projects (set in the configuration file)
d4acde5
- Drop the hash to the blob of the file when listing the files in the repo
d4acde5
- Add autocomple/suggestion on typing @<username> on a ticket or a pull-request
d4acde5
  (Eric Barbour)
d4acde5
- Fix the edit link when adding a comment to a ticket via SSE
d4acde5
- Add notifications to issues as we have for pull-requests
d4acde5
- Record in the db the date at which a ticket was closed (Vivek Anand)
d4acde5
- Add the possibility for pagure to rely on external groups provided by the auth
d4acde5
  service
d4acde5
- Add the possibility for pagure to use an SMTP server requiring auth
d4acde5
  (Vyacheslav Anzhiganov)
d4acde5
- Add autocomple/suggestion on typing #<id> for tickets and pull-requests (Eric
d4acde5
  Barbour)
d4acde5
- With creating a README when project's description has non-ascii characters
d4acde5
  (vanzhiganov)
d4acde5
- Add colored label for duplicate status of issues (Vivek Anand)
d4acde5
- Ship working wsgi files so that they can be used directly from the RPM
d4acde5
- Mark the wsgi files provided with the RPM as %%config(noreplace)
d4acde5
- Install the api_key_expire_mail.py script next to the createdb one
9fa14a3
297415d
* Tue Jul 05 2016 Bruno Wolff III <bruno@wolff.to> - 2.2.2-1
297415d
- Update to 2.2.2
297415d
- Security fix release blocking all html related mimetype when displaying the
297415d
  raw files and forces the browser to download them instead (Thanks to Patrick
297415d
  Uiterwijk for finding this issue)
297415d
2408ce1
* Wed Jun 01 2016 Bruno Wolff III <bruno@wolff.to> - 2.2.1-1
5751af7
- Update to 2.2.1
5751af7
- Fix showing the inital comment on PR having only one commit (Ryan Lerch)
5751af7
- Fix diffs not showing for additions/deletions for files under 1000 lines (Ryan
5751af7
  Lerch)
5751af7
- Split out the commits page to a template of its own (Ryan Lerch)
5751af7
- Fix hightlighting the commits tab on commit view
5751af7
- Fix the fact that the no readme box show on empty repo (Ryan Lerch)
5751af7
59a72bd
* Tue May 31 2016 Bruno Wolff III <bruno@wolff.to> - 2.2-1
514f34f
- Update to 2.2
514f34f
- Fix retrieving the log level from the configuration file (Nuno Maltez)
514f34f
- Rework the labels used when sorting projects (Ankush Behl)
514f34f
- Fix spelling error in sample config (Bruno)
514f34f
- Hide the URL to the git repo for issues if these are disabled
514f34f
- Do not notify about tickets being assigned when loaded from the issue git repo
514f34f
  (Clément Verna)
514f34f
- Adjust get_revs_between so that if the push is in the main branch we still get
514f34f
  the list of changes (Clément Verna)
514f34f
- Fix display of files moved on both old and new pygit2 (Ryan Lerch)
514f34f
- Fix changes summary sidebar for older versions of pygit (Ryan Lerch)
514f34f
- Fix the label on the button to add a new milestone to a project (Lubomír
514f34f
  Sedlář)
514f34f
- Allow the roadmap feature to have multiple milestone without dates (Lubomír
514f34f
  Sedlář)
514f34f
- Fix the link to switch the roadmap/list views (Lubomír Sedlář)
514f34f
- Render the emoji when adding a comment to a ticket or PR via SSE (Clément
514f34f
  Verna)
514f34f
- Always allow adming to edit/delete comments on issues
514f34f
- Build Require systemd to get macros defined in the spec file (Bruno)
514f34f
- Upon creating a ticket if the form already has data, show that data
514f34f
- Add a readme placeholder for projects without a readme (Ryan Lerch)
514f34f
- Enable markdown preview on create pull request (Ryan Lerch)
514f34f
- Make bottom pagination links on project list respect the sorting filter (Ryan
514f34f
  Lerch)
514f34f
- Add the ability to create a README when creating a project (Ryan Lerch)
514f34f
- Try to prevent pushing commits without a parent when there should be one
514f34f
- Fix the configuration keys to turn off ticket or user/group management for an
514f34f
  entire instance (Vivek Anand)
514f34f
- Fix deleting project (propagate the deletion to the plugins tables)
514f34f
- Do not render the diffs of large added and removed files (more than 1000
514f34f
  lines) (Ryan Lerch)
514f34f
- Adjust the UI on the template to add/remove a group or an user to a project in
514f34f
  the settings page (Ryan Lerch)
514f34f
- Check if a tag exists on a project before allowing to edit it (skrzepto)
514f34f
65eba43
* Fri May 27 2016 Bruno Wolff III <bruno@wolff.to> - 2.1.1-1
65eba43
- Update by several versions
8e5e423
8e5e423
* Fri May 13 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.1-1
8e5e423
- Update to 2.1
8e5e423
- Fix the milter to get it working (hotfixed in prod)
8e5e423
- Fix the fedmsg hook so that it works fine (hotfixed in prod)
8e5e423
- Fix the path of one of the internal API endpoint
8e5e423
- Pass client_encoding utf8 when connecting to the DB (Richard Marko)
8e5e423
- Do not use client_encoding if using sqlite (Ryan Lerch)
8e5e423
- Allow project names up to 255 characters (Richard Marko)
8e5e423
- Add a spinner showing we're working on retrieve the PR status on the PR page
8e5e423
  (farhaanbukhsh)
8e5e423
- Rework installing and removing git hooks (Clement Verna)
8e5e423
- Rework the summary of the changes on the PR page (Ryan Lerch)
8e5e423
- Improve the description of the priority system (Lubomír Sedlář)
8e5e423
- Fix commit url in the pagure hook (Mike McLean)
8e5e423
- Improve the regex when fixing/relating a commit to a ticket or a PR (Mike
8e5e423
  McLean)
8e5e423
- Improve the description of the pagure hook (Mike McLean)
8e5e423
- Fix the priority system to support tickets without priority
8e5e423
- Fix the ordering of the priority in the drop-down list of priorities
8e5e423
- Ensure the drop-down list of priorities defaults to the current priority
8e5e423
- Adjust the runserver.py script to setup PAGURE_CONFIG before importing pagure
8e5e423
- Remove flashed message when creating a new project
8e5e423
- Add markdown support for making of PR# a link to the corresponding PR
8e5e423
- Include the priority in the JSON representation of a ticket
8e5e423
- Include the priorities in the JSON representation of a project
8e5e423
- Do not update the assignee if the person who commented isn't an admin
8e5e423
- When adding a comment fails, include the comment text in the form if there was
8e5e423
  one
8e5e423
- Add support to remove a group from a project
8e5e423
- Add a roadmap feature with corresponding documentation
8e5e423
- Allow 'kbd' and 'var' html tags to render properly
8e5e423
- Fix deleting a project on disk as well as in the DB
8e5e423
- Allow setting the date_created field when importing ticket from git (Clement
8e5e423
  Verna)
8e5e423
- Strip GPG signature from the release message on the release page (Jan Pokorný)
8e5e423
- Make comment on PR diffs fit the parent, and not overflow horiz (Ryan Lerch)
8e5e423
8e5e423
* Sun Apr 24 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.0.1-1
8e5e423
- Update to 2.0.1
8e5e423
- Fixes to the UPGRADING documentation
8e5e423
- Fix URLs to the git repos shown in the overview page for forks
8e5e423
- Fix the project titles in the html to not start with `forks/`
8e5e423
8e5e423
* Fri Apr 22 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.0-1
8e5e423
- Update to 2.0
8e5e423
- Rework the initial comment of a PR, making it less a comment and more
8e5e423
  something that belong to the PR itself
8e5e423
- Fix showing or not the fork button when editing a comment on an issue or a PR
8e5e423
  and fix the highlighted tab when editing comment of an issue (Oliver
8e5e423
  Gutierrez)
8e5e423
- Fix the count of comments shown on the page listing all the PRs to include
8e5e423
  only the comments and not the notifications (farhaanbukhsh)
8e5e423
- In the settings page explain that API keys are personal (Lubomír Sedlář)
8e5e423
- Rework the fedmsg message sent upon pushing commits, one message per push
8e5e423
  instead of one message per commit
8e5e423
- Mark the page next/previous as disabled when they are (on browse pages)
8e5e423
- Avoid the logout/login loop when logging out
8e5e423
- Support rendering file with a `.markdown` extension
8e5e423
- Fix the layout of the password change branch
8e5e423
- Improve the documentation, add overview graphs, expand the usage section,
8e5e423
  improve the overview description
8e5e423
- Fix checking if the user is an admin of a project or not (which was making the
8e5e423
  user experience confusing as they sometime had the fork button and sometime
8e5e423
  not)
8e5e423
- Fix the pagination on the browse pages when the results are sorted
8e5e423
- Disable the Commit and Files tabs if a repo is new
8e5e423
- Update the pagure logo to look better (Ryan Lerch)
8e5e423
- Allow anyone to fork any project (Ryan Lerch)
8e5e423
- Fix searching on the browse pages by preventing submission of the 'enter' key
8e5e423
  (Ryan Lerch)
8e5e423
- Rework the issue page to be a single, large form allowing to update the
8e5e423
  meta-data and comment in one action and fixing updating the page via SSE
8e5e423
- Turn off the project's documentation by default to empty `Docs` tab leading to
8e5e423
  nothing
8e5e423
- Fill the initial comment with the body of the commit message if the PR only
8e5e423
  has one commit (Ryan Lerch)
8e5e423
- Add a plugin/git hook allowing to disable non fast-forward pushes on a branch
8e5e423
  basis
8e5e423
- Fix asynchronous inline comments in PR by fixing the URL to which the form is
8e5e423
  submitted
8e5e423
- Add a plugin/git hook allowing to trigger build on readthedocs.org upon git
8e5e423
  push, with the possibility to restrict the trigger to only certain branches
8e5e423
- Automatically scroll to the highlighted range when viewing a file with a
8e5e423
  selection (Lubomír Sedlář)
8e5e423
- Indicate the project's creation date in the overview page (Anthony Lackey)
8e5e423
- Clear the `preview` field after adding a comment via SSE
8e5e423
- Adjust the unit-tests for the change in behavior in pygments 2.1.3
8e5e423
- Fix listing all the request when the status is True and do not convert to text
8e5e423
  request.closed_at if it is in fact None
8e5e423
- Improved documentation
8e5e423
- Attempt to fix the error `too many open files` on the EventSource Server
8e5e423
- Add a new param to runserver.py to set the host (Ryan Lerch)
8e5e423
- Fix the of the Docs tab and the Fork button with rounded corners (Pedro Lima)
8e5e423
- Expand the information in the notifications message when a PR is updated (Ryan
8e5e423
  Lerch)
8e5e423
- Fix hidding the reply buttons when users are not authenticated (Paul W. Frields)
8e5e423
- Improve the description of the git hooks (Lubomír Sedlář)
8e5e423
- Allow reply to a notification of pagure and setting the reply email address as
8e5e423
  Cc
8e5e423
- In the fedmsg git hook, publish the username of all the users who authored the
8e5e423
  commits pushed
8e5e423
- Add an activity page/feed for each project using the information retrieved
8e5e423
  from datagrepper (Ryan Lerch)
8e5e423
- Fix showing lightweight tags in the releases page (Ryan Lerch)
8e5e423
- Fix showing the list of branches when viewing a file
8e5e423
- Add priorities to issues, with the possibility to filter or sort them by it in
8e5e423
  the page listing them.
8e5e423
- Add support for pseudo-namespace to pagure (ie: allow one '/' in project name
8e5e423
  with a limited set of prefix allowed)
8e5e423
- Add a new plugin/hook to block push containing commits missing the
8e5e423
  'Signed-off-by' line
8e5e423
- Ensure we always use the default email address when sending notification to
8e5e423
  avoid potentially sending twice a notification
8e5e423
- Add support for using the keyword Merge(s|d) to close a ticket or pull-request
8e5e423
  via a commit message (Patrick Uiterwijk)
8e5e423
- Add an UPGRADING.rst documentation file explaining how to upgrade between
8e5e423
  pagure releases
8e5e423
8e5e423
* Tue Mar 01 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.2-1
8e5e423
- Update to 1.2
8e5e423
- Add the possibility to create a comment when opening a pull-request (Clement
8e5e423
  Verna)
8e5e423
- Fix creating PR from a fork directly from the page listing all the PR on the
8e5e423
  main project (Ryan Lerch)
8e5e423
- Color the label showing the issues' status on the issue page and the page
8e5e423
  listing them (Ryan Lerch)
8e5e423
- Add a small padding at the bottom of the blockquote (Ryan Lerch)
8e5e423
- In the list of closed PR, replace the column of the assignee with the date of
8e5e423
  closing (Ryan Lerch)
8e5e423
- Drop font awesome since we no longer use it and compress the png of the 
8e5e423
  current logo (Ryan Lerch)
8e5e423
- Drop the svg of the old logo from the source (Ryan Lerch)
8e5e423
- Add descriptions to the git hooks in the settings page (farhaanbukhsh)
8e5e423
- Fix the pagure git hook
8e5e423
8e5e423
* Wed Feb 24 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.1.1-1
8e5e423
- Update to 1.1.1
8e5e423
- Fix showing some files where decoding to UTF-8 was failing
8e5e423
- Avoid adding a notification to a PR for nothing
8e5e423
- Show notifications correctly on the PR page when received via SSE
8e5e423
8e5e423
* Tue Feb 23 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.1-1
8e5e423
- Update to 1.1
8e5e423
- Sort the release by commit time rather than name (Clerment Verna)
8e5e423
- Add a link to the markdown syntax we support
8e5e423
- Add the possibility to display custom info when creating a new PR
8e5e423
- Improve the title of the issue page
8e5e423
- Make the ssh_info page more flexible so that we can add new info more easily
8e5e423
- Add the possibility to resend a confirmation email when adding a new email
8e5e423
  address
8e5e423
- Encode the email in UTF-8 for domain name supporting it
8e5e423
- Add a button to easily change your avatar in your settings' page (Clement
8e5e423
  Verna)
8e5e423
- Expand our markdown processor to support implicit linking to both PR and
8e5e423
  issues
8e5e423
- Fix running the unit-tests on F23
8e5e423
- Fix deleting in the UI branches containing a slash ('/') in their name
8e5e423
- Add the possibility to always have a merge commit when merging a PR
8e5e423
- Add the project's avatar to the list in front page when authenticated
8e5e423
- Make the dependency on flask-fas-openid (part of python-fedora) optional
8e5e423
- Prevent our customized markdown to create link on foo.com if it doesn't start
8e5e423
  with {f,ht}tp(s) (Clement Verna)
8e5e423
- Bring back the delete ticket button (Ryan Lerch)
8e5e423
- Add the possibility to notify someone when it is mentioned in a comment via
8e5e423
  @username
8e5e423
- Fix setting the default value of the web-hook setting and its display in the
8e5e423
  settings page
8e5e423
- Add the possibility to have templates for the issues
8e5e423
- Add a button on the doc page to open it in a new tab
8e5e423
- Add the concept of notifications on PR allowing to indicate when a PR is
8e5e423
  updated or rebased
8e5e423
- Fix allowing people with non-ascii username to merge PR with a merge commit
8e5e423
- Add the possibility to theme your pagure instance and customized its layout at
8e5e423
  will
8e5e423
- Add the possibility to always see inline-comments even if the file was changed
8e5e423
  since
8e5e423
- Improve the error message given to the user upon error 500 (Patrick Uiterwijk)
8e5e423
- Stop relying on pygit2 to determine if a file is a binary file or not and
8e5e423
  instead use the python library binaryornot
8e5e423
- Store in the DB the identifier of the tree when an inline comment is made to a
8e5e423
  PR, this way it will be simpler to figure out a way to add the context of this
8e5e423
  comment either by email on in the UI
8e5e423
- Add styling to blockquotes so that we see what is the quote and what is the
8e5e423
  answer when replying to someone
8e5e423
- Prevent users from adding again an email pending confirmation
8e5e423
- Fix the preview box for long comment (Ryan Lerch)
8e5e423
- Add the possibility to sort the projects when browsing them (Ryan Lerch)
8e5e423
8e5e423
* Thu Feb 04 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.0.2-1
8e5e423
- Update to 1.0.2
8e5e423
- Rework the PR page (Ryan Lerch)
8e5e423
- Add ssh_info to blacklist in default config (Ryan Lerch)
8e5e423
- Restyle the ssh_info page (Ryan Lerch)
8e5e423
- Fix hiding the preview pane when creating an issue (Ryan Lerch)
8e5e423
- Indicate the number of comments on the PR when listing them (Ryan Lerch)
8e5e423
- Fix showing the links to issues when previewing a comment
8e5e423
- Ensure some more that the page number isn't below 1
8e5e423
- Do not show the edit and delete buttons to everyone when adding a comment via
8e5e423
  SSE
8e5e423
- Update the requirements.txt for a missing dependency on Ubuntu (vanzhiganov)
8e5e423
- Improving sorting the release tags in the release page (Clement Verna)
8e5e423
bd15e78
* Mon Feb 01 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.0.1-1
bd15e78
- Update to 1.0.1
bd15e78
- Improve the fork list (Ryan Lerch)
bd15e78
- Make sure the images on comments do not exceed the size of the comment
bd15e78
  box/area (Ryan Lerch)
bd15e78
- Improve the page listing all issues (Ryan Lerch)
bd15e78
- Include the project information when sending a fedmsg message about editing a
bd15e78
  comment
bd15e78
- Allow  tags in rst files so that the README shows fine
bd15e78
- Fix linking directly to a specific comment in a PR
bd15e78
- Fix adding comment in a PR via SSE
bd15e78
- Fix updating issue information via SSE
bd15e78
- Fix the reply buttons on the issue page
bd15e78
- Remove the choice for a status when creating a new ticket (Farhaandukhsh)
bd15e78
- Fix deleting a branch from the UI
bd15e78
- Make the cards have rounded corners (Sayan Chowdhury)
bd15e78
- Fix showing the description of form field (Vivek Anand)
bd15e78
- Fix checking if the passwords added are the same (for local accounts)
bd15e78
  (Vivek Anand)
bd15e78
- Fix displaying emojis when previewing a comment on a ticket (Clement Verna)
bd15e78
- Add support for emojis when creating a new ticket (Clement Verna)
bd15e78
bd15e78
* Wed Jan 27 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.0-1
bd15e78
- Update to 1.0
bd15e78
- Entirely new UI thanks to the hard work on Ryan Lerch
bd15e78
- Add the possibility to edit comments on PR/Tickets (and the option to disable
bd15e78
  this) (farhaanbukhsh)
bd15e78
- Add the number of open Tickets/PR on the project's menu
bd15e78
- Also allow PRs to be closed via a git commit message (Patrick Uiterwijk)
bd15e78
- Disable issues and PR on forks by default (Vivek Anand)
bd15e78
- Fix deleting the temporary folders we create
bd15e78
- Un-bundle flask_fas_openid (requires python-fedora 0.7.0 or higher
bd15e78
- Add support for an openid backend (ie same thing as FAS but w/o the FPCA
bd15e78
  enforcing)
bd15e78
- Add support to view rst/markdown files as html directly inline (default) or as
bd15e78
  text (Yves Martin)
bd15e78
- Change the encryption system when using pagure with local auth to not be
bd15e78
  time-sensitive and be stronger in general (farhaanbukhsh)
bd15e78
- Change the size of the varchar from 256 to 255 for a better MySQL support
bd15e78
- Add support for pagure to work behind a reverse proxy
bd15e78
- Rename the cla_required decorator to a more appropriate login_required
bd15e78
- Show the in the front page and the page listing all the pull-requests the
bd15e78
  branch for which a PR can be opened
bd15e78
- Rework the avatar to not rely on the ones associated with id.fedoraproject.org
bd15e78
- Add support to high-light a section of code in a PR and show the diff
bd15e78
  automatically if there is such selection
bd15e78
bd15e78
* Mon Dec 14 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.36-1
bd15e78
- Update to 0.1.36
bd15e78
- Add the ssh info on the front page if the repo is empty
bd15e78
- Make the code handling exception be python3 compatible
bd15e78
- Make pagure compatible with F23 (ie: pygit2 0.23.0)
bd15e78
- Fix pagination when rendering the repo blocks (Gaurav Kumar)
bd15e78
- Make the SHOW_PROJECTS_INDEX list what should be showing in the index page
bd15e78
- Adjust pagure to work on recent version of psutils as well as the old one
bd15e78
- Added 'projects' to the blacklisted list of projects (Gaurav Kumar)
bd15e78
- Removed delete icons for non group members on the group info page (Gaurav
bd15e78
  Kumar)
bd15e78
- Fixed forbidden error for PR title editing (Gaurav Kumar)
bd15e78
bd15e78
* Mon Nov 30 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.35-1
bd15e78
- Update to 0.1.35
bd15e78
- Fix the web-hook server by preventing it to raise any exception (rather log
bd15e78
  the errors)
bd15e78
bd15e78
* Mon Nov 30 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.34-1
bd15e78
- Update to 0.1.34
bd15e78
- Fix the encoding of the files we're displaying on the UI
bd15e78
- Fix commenting on the last line of a diff
bd15e78
- Fix returning error message from the internal API (shows the PR as conflicting
bd15e78
  then)
bd15e78
- Fix stacktrace encountered in some repo if the content of a folder is empty
bd15e78
  (or is a git submodule)
bd15e78
- Split the web-hooks into their own server
bd15e78
- If you try to fork a forked project, redirect the user to the fork
bd15e78
- Show the repo from and repo to when opening a new PR
bd15e78
- Add the pagination links at the bottom of the repo list as well
bd15e78
- Add the groups to the pool of users to notify upon changes to a project
bd15e78
- Hide private repo from user who do not have commit access
bd15e78
bd15e78
* Fri Nov 20 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.33-1
bd15e78
- Update to 0.1.33
bd15e78
- Prevent project with a name starting with a non-alphanumerical character
bd15e78
  (Farhaanbukhsh)
bd15e78
- Ensure we appropriately set the private flag when creating an issue
bd15e78
- Add an activity graph on the user profile using datagrepper
bd15e78
- Sometime the identified we get is a Tag, not a commit (fixes traceback
bd15e78
  received by email)
bd15e78
- Order the PR from the most recent to the oldest
bd15e78
- Fix the patch view of a PR when we cannot find one of the commit (fixes
bd15e78
  traceback received by email)
bd15e78
- Allow user that are not admin to create a remote pull-request
bd15e78
- Fix closing the EV server by calling the appropriate variable
bd15e78
- Fix generating the diff of remote pull-request
bd15e78
bd15e78
* Fri Nov 13 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.32-1
bd15e78
- Update to 0.1.32
bd15e78
- Fix the example configuration file
bd15e78
- Make pagure work on MySQL
bd15e78
- Hide sections on the front page only if the user is logged out
bd15e78
- Fix the release page where sometime tags are commits
bd15e78
- Escape the raw html in markdown
bd15e78
- Decode the bytes returned by pygit2 to try to guess if the content is a text
bd15e78
  or not
bd15e78
- Fix the 'Clear' button on the pull-request page (farhaanbukhsh)
bd15e78
- Fix installing pagure in a venv
bd15e78
- Fix uploading images when editing the first comment of a ticket
bd15e78
- Let the author of the merge commit be the user doing the merge
bd15e78
- Suggest the title of the PR only if it has one and only one commit in
bd15e78
- Do not hide sections on the user page if we set some to be hidden on the front
bd15e78
  page
bd15e78
- Forward the head to the commits page to fix the pull-request button
bd15e78
- Ensure we create the git-daemon-export-ok when forking a repo (fixes cloning
bd15e78
  over https)
bd15e78
- Add instructions on how to get pagure working in a venv (Daniel Mach)
bd15e78
- Improve the way we retrieve and check pygit2's version (Daniel Mach)
bd15e78
b0a6cd0
* Tue Oct 13 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.31-1
b0a6cd0
- Forward the bail_on_tree boolean when iterating so that we know how to behave
b0a6cd0
  when we run into a git tree (where we expected a git blob)
b0a6cd0
  -> fixes error received by email
bd15e78
bd15e78
* Tue Oct 13 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.30-1
b0a6cd0
- Fix error received by email by checking the right variable if it is a git tree
b0a6cd0
  or a git blob
b0a6cd0
- Unless we explicitly accept all images tag, always filter them (fixes
b0a6cd0
  attaching images to a ticket)
bd15e78
bd15e78
* Tue Oct 13 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.29-1
b0a6cd0
- Use monospace fonts for online editing as well as comment on tickets and
b0a6cd0
  pull-requests
b0a6cd0
- Fix online editing of symlinked files (such as the README)
b0a6cd0
- Handle potential error when converting from rst to html
bd15e78
bd15e78
* Mon Oct 12 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.28-1
b0a6cd0
- Update to 0.1.28
b0a6cd0
- Fix the call to noJS() in the pull-request template to avoid crashing
b0a6cd0
- Improve the runserver script in the sources
b0a6cd0
- Fix the projects pagination on the index page
b0a6cd0
- Create the git-daemon-export-ok file upon creating a new project/git
b0a6cd0
- Use first line of commit message for PR title when only one commit (Maciej
b0a6cd0
  Lasyk)
b0a6cd0
- Show the tag message near the tag in the release page
b0a6cd0
- Set the default_email when creating a local user account
bd15e78
bd15e78
* Mon Oct 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.27-1
b0a6cd0
- Update to 0.1.27
b0a6cd0
- Skip writing empty ssh keys on disc
b0a6cd0
- Regenerate authorized_keys file on ssh key change (Patrick Uiterwijk)
bd15e78
bd15e78
* Mon Oct 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.26-1
b0a6cd0
- Update to 0.1.26
b0a6cd0
- Let admins close PRs as well
bd15e78
bd15e78
* Mon Oct 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.25-1
b0a6cd0
- Update to 0.1.25
b0a6cd0
- Improve the documentation (especially the part about configuring pagure and
b0a6cd0
  all the options the configuration file supports)
b0a6cd0
- Remove the two trailing empty lines when showing a file online
b0a6cd0
- Add a link on the issue list to be able to filter all the unassigned issues
b0a6cd0
- Rework the layout of the pull-request page
b0a6cd0
- Rework the commit list in the PR page to allow showing the entire commit
b0a6cd0
  message
b0a6cd0
- Let any user create remote pull-request otherwise what's the point?
b0a6cd0
- Add the possibility to edit the title of a pull-request
b0a6cd0
- Add a page listing all the pull-requests of an user (opened by or against)
b0a6cd0
- Add support for multiple ssh-keys (Patrick Uiterwijk)
b0a6cd0
- Ensure the authorized_keys file is generated by gitolite (Patrick Uiterwijk)
b0a6cd0
- Fix the regex for @<username>
b0a6cd0
- Improve the display of renamed files in PR
b0a6cd0
- Add option to disable entirely the user/group management from the UI
b0a6cd0
- Add an updated_on field to Pull-Request
b0a6cd0
- Add an closed_at field to Pull-Request
b0a6cd0
- Allow the submitter of a PR to close it (w/o merging it)
b0a6cd0
- Disable editing a pull-request when that one is closed/merged
b0a6cd0
- Add option to hide by default a part of the index page (ie: all the repos, the
b0a6cd0
  user's repos or the user's forks)
b0a6cd0
- Drop the csrf_token from the error emails sent to the admins
bd15e78
bd15e78
* Tue Sep 08 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.24-1
b0a6cd0
- Update to 0.1.24
b0a6cd0
- Fix changelog to add the -release
b0a6cd0
- Block the  tag on titles
b0a6cd0
- Better fedmsg notifications (for example for new branches or rebase)
b0a6cd0
- Support uploading multiple files at once
b0a6cd0
- Add a load_from_disk utility script to the sources
b0a6cd0
- Fix indentation to the right on very long pull-request
bd15e78
bd15e78
* Sun Aug 30 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.23-1
b0a6cd0
- Update to 0.1.23
b0a6cd0
- Return a 404 error if we can't find the doc repo asked
b0a6cd0
- Fix for #106 Allow setting the default branch of the git repo and in the UI
b0a6cd0
  (Ghost-script)
b0a6cd0
- Improve unit-tests suite
b0a6cd0
- Add a global boolean to disable entirely tickets on all projects of a pagure
b0a6cd0
  instance (with no way to re-set them per project)
b0a6cd0
- Do display uploading a tarball if it is not entirely configured
b0a6cd0
- Ensure we do not offer to reply by email if the milter is not set up
b0a6cd0
- Ensure there is no new line character on the msg-id and improve logging in the
b0a6cd0
  milter
b0a6cd0
- Add a configuration key to globally disable creating projects
b0a6cd0
- Add a configuration key to globally disable deleting projects
b0a6cd0
- Add the possibility to search projects/users
b0a6cd0
- Drop links to the individual commits in a remote pull-request
b0a6cd0
- Input that are cleaned via the noJS filter are safe to be displayed (avoid
b0a6cd0
  double HTML escaping)
b0a6cd0
- When writing the authorized_key file, encode the data in UTF-8
b0a6cd0
- Makes page title easier to find in multi-tab cases (dhrish20)
b0a6cd0
- Fix authorized_keys file creation (Patrick Uiterwijk)
b0a6cd0
- Honor also symlinked README's in repo overview (Jan Pakorný)
b0a6cd0
- Fix the patch generation for remote PR
b0a6cd0
- Fix showing the comment's preview on the pull-request page
b0a6cd0
- Fix bug in checking if a PR can be merged
bd15e78
bd15e78
* Fri Aug 07 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.22-1
b0a6cd0
- Update to 0.1.22
b0a6cd0
- Adjust the README to the current state of pagure
b0a6cd0
- Rework how we integrate our custom tags into markdown to avoid the infinite
b0a6cd0
  loop we run into once in a while
bd15e78
bd15e78
* Wed Aug 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.21-1
b0a6cd0
- Update to 0.1.21
b0a6cd0
- Make SSH protocol explicit for SSH URLs (Till Maas)
b0a6cd0
- Adjust the documentation (layout and content)
b0a6cd0
- Rework the doc server to allow showing html files directly
b0a6cd0
- Fix installing the pagure hook correctly (tickets and requests)
b0a6cd0
- Give proper attribution to the pagure logo to Micah Deen in the documentation
b0a6cd0
- Increase pull request text field lengths to 80 (Till Maas)
b0a6cd0
- Fix who can open a remote PR and the check that the repo allows PR
b0a6cd0
- If there is no commit and no content, it means we didn't find the file: 404
bd15e78
bd15e78
* Wed Jul 29 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.20-1
b0a6cd0
- Update to 0.1.20
b0a6cd0
- Include the tags in the JSON representation of a project
b0a6cd0
- Add the ability to open a pull-request from a git repo not hosted on pagure
b0a6cd0
- Fix pagination when browsing the list of commits
b0a6cd0
- Fix the fork button when viewing the Settings of a project
b0a6cd0
- Adjust the example apache configuration file
b0a6cd0
- Add a favicon with pagure's logo
b0a6cd0
- Fix asynchronous commentting on pull-requests
b0a6cd0
- Start working on some documentation on how to install pagure
b0a6cd0
- Do no flash messages when a comment is submitted via javascript (ie: async)
b0a6cd0
- Do not blink the tittle of the page if the page is already on focus
b0a6cd0
- Retrieve ssh key from FAS and set it up in pagure if none is currently set-up
b0a6cd0
- Fix anchors for comments on the pull-request pages
b0a6cd0
- Fix checking the merge status of a PR when user is not logged in
bd15e78
bd15e78
* Mon Jul 20 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.19-1
b0a6cd0
- Update to 0.1.19
b0a6cd0
- Prettify the JSON stored in the git for tickets/requests... (Simo Sorce)
b0a6cd0
- Use the project name as subject tag in the notifications sent (Simo Sorce)
b0a6cd0
- Add an X-pagure header with either the pagure instance or the project name
b0a6cd0
- Reset the merge status of all the open PR when one is merged
b0a6cd0
- Add a second server listing the number of connections opened on the first
b0a6cd0
  eventsource server
b0a6cd0
- Log the info instead of printing them in the eventsource server
b0a6cd0
- Split the documentation to a different wsgi application to avoid any risk of
b0a6cd0
  cross-site forgery
b0a6cd0
- Fix the JS logic when adding a tag or a dependency to avoid having duplicates
b0a6cd0
  in the input field
b0a6cd0
- Allow deleting a git branch of a project via the UI
b0a6cd0
- Include the font-awesome in the source rather than relying on an external cdn
b0a6cd0
- Do not try to connect to the eventsource server if we're not viewing a
b0a6cd0
  pull-request
b0a6cd0
- Fix showing the first comment made on a PR via the eventsource server
b0a6cd0
- Fix showing the git URLs in the doc server
b0a6cd0
- Much better API documentation (Lei Yang)
b0a6cd0
- Handle showing closed PR that were not merged
b0a6cd0
- Fix refreshing the UI of private tickets via the eventsource (making calls to
b0a6cd0
  the API to get the info while only getting what changed via the SSE)
b0a6cd0
- Fix the anchor links in the API documentation
b0a6cd0
- Blink the tab upon changes in the page
b0a6cd0
- Ensure we close both SSE server when stopping pagure_ev
b0a6cd0
- Let the HTML form trigger if we did not connect to the EV server successfully
b0a6cd0
- The admins of a repo are anyone with commit access to the repo, directly or
b0a6cd0
  via a group
b0a6cd0
- Order the project by names in the front page (instead of creation date)
b0a6cd0
- Add the ability to tag a project
b0a6cd0
- Fix the fedmsg_hook when there are only deletions or only additions
b0a6cd0
- Add a new API endpoint allowing to search projects (by name, author, tag ...)
b0a6cd0
- Make pagure compatible with pygit 0.22.0
b0a6cd0
- Adjust unit-tests for all these changes
bd15e78
bd15e78
* Mon Jun 22 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.18-1
b0a6cd0
- Update to 0.1.18
b0a6cd0
- Fix the eventsource server for CORS
b0a6cd0
- Fix showing/checking the merge status of a PR
bd15e78
bd15e78
* Mon Jun 22 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.17-1
b0a6cd0
- Update to 0.1.17
b0a6cd0
- Fix for missing docs of API issue add comment (Kunaal Jain)
b0a6cd0
- Fix the systemd init file
b0a6cd0
- Be more careful about the URL specified, it may be of the wrong format in the
b0a6cd0
  eventsource server
b0a6cd0
- Allow configuring the port where the event source server runs in the
b0a6cd0
  configuration
b0a6cd0
- Fix bug in filter_img_src introduced with its moved to the backend library
bd15e78
bd15e78
* Thu Jun 18 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.16-1
b0a6cd0
- Update to 0.1.16
b0a6cd0
- Clone all the remote branches when cloning a project
b0a6cd0
- Allow online editing to a new branch or any of the existing ones
b0a6cd0
- Allow the 
html tags in markdown
b0a6cd0
- Add eventsource support in the ticket and pull-request pages
bd15e78
bd15e78
* Tue Jun 16 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.15-1
b0a6cd0
- Update 0.1.15
b0a6cd0
- Use a monospace font for the commit hash
b0a6cd0
- Remove duplicated "commit" id in the HTML (causing a graphical bug in the
b0a6cd0
  commit page)
b0a6cd0
- Secure the input using the no_js filter instead of relying on a restrictive
b0a6cd0
  regex for PR and issue titles
b0a6cd0
- Support ',' in the tags field since it's required to specify multiple tags
bd15e78
bd15e78
* Fri Jun 12 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.14-1
b0a6cd0
- Update to 0.1.14
b0a6cd0
- Remove all new lines characters from the ssh key uploaded
b0a6cd0
- Adjust the URL in the footer to point to https://pagure.io/pagure
b0a6cd0
- Fix displaying the time of a comment
b0a6cd0
- Forbid the use of spaces in group name
b0a6cd0
- Do not get the list of not-merged commits if there is only 1 branch in the
b0a6cd0
  repo
b0a6cd0
- Display the error message if pagure.lib.add_group raises an exception
b0a6cd0
- Add a new setting enforcing that all commits in a PR are signed-off by their
b0a6cd0
  author
b0a6cd0
- Enforce that all commits are signed-off by the author if the repo is
b0a6cd0
  configured for this
b0a6cd0
- Also check for the signed-off status before merging a pull-request
b0a6cd0
- Adjust online-editing to allow specifying which email address to use in the
b0a6cd0
  commit
b0a6cd0
- Add an avatar_email field to projects
b0a6cd0
- Change the PullRequest's status from a Boolean to a Text restricted at the DB
b0a6cd0
  level (Allows to distinguish Open/Merged/Closed)
b0a6cd0
- Show in the pull-request view who merged the pull-request
b0a6cd0
- Specify who closed the pull-request in the API output
b0a6cd0
- Catch GitError when merging and checking merge status of a PR
b0a6cd0
- Hide the form to create pull-requests if the user is not an admin of the repo
b0a6cd0
- Replace the Pull-Request button by a Compare button if the user it not a repo
b0a6cd0
  admin
b0a6cd0
- Set the title of the tab as URL hash to allow directly linking to it
b0a6cd0
- Adjust the API to be able to distinguish API authentication and UI
b0a6cd0
  authentication
b0a6cd0
- Fix API documentation to create new issues
b0a6cd0
- Drop the status from the requirements to open a new issue via the API
b0a6cd0
- Expand the list of blacklisted project names
b0a6cd0
- Have the code tags behave like pre tags (html tags)
b0a6cd0
- Allow project to specify an URL and display it on their page
b0a6cd0
- Strip the ssh keys when writing them to the authorized_keys file
b0a6cd0
- Disable javascript in all the markdown fields
b0a6cd0
- Validate early the input submitted in the forms (using more or less strict
b0a6cd0
  regex)
b0a6cd0
- If the session timed-out, redirect to the setting page after authentication
b0a6cd0
  and inform the user that the action was canceled
b0a6cd0
- Catch PagureException when adjusting the project's settings
b0a6cd0
- Redirect the /api endpoint to the api documentation place
b0a6cd0
- Fix how is retrieved the list of emails to send the notification to
b0a6cd0
- Sanitize the html using bleach to avoid potential XSS exploit
b0a6cd0
- Do not give READ access to everyone on the tickets and pull-requests repos to
b0a6cd0
  avoid leaking private tickets
b0a6cd0
- Adjust the unit-tests for all these changes
bd15e78
bd15e78
* Fri Jun 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.13-1
b0a6cd0
- Update to 0.1.13
b0a6cd0
- Do not show the edit button if the user cannot edit the file
b0a6cd0
- Fix who is allowed to drop comments
b0a6cd0
- Fix showing the drop comment button on issue comments
b0a6cd0
- Fix creating the pull-request for fast people like @lmacken
b0a6cd0
- Display the target of the PR as well as the origin in the PR page
b0a6cd0
- Limit the size of the lists on the front page
bd15e78
bd15e78
* Fri Jun 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.12-1
b0a6cd0
- Update to 0.1.12
b0a6cd0
- Fix the URL where the sources upload are done
b0a6cd0
- Upload the new sources under the project's name (be it project or
b0a6cd0
  user/project)
bd15e78
bd15e78
* Fri Jun 05 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.11-1
b0a6cd0
- Update to 0.1.11
b0a6cd0
- Another fix for the fedmsg_hook git hook
b0a6cd0
- Adjust how we display the README page to avoid XSS there as well
b0a6cd0
- Add the possibility to disable plugins via the configuration file
b0a6cd0
- Present the git tags in the UI
b0a6cd0
- As soon as the API user present a token, validate it or not, even if the
b0a6cd0
  endpoint would work without token
b0a6cd0
- Integrate alembic for DB scheme migration
b0a6cd0
- Cache the PR's merge status into the DB
b0a6cd0
- Only people with access to the project can add/remove API token
b0a6cd0
- Make the unit-tests run on bare repos as in prod
b0a6cd0
- First stab at online editing
b0a6cd0
- Simplify the API output to drop the project's settings where it doesn't
b0a6cd0
  make sense
b0a6cd0
- First stag at allowing upstream to upload their release to pagure
b0a6cd0
- Fix merging a PR into another branch than master
b0a6cd0
- Reduce code duplication when checking if a PR can be merged or merging it
b0a6cd0
- Code style clean-up
bd15e78
bd15e78
* Tue Jun 02 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.10-1
b0a6cd0
- Update to 0.1.10
b0a6cd0
- Add support for URL ending with a trailing slash where it makes sense (so
b0a6cd0
  we support both with and without trailing slash)
b0a6cd0
- Fix XSS issue by disabling <script> tags in the documentation pages
b0a6cd0
- Expend the unit-test suite for the api.project controller
b0a6cd0
- Add the possibility for 3rd party apps to 'flag' a pull-request with for
b0a6cd0
  example the result of a build
b0a6cd0
- Handle the situation where there are multiple branch of the same name in
b0a6cd0
  the same repo
b0a6cd0
- Fix the color of the link on hover when displayed within a tab view
b0a6cd0
  (for example in the PR pages)
b0a6cd0
- Redirect the user to the pull-request created after its the creation
b0a6cd0
- Do not leak emails over fedmsg
b0a6cd0
- Fix the fedmsg_hook plugin
bd15e78
bd15e78
* Fri May 29 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.9-1
b0a6cd0
- Update to 0.1.9
b0a6cd0
- Initial API work
b0a6cd0
- Document the initial API
b0a6cd0
- Fix the CSS to present the links correctly
b0a6cd0
- Add new API endpoint to list the git tags of a project
b0a6cd0
- Ensure the DB is updated regarding the start and stop commits before merging
bd15e78
bd15e78
* Wed May 27 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.8-1
b0a6cd0
- Update 0.1.8
b0a6cd0
- Add the possibility to do Asynchronous in-line comment posting
b0a6cd0
  (Patrick Uiterwijk)
b0a6cd0
- Handle the situation where the branch asked is not found in the git repo
b0a6cd0
- Handle the situation where we cannot find a desired commit
b0a6cd0
- Do not display a value in the settings page if there are none
b0a6cd0
- Rework the pull-request view to move the list of commits into a tab
b0a6cd0
- Make email sending optional (Patrick Uiterwijk)
bd15e78
bd15e78
* Fri May 22 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.7-1
b0a6cd0
- Update to 0.1.7
b0a6cd0
- Drop debugging code on the milter and the hooks
b0a6cd0
- Adjust the search_issues method to support filter for some tags, excluding
b0a6cd0
  some others (for example ?tags=easfix&tags=!0.2)
b0a6cd0
- Support groups when searching an user's projects (ie: finding the projects an
b0a6cd0
  user has access to via the group their are in)
b0a6cd0
- Do not load the git repo from the FS when loading an user's page
b0a6cd0
- Present and document the SSH keys in a dedicated documentation page
b0a6cd0
1b4677e
* Wed May 20 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.6-1
1b4677e
- Update to 0.1.6
1b4677e
- Fix sending notification emails to multiple users, avoid sending private into
1b4677e
  to all of them
1b4677e
1b4677e
* Tue May 19 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.5-1
1b4677e
- Update to 0.1.5
1b4677e
- Bug fix on the milter and the internal API endpoint
1b4677e
1b4677e
* Tue May 19 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.4-1
1b4677e
- Update to 0.1.4
1b4677e
- Fix loading requests and tickets from git (allows syncing projects between
1b4677e
  pagure instances)
1b4677e
- Add to the template .wsgi file a way to re-locate the tmp folder to work
1b4677e
  around a bug in libgit2
1b4677e
- Fix unit-tests suite
1b4677e
- Adjust the spec file to install all the files required for the milters
1b4677e
- Fix the `View` button on the pull-request pages
1b4677e
8d0478a
* Wed May 13 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.3-1
8d0478a
- Update to 0.1.3
8d0478a
- Add support for gitolite3
8d0478a
- Fix unit-tests suite to work on jenkins
8d0478a
8d0478a
* Sat May 09 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.2-2
8d0478a
- Fix the Requires on the milter subpackage (adding: post, preun and postun)
8d0478a
- Add systemd scriptlet to restart the service gracefully
8d0478a
- Use versioned python macro (py2)
8d0478a
- Ship the license in the milter subpackage as well
8d0478a
- Use the %%license macro
8d0478a
8d0478a
* Thu May 07 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.2-1
8d0478a
- Update to 0.1.2
8d0478a
- Fix bug in the fedmsg hook file (Thanks Zbigniew Jędrzejewski-Szmek)
8d0478a
8d0478a
* Wed May 06 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.1-1
8d0478a
- Update to 0.1.1
8d0478a
- Port to python-munch and list it in the dependencies
8d0478a
- Fix exporting patch when they contain unicode characters or accent
8d0478a
- After creating an issue, user is brought back to the new issue page
8d0478a
- Fix unit-tests
8d0478a
- Stop the pagure hook if the user is deleting a branch (no need to run through
8d0478a
  all the commits of that branch)
8d0478a
- Fix the requirements.txt file (Sayan Chowdhury)
8d0478a
- Fix the tree page to show the commit sha on its proper line (Sayan Chowdhury)
8d0478a
- Fix typo in the form of some of the plugin (Sayan Chowdhury)
8d0478a
- Improve the README (Sayan Chowdhury)
8d0478a
- Fix highlighting the commits tab when accessing it (Sayan Chowdhury)
8d0478a
8d0478a
* Mon May 04 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1-1
8d0478a
- First official release: 0.1
8d0478a
8d0478a
* Thu Apr 02 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.0-1.20150402
8d0478a
- Cut a RPM for testing on Thu Apr 2nd 2015
8d0478a
8d0478a
* Wed Oct 08 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.0-1.20141008
8d0478a
- Initial packaging work for Fedora