mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-09 11:42:28 +01:00
Merge branch 'master' into link_table_indexes
This commit is contained in:
commit
099c06aa18
@ -2,10 +2,12 @@
|
||||
|
||||
:aerial_tramway: A modern, minimalist, and lightweight URL shortener.
|
||||
|
||||
[![GitHub license](https://img.shields.io/badge/license-GPLv2%2B-blue.svg)]()
|
||||
[![GitHub license](https://img.shields.io/badge/license-GPLv2%2B-blue.svg)]()
|
||||
[![GitHub release](https://img.shields.io/github/release/cydrobolt/polr.svg)](https://github.com/cydrobolt/polr/releases)
|
||||
[![Builds status](https://travis-ci.org/cydrobolt/polr.svg)](https://travis-ci.org/cydrobolt/polr)
|
||||
[![Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://polr.readthedocs.org/en/latest/)
|
||||
|
||||
|
||||
Polr is an intrepid, self-hostable open-source link shortening web application with a robust API. It allows you to host your own URL shortener, to brand your URLs, and to gain control over your data. Polr is especially easy to use, and provides a modern, themable feel.
|
||||
|
||||
[Getting Started](http://docs.polr.me/en/latest/user-guide/installation/) - [API Documentation](http://docs.polr.me/en/latest/developer-guide/api/) - [Contributing](https://github.com/cydrobolt/polr/blob/master/.github/CONTRIBUTING.md) - [Bugs](https://github.com/cydrobolt/polr/issues) - [IRC](http://webchat.freenode.net/?channels=#polr)
|
||||
|
@ -1,3 +1,9 @@
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
text-transform: none !important;
|
||||
}
|
||||
|
||||
img {
|
||||
/* Force auto height & width to prevent deformed images on mobile */
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
![Polr Logo](logo.png)
|
||||
|
||||
[![GitHub license](https://img.shields.io/badge/license-GPLv2%2B-blue.svg)](about/license)
|
||||
[![GitHub release](https://img.shields.io/badge/stable-2.1.1-green.svg)](https://github.com/cydrobolt/polr/releases)
|
||||
[![GitHub release](https://img.shields.io/github/release/cydrobolt/polr.svg)](https://github.com/cydrobolt/polr/releases)
|
||||
|
||||
Polr is a beautiful, modern, lightweight, and minimalist open-source URL shortening application. It allows you to host your own URL shortener, to brand your URLs, and to gain control over your data. Polr is especially easy to use, and provides a modern, themable interface.
|
||||
|
@ -1,8 +1,11 @@
|
||||
import re, datetime, string, random
|
||||
|
||||
print "New version name (e.g 2.0.0):"
|
||||
print "> New version name (e.g 2.0.0):"
|
||||
new_version = raw_input()
|
||||
|
||||
print "> Is this a stable release? [y, n]"
|
||||
is_stable = raw_input()
|
||||
|
||||
with open('.env.setup', 'r+') as setup_env:
|
||||
setup_env_lines = setup_env.read()
|
||||
now = datetime.datetime.now()
|
||||
@ -12,7 +15,7 @@ with open('.env.setup', 'r+') as setup_env:
|
||||
# Update setup key
|
||||
setup_env_lines = re.sub(r'(?is)APP_KEY=[^\n]+', 'APP_KEY={}'.format(new_setup_key), setup_env_lines)
|
||||
# Update date and release in setup env
|
||||
setup_env_lines = re.sub(r'(?is)VERSION=[0-9a-zA-Z\.]+', 'VERSION={}'.format(new_version), setup_env_lines)
|
||||
setup_env_lines = re.sub(r'cVERSION=[0-9a-zA-Z\.]+', 'VERSION={}'.format(new_version), setup_env_lines)
|
||||
setup_env_lines = re.sub(r'(?is)VERSION_RELMONTH=\w+', 'VERSION_RELMONTH={}'.format(now.strftime('%B')), setup_env_lines)
|
||||
setup_env_lines = re.sub(r'(?is)VERSION_RELDAY=\w+', 'VERSION_RELDAY={}'.format(now.day), setup_env_lines)
|
||||
setup_env_lines = re.sub(r'(?is)VERSION_RELYEAR=\w+', 'VERSION_RELYEAR={}'.format(now.year), setup_env_lines)
|
||||
|
Loading…
Reference in New Issue
Block a user