Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature python3 #105

Open
wants to merge 170 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
89d1fd5
remove cookie and log
M3te0r Jun 2, 2020
bdeee77
jwt exception
M3te0r Jun 2, 2020
466e2db
Desactivate git patch and static history
M3te0r Feb 5, 2020
e34af8f
deactivated by default
M3te0r Oct 6, 2020
2c8c189
Merge pull request #12 from bepatient-fr/descativate_git_patch_and_st…
M3te0r Nov 19, 2020
9c6b798
(#MOBI-4403) Revamp log system
M3te0r Oct 12, 2020
34638ed
(#MOBI-4403) update some prints
M3te0r Oct 13, 2020
acc52cc
(#MOBI-4403) imports
M3te0r Oct 13, 2020
2fb2c82
(#MOBI-4403) fix logger name
M3te0r Oct 13, 2020
bf64144
(#MOBI-4403) debug
M3te0r Oct 13, 2020
b73a7af
(#MOBI-4403) fix TB
M3te0r Oct 13, 2020
6f9a5d2
(#MOBI-4403) update obsolete syntax
M3te0r Oct 14, 2020
1671999
(#MOBI-4403) update obsolete syntax
M3te0r Oct 14, 2020
73adabc
(#MOBI-4403) fix
M3te0r Oct 14, 2020
add959f
(#MOBI-4403) update requirements.txt
M3te0r Oct 14, 2020
5651029
(#MOBI-4403) update requirements.txt
M3te0r Oct 14, 2020
429e00d
(#MOBI-4403) remove commented parts
M3te0r Nov 19, 2020
29e1779
Merge pull request #13 from bepatient-fr/mobi_4403_revamp_log_system
M3te0r Nov 19, 2020
101ddf2
(#MOBI-4403) fix import
M3te0r Nov 19, 2020
3aa3ffa
Merge pull request #14 from bepatient-fr/fix_imports
M3te0r Nov 19, 2020
210e667
(#MOBI-4403) fix select_language
M3te0r Nov 26, 2020
7e27ddb
Handle MPO (JPEG like) image format
M3te0r Dec 10, 2020
9a5e58d
fix lru_cache iteritems usage
M3te0r Apr 1, 2021
d708070
(#MOBI-5212) improve newjsonencoder + fix Empty element closing
M3te0r Mar 25, 2021
06313ff
Merge pull request #17 from bepatient-fr/mobi_5212_resources_metadat_…
M3te0r May 11, 2021
de02211
(#MOBI-5728) Upgrade to xapian glass backend
M3te0r Aug 11, 2021
554da08
(#MOBI-5728) Flush catalog
M3te0r Aug 11, 2021
f55d79d
init_backend method
M3te0r Aug 12, 2021
22d3719
Merge pull request #19 from bepatient-fr/mobi_migrate_to_glass_backend
M3te0r Aug 19, 2021
98f03fb
Bump deps
M3te0r Sep 13, 2021
9b75f23
Bump deps
M3te0r Sep 13, 2021
1915250
Database: Do not open worktree if GIT is desactivated
M3te0r Dec 16, 2021
c6decf1
Revert commit every 200, it's unstable
M3te0r Jan 10, 2022
82aaddc
change some primitive encoding and decoding
JamesTOMBI Dec 30, 2021
5e22e11
add some comments
JamesTOMBI Jan 3, 2022
aaeb600
(#MOBI-6291) Move encryption logic too itools on lower level parts (p…
M3te0r Jan 12, 2022
72bf0be
(#MOBI-6291) Fix
M3te0r Jan 12, 2022
9cc719c
(#MOBI-6291) Use Fernet instead of low level crypto API
M3te0r Jan 12, 2022
a4e5023
(#MOBI-6291) fix attempt
M3te0r Jan 12, 2022
b5e3105
(#MOBI-6291) fix attempt
M3te0r Jan 12, 2022
4ac8761
Merge pull request #20 from bepatient-fr/mobi_6291_feature_data_encry…
M3te0r Jan 14, 2022
7ab5db8
(#MOBI-6291) FIx datatype, can't use get_datatype
M3te0r Jan 14, 2022
67c08e6
Change of package import path
elieterrien Jan 21, 2022
eecb02d
Change of package import path
elieterrien Jan 24, 2022
1e38d0f
Update client example. RWDatabase is in databaase package
elieterrien Jan 26, 2022
5f65087
handling Exception and Print
elieterrien Jan 26, 2022
998861a
Core package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
1814aca
CSV package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
1114ed0
Database package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
e8b578f
Primitive package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
0117eb5
FS package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
172a013
gettext package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
4e66ad5
handlers package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
714c42b
html package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
2fefbe4
i18n package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
6322aa6
ical package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
0368ce6
loop package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
cf2560a
odf package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
aae44ea
office package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
7ee6503
pdf package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
b29f455
pkg package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
dd4c964
python package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
43c5154
relaxng package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
69e97d8
rss package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
b2c03d8
srx package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
b9e38ca
stl package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
ae43923
tmx package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
72956d8
uri package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
05930a1
validators package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
6d365b5
vweb package 2to3 and PEP8 first pass
elieterrien Jan 26, 2022
42981ed
Add fix message
elieterrien Jan 28, 2022
875c1de
Fix py3 parser
MustafaBP Jan 28, 2022
1f1208f
Merge pull request #21 from bepatient-fr/fix_parser_py3
elterrien Jan 28, 2022
50c0bdf
itools.xml fix some compilation warnings
jdavid Feb 4, 2022
9832138
itools.xml fix relative import of parser
jdavid Feb 4, 2022
02e6fbf
Fix warning: Unknown distribution option: 'install_requires'
jdavid Feb 4, 2022
757e011
itools.xml now returns text strings (unicode)
jdavid Feb 4, 2022
cc1734f
itools.xml Fix "returned a result with an error set"
jdavid Feb 4, 2022
f13b702
Fix itools.xml.parser C module initialization
jdavid Feb 4, 2022
216e9ba
Add pillow to requirements
jdavid Feb 4, 2022
6508e5f
Merge pull request #22 from jdavid/bepatient-py3
elterrien Feb 4, 2022
1d41d6d
Python 3 Test files
elieterrien Feb 8, 2022
6995372
Python 3 core module
elieterrien Feb 8, 2022
2adad91
Python 3 csv module
elieterrien Feb 8, 2022
29484f8
Python 3 database module
elieterrien Feb 8, 2022
19fde60
Python 3 datatype module
elieterrien Feb 8, 2022
c7fd391
Python 3 fs module
elieterrien Feb 8, 2022
ae39394
Python 3 gettext module
elieterrien Feb 8, 2022
fe792b2
Python 3 handlers module
elieterrien Feb 8, 2022
308b00b
Python 3 html module
elieterrien Feb 8, 2022
a5df66b
Python 3 i18n module
elieterrien Feb 8, 2022
6f44a4e
Python 3 ical module
elieterrien Feb 8, 2022
490bfeb
Python 3 odf module
elieterrien Feb 8, 2022
22c0d4f
Python 3 office module
elieterrien Feb 8, 2022
7da16c6
Python 3 pkg module
elieterrien Feb 8, 2022
0d1f8d1
Python 3 python module
elieterrien Feb 8, 2022
d74f8f5
Python 3 relaxng module
elieterrien Feb 8, 2022
119e802
Python 3 srx module
elieterrien Feb 8, 2022
f9b1ae3
Python 3 stl module
elieterrien Feb 8, 2022
6711159
Python 3 tmx module
elieterrien Feb 8, 2022
2faafe5
Python 3 uri module
elieterrien Feb 8, 2022
b5c4a23
Python 3 validators module
elieterrien Feb 8, 2022
d4f866f
Python 3 web module
elieterrien Feb 8, 2022
cacba1a
Python 3 xliff module
elieterrien Feb 8, 2022
10dd280
Python 3 xml module
elieterrien Feb 8, 2022
89c9429
Python 3 xmlfile module
elieterrien Feb 8, 2022
b1e1c2e
Python 3 Add forgotten packages
elieterrien Feb 9, 2022
7a3ae8a
Python 3 fix setup install
elieterrien Feb 9, 2022
40dc654
Python 3 fix
elieterrien Feb 9, 2022
bbb4ce0
Python 3 fix encoding
elieterrien Feb 9, 2022
cbe6617
Python 3 fix double super
elieterrien Feb 11, 2022
693abc9
Fix itools.xml tests
jdavid Feb 10, 2022
2d4cbcd
Fix itools.odf tests
jdavid Feb 10, 2022
dd2c80a
Fix "cannot import ... from partially initialized module"
jdavid Feb 10, 2022
38b0120
Fix itools.stl tests
jdavid Feb 11, 2022
c8a7385
Fix itools.xmlfile tests
jdavid Feb 11, 2022
d63614a
Fix itools.gettext tests
jdavid Feb 11, 2022
666967b
Merge pull request #23 from jdavid/bepatient-py3
elterrien Feb 11, 2022
e6a9fb9
Python 3 fix Image Reading and Add text parameter on make_file and open
elieterrien Feb 11, 2022
8f8a59b
Fix ical tests
jdavid Feb 11, 2022
1a8b896
Fix tests
jdavid Feb 11, 2022
87a4366
Merge pull request #24 from jdavid/bepatient-py3
elterrien Feb 11, 2022
7c48ce6
Python 3 fix RW file when open, decode PATH to str
elieterrien Feb 11, 2022
f24380e
Python 3 fix bytes and str
elieterrien Feb 11, 2022
908943f
Python 3 fix bytes and str
elieterrien Feb 11, 2022
ee56032
Python 3 fix Path slice and Add tests
elieterrien Feb 14, 2022
fd1628c
Python 3 fix enconding and gettext -> https://bugzilla.redhat.com/sho…
elieterrien Feb 14, 2022
59aa2b4
Python 3 fix string parsing
elieterrien Feb 14, 2022
24b2b8b
Python 3 fix mistake
elieterrien Feb 14, 2022
6b567f3
Python 3 fix
elieterrien Feb 14, 2022
b24e2ed
Fix Path.get_name()
jdavid Feb 15, 2022
7667e12
Merge pull request #25 from jdavid/bepatient-py3
elterrien Feb 15, 2022
2fc1dbd
Python 3 test path get_name
elieterrien Feb 15, 2022
7c8fa4e
Sometimes TextFile has a bytes data
jdavid Feb 15, 2022
ef2720d
Merge pull request #26 from jdavid/bepatient-py3
elterrien Feb 15, 2022
eab307d
Fix many things
jdavid Feb 15, 2022
c1213f3
Merge pull request #27 from jdavid/bepatient-py3
elterrien Feb 15, 2022
e207bb7
Python 3 fix image BytesIO
elieterrien Feb 15, 2022
ef51ab1
Merge remote-tracking branch 'origin/feature/python3' into feature/py…
elieterrien Feb 15, 2022
079a3f0
Python 3 fix delete file
elieterrien Feb 15, 2022
bfeabe3
Delete default value to Unicode(DataType)
elieterrien Feb 16, 2022
bb6d054
Tests failed, URI was considered as XML TEXT
elieterrien Feb 18, 2022
0952186
Fix dictionary changed size during iteration
elieterrien Feb 18, 2022
de5d54b
Python 3 encoding
elieterrien Feb 21, 2022
4398d1e
Python 3 encoding
elieterrien Feb 21, 2022
fa0a090
Python 3 encoding
elieterrien Feb 21, 2022
691ce72
Python 3 encoding
elieterrien Feb 21, 2022
aa1c3a5
Python 3 encoding and list
elieterrien Feb 22, 2022
fc33d96
Python 3 Add unicode default value if None
elieterrien Feb 25, 2022
f419927
Fix None value on search
elieterrien Feb 25, 2022
b4ad4fb
Add encoding
elieterrien Mar 2, 2022
a4f7870
Email decode if bytes
elieterrien Mar 2, 2022
999512d
Update requirements
jdavid Mar 2, 2022
c22a602
database: DefaultField.encrypted
jdavid Mar 2, 2022
4196dd4
Remove reference to old itools.log
jdavid Mar 4, 2022
1e5c915
String Datatype is now str (unicode)
jdavid Mar 4, 2022
3aef7e7
Enumerate must be a String for indexation
elieterrien Mar 4, 2022
709b8dc
Fix date bytes
elieterrien Mar 7, 2022
748fee5
Python 3 update PO
elieterrien Mar 15, 2022
526b8a0
Python 3 fix marshal compatibility
elieterrien Mar 16, 2022
4697bf3
Python 3 fix encrypt bytes
elieterrien Mar 16, 2022
a84c274
Python 3 fix splitlines with Non Ascii characters
elieterrien Mar 21, 2022
4ecc51c
Fix MSG._format
jdavid Mar 22, 2022
e2c3262
Relax cryptography & pytz requirements
jdavid Mar 22, 2022
37997f3
Attempt to fix encryption perf issue
M3te0r Mar 25, 2022
4edf45f
To be sure that Integer can be encode and decode
elieterrien Mar 25, 2022
5314d8f
Merge remote-tracking branch 'origin/0.79.4' into feature/python3
elieterrien Apr 6, 2022
a34beef
Continue to use iteritems()
elieterrien Apr 15, 2022
03a3695
Fix use with open(file)
elieterrien Apr 15, 2022
a7c7a53
Fix register_field
elieterrien Apr 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
(#MOBI-4403) remove commented parts
  • Loading branch information
M3te0r committed Nov 19, 2020
commit 429e00d004596f6609c413491fc26bf8027b6b32
27 changes: 0 additions & 27 deletions itools/web/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,30 +152,3 @@ def get_form_value(form, name, type=String, default=None):
values[lang] = value
check_form_value(field, values)
return values



# class WebLogger(Logger):
#
# def get_body(self):
# context = get_context()
# if context is None:
# return Logger.get_body(self)
#
# # The URI and user
# if context.user:
# lines = ['%s (user: %s)\n\n' % (context.uri, context.user.name)]
# else:
# lines = ['%s\n\n' % context.uri]
#
# # Request header
# lines.append(context.get_request_line() + '\n')
# headers = context.get_headers()
# for key, value in headers:
# lines.append('%s: %s\n' % (key, value))
# lines.append('\n')
#
# # Ok
# body = Logger.get_body(self)
# lines.extend(body)
# return lines