林檎
95f22aa4b5
add drop shadow to distinct the fixed area
2017-04-26 17:14:18 +08:00
林檎
f6076bc337
media tweak for better download placement
2017-04-26 17:14:18 +08:00
林檎
720c07b9ee
remove empty style
2017-04-26 17:14:18 +08:00
林檎
45eeb6588a
Change Download Style.
2017-04-26 17:14:18 +08:00
林檎
b51afe3ead
Code Fix
...
Fix pagination logic.
_ is gettext , use __ as dummy variable instead of _
Need more test.
Test on following
http://localhost:8083/opds/new
http://localhost:8083/opds/new?offset=60
http://localhost:8083/opds/new?offset=120
2017-04-14 21:57:27 +08:00
林檎
622b1435f1
Fix #172
2017-04-06 22:50:05 +08:00
林檎
ebb3acecca
Fix Download Bug.
2017-03-29 12:59:20 +08:00
林檎
2ef4933f7a
Merge branch 'feature/download-suffix-20170309' into travis
...
# Conflicts:
# cps/templates/detail.html
2017-03-09 12:38:55 +08:00
林檎
045419e880
Fix #146
...
For WebUI only
OPDS remains previous behaviour
2017-03-09 12:32:10 +08:00
林檎
a766784ef1
Merge branch 'feature/download-suffix-20170308' into travis
2017-03-09 12:19:46 +08:00
林檎
d7d29827f4
fix behind
2017-03-08 23:59:56 +08:00
林檎
7bae79d826
fix conflict
2017-03-08 23:56:20 +08:00
林檎
a7d361a0ff
merge conflict
2017-03-08 23:52:41 +08:00
林檎
dcc0958c39
Merge branch 'master' into travis
...
# Conflicts:
# cps/epub.py
# cps/web.py
# readme.md
2017-03-08 23:50:14 +08:00
林檎
8c625dfb93
Fix #146
...
For WebUI only
OPDS remains previous behaviour
2017-03-08 13:56:13 +08:00
林檎
d7afbdc349
use quote instead of urllib.quote
2017-03-08 13:26:52 +08:00
林檎
108302ff9b
remove dependency on future function
...
no need six or future if there is only one function.
2017-03-08 11:48:12 +08:00
林檎
53cc84ec18
#fix 148
2017-03-07 16:32:55 +08:00
林檎
7a14101d6f
Merge branch 'master' into travis
...
# Conflicts:
# cps/helper.py
# cps/web.py
2017-03-07 13:33:27 +08:00
林檎
07ad73caca
Merge branch 'fix/syntax-python3-20170305' into travis
2017-03-06 20:06:00 +08:00
林檎
297a08cd5f
xrange fix
...
range to xrange
2017-03-06 19:47:58 +08:00
林檎
dc985e76df
python3 fix
2017-03-06 18:23:33 +08:00
林檎
3421db2096
Merge branch 'fix/attachment-patch-20170305' into travis
2017-03-06 18:22:02 +08:00
林檎
0c9eacb024
fix opds
2017-03-06 16:35:00 +08:00
林檎
376eb8752e
wrong conflict merge
2017-03-06 14:46:44 +08:00
林檎
5bd34ba6a9
Merge branch 'fix/syntax-python3-20170305' into travis
2017-03-06 14:36:13 +08:00
林檎
197f396e16
validate need include in vendor
...
PyPi version doesn’t support Python3
2017-03-06 14:35:28 +08:00
林檎
547f3c3456
double requirement fix
2017-03-06 14:31:13 +08:00
林檎
fca1fc23da
double requirement fix
2017-03-06 14:30:45 +08:00
林檎
3369972073
Merge branch 'fix/syntax-python3-20170305' into travis
...
# Conflicts:
# cps/epub.py
# cps/web.py
2017-03-06 14:27:18 +08:00
林檎
4dfa157161
use condition rather than try/catch
2017-03-06 13:42:00 +08:00
林檎
6e3d4877ed
Change exception from legacy code.
...
Change all except: clause to except Exception as e: for further revise.
2017-03-06 11:53:17 +08:00
林檎
0bc4f52783
Fix except clause
...
except: will catch specific error.
2017-03-06 11:44:54 +08:00
林檎
cf4816fc13
download dependency modules to vendor if you want.
2017-03-05 23:21:38 +08:00
林檎
d45ecfafcc
Missing site for File validate module
2017-03-05 23:15:43 +08:00
林檎
d06f7979c9
byebye vendor lib
2017-03-05 23:01:34 +08:00
林檎
80bcf131ee
add requirement.txt
2017-03-05 22:53:59 +08:00
林檎
1da3b57f5a
no need future module for python2
...
fix missing StringIO
2017-03-05 19:23:49 +08:00
林檎
bf8688fee1
missing urllib migration
2017-03-05 18:48:59 +08:00
林檎
da8d0c2a9f
Merge branch 'fix/syntax-python3-20170305' into travis
2017-03-05 18:19:38 +08:00
林檎
c3fd205b7d
fix /stat
2017-03-05 18:18:22 +08:00
林檎
b70191ca2a
Least change to adapt with python3
...
change some syntax
- except clause
- unicode -> bulitins.str
- sqllite uri
- fix import local path
- 01 to 1 (0 is meaningless)
add module
- future
- builtins (from future)
- imp (python3 )
- past (from future)
- sqlalchemy (update one)
refer to
http://python-future.org/compatible_idioms.html
2017-03-05 17:40:39 +08:00
林檎
f315d54c87
fix yams
2017-03-05 15:56:27 +08:00
林檎
d56d67ce43
Fix bash
2017-03-05 15:55:10 +08:00
林檎
5bd93186c2
Fix shell script bug
2017-03-05 15:51:20 +08:00
林檎
3a9a327957
Fix build script
2017-03-05 15:43:56 +08:00
林檎
2c32696417
Merge branch 'fix/slugify-filename-20170305' into travis
2017-03-05 15:36:07 +08:00
林檎
35b9e423ec
Merge branch 'fix/attachment-patch-20170305' into travis
2017-03-05 15:35:57 +08:00
林檎
9ca88840eb
“-“ is removed at helper ,
...
so use “_” instead
2017-03-05 15:30:35 +08:00
林檎
e845bdbd56
Fix attachment filename
...
File attachment should be url encode rather than utf-8 format
2017-03-05 00:28:37 +08:00
林檎
6d687a517c
Merge branch 'refactor/patch-bookmeta-20170304' into travis
2017-03-04 16:09:37 +08:00
林檎
a850e64bfb
Refactor cover detection
...
obsolate hardcode %cover_id%= ‘cover’ in <pkg:item name=%cover_id% href=%coverfile%>
now %cover_id% retrieve from <meta name=“cover” content=%cover_id%>
2017-03-04 15:48:59 +08:00
林檎
29f21480ab
Reuse original code logic.
...
iteration loop dc:* add dc:language
removal of bookmeta[‘comments’] , reusing bootmeta[‘description’]
2017-03-04 15:37:30 +08:00
林檎
622a2fc4b8
Merge branch 'master' into travis
2017-03-04 13:15:56 +08:00
林檎
1a10859a57
When upload pub, add description to comment accord opf file
2017-03-03 12:50:06 +08:00
林檎
d5e525305d
Lower case text, some epub have uppercased which is beyond iso639 standard.
2017-03-02 23:20:37 +08:00
林檎
13b4ae4c24
more error adaptive
2017-03-02 23:15:15 +08:00
林檎
879510da82
Upload support detection of language
2017-03-02 22:57:02 +08:00
林檎
4afb486986
add languages field for BookMeta
2017-03-02 19:59:35 +08:00
林檎
6caf132fef
init travis
2017-03-02 18:31:21 +08:00
林檎
c439f5088c
ignore kindlegen in vendor folder
2017-03-01 17:42:56 +08:00
林檎
583380e71a
path join bug
...
, instead of + because get_main_dir is not endswith os.sep
2017-03-01 17:20:58 +08:00
林檎
9a2877ebd5
situation when opf file content is
...
<meta name="cover" content="cover.jpg"/>
2017-03-01 14:36:31 +08:00
林檎
7972b987d4
Read img tag of cover file if cover is (x)html
...
for example
‘<item id="cover" href="Text/cover.xhtml" media-type="application/xhtml+xml”/>’
2017-03-01 13:18:14 +08:00