eric
14346ed868
delint
2019-03-27 21:46:25 -04:00
eric
e563da9655
refactor lang validation
2019-03-27 21:22:37 -04:00
eric
6535505e4d
Revert "Merge branch 'master' into master"
...
This reverts commit bd52df020d
, reversing
changes made to e455d9a766
.
2018-11-03 17:23:07 -04:00
eshellman
bd52df020d
Merge branch 'master' into master
2018-11-03 17:06:09 -04:00
eric
ebc1e2e8f9
group writable logs
...
log needs to be writable by both www-data (running from apache) and ubuntu (running during settup or celery) users
2018-08-01 20:07:55 -04:00
eric
3661faec0a
Merge remote-tracking branch 'Gluejar/master' into catchup
...
# Conflicts:
# core/models/__init__.py
# core/models/bibmodels.py
# vagrant/host_vars/prod/secrets.yml
2018-05-23 13:56:27 -04:00
John Kelly
38e151224d
Add ansible role to provision production server
...
Add new ansible role which provisions production instance based on newfoundation branch.
2018-05-13 18:55:29 -04:00
eric
39fdd9683a
rip out dead code
2018-04-19 12:24:34 -04:00
eric
a6039e4015
better handling of language codes
2018-04-13 14:39:03 -04:00
eric
cf093c945d
add some custom code for ubiquity press sites
2017-12-23 18:29:16 -05:00
eric
db97a98ae8
https
2017-07-27 10:33:13 -04:00
eric
d95f81030f
add sanitization code to edition form
2016-10-20 15:24:47 -04:00
eric
8f3957dc14
allow blank ISBN
...
version in production throws invalid isbn exception
made sure you can't delete an id if the edition is left id-les
fixed bug where using an existing id omits admin setting
2014-08-06 10:59:16 -04:00
eric
21ac432d09
isbn input now accepts dashes and isbn10, fixes bad check digits
2014-07-04 20:29:42 -04:00
eric
e5a162061d
only epub files to be uploaded for now
2013-08-26 23:54:19 -04:00
Raymond Yee
03a751626e
Stepping stone to tests that will allow the adjustment of localdatetime.now() so that we can simulate campaign closing
2012-11-15 14:37:04 -08:00
Raymond Yee
9b2693ed8b
[ #29272807 ] Implementation of an encrypted keystore as core.models.Key
...
NOTE MIGRATION needed
* Immediate reason for this implementation is to make it harder for our AWS keys to be compromised -- this will allow us to store them in encrypted (AES 256) form in the db, which will require ability to run mysql on the EC2 instance
* depends on a Django settings.SECRET_KEY, which for now, we might store in settings/local.py -- we could get fancier about how to serve that up
2012-05-08 16:08:36 -07:00
Raymond Yee
723f329e20
PayPal doesn't like iso formatted times using offsets if the offsets are different, as when the two timestamps are on the opposite side of a daylight savings shift. --> switch to sending Zulu time (time formatted in UTC with Z suffix)
2012-03-26 15:02:26 -07:00
Raymond Yee
6bd003b0c6
It turns out that we were sending "naive" timestamps to PayPal....now passing isoformat() of timezone aware versions of timestamp to PayPal
...
Added a isoformat method to regluit.utils.localdatetime to handle both naive and aware datetimes
2012-03-12 15:42:20 -07:00
Raymond Yee
b8df94cb46
Added various routines to help deal with naive and timezone aware datetimes and conversions between the default time zone and UTC
2012-03-09 16:57:17 -08:00
Raymond Yee
feef3935d0
Adding a settings.LOCALDATETIME_NOW to allow for the computed current time to be changed for unglue.it -- useful for testing only! [ #22561067 ]
2012-03-09 10:34:14 -08:00
Raymond Yee
a252f9d173
[ #22561067 ] Implemented regluit.utils.localdatetime.now is by default datetime.datetime.now() (in Django 1.3) and django.utils.timezone.now() in Django 1.4+
...
One overrides regluit.utils.localdatetime._now to do "time travel" -- useful for testing scenarios requiring time changes (such as Campaigns)
Get rid of call references to datetime.datetime.now() or utcnow() and datetime.date.today() in favor of regluit.utils.localdatetime.now() and date_today().
2012-03-09 00:45:39 +00:00