Merge new root
--HG-- branch : 6.0
This commit is contained in:
commit
d445152ca0
986 files changed
+305377
No files matched your search
@@ -16,3 +16,543 @@ c3046a83c61339a6310b8cf56c2e4dddd59a0675 web_shortener-5.8.0
|
||||
0d2662846f667e44e2831a271becf86f8868c9a5 web_shortener-6.0.0
|
||||
0000000000000000000000000000000000000000 6.0.1
|
||||
f5cdb780a081fb87e0ebcb77b71e5b1c9f7233df web_shortener-6.0.1
|
||||
99f99784b341ce8bb34bd70d89f51aa45c24f1f7 4.2.0
|
||||
a6661fddc44d1cee9c5697d983e8fb38deb73225 4.4.0
|
||||
d5c1f780f492de8ab82da98a577a5685bb513d9b 4.6.0
|
||||
9ad3bd829ad68cd69806533416aadc50f5eb6794 4.8.0
|
||||
ca21f3a99b42b088c6588c36f5e105dae713f775 5.0.0
|
||||
c2ef0488218d9d3ee59514b744e2145bbd0147b3 5.2.0
|
||||
cb5da130470815adfd7b3681fa2803feed934f45 5.4.0
|
||||
b95009d0a58dd058440cc0cd7537e5c4499ea16a 5.6.0
|
||||
166c1e4c476baeb36b21cef7963b87b5ca07f71e 5.8.0
|
||||
ec9a4f3e26f796c12a267e4b3af717fd2a35c066 6.0.0
|
||||
0000000000000000000000000000000000000000 4.2.0
|
||||
99f99784b341ce8bb34bd70d89f51aa45c24f1f7 web_user-4.2.0
|
||||
0000000000000000000000000000000000000000 4.4.0
|
||||
a6661fddc44d1cee9c5697d983e8fb38deb73225 web_user-4.4.0
|
||||
0000000000000000000000000000000000000000 4.6.0
|
||||
d5c1f780f492de8ab82da98a577a5685bb513d9b web_user-4.6.0
|
||||
0000000000000000000000000000000000000000 4.8.0
|
||||
9ad3bd829ad68cd69806533416aadc50f5eb6794 web_user-4.8.0
|
||||
0000000000000000000000000000000000000000 5.0.0
|
||||
ca21f3a99b42b088c6588c36f5e105dae713f775 web_user-5.0.0
|
||||
0000000000000000000000000000000000000000 5.2.0
|
||||
c2ef0488218d9d3ee59514b744e2145bbd0147b3 web_user-5.2.0
|
||||
0000000000000000000000000000000000000000 5.4.0
|
||||
cb5da130470815adfd7b3681fa2803feed934f45 web_user-5.4.0
|
||||
0000000000000000000000000000000000000000 5.6.0
|
||||
b95009d0a58dd058440cc0cd7537e5c4499ea16a web_user-5.6.0
|
||||
0000000000000000000000000000000000000000 5.8.0
|
||||
166c1e4c476baeb36b21cef7963b87b5ca07f71e web_user-5.8.0
|
||||
0000000000000000000000000000000000000000 6.0.0
|
||||
ec9a4f3e26f796c12a267e4b3af717fd2a35c066 web_user-6.0.0
|
||||
3974f546b848d4ac59551db9f733d8ed62946dfd 1.8.0
|
||||
c8fdae3b2338b744fce709572958884a95de87b3 2.0.0
|
||||
120d0435125cf3a3c28280321962571924ad422f 2.2.0
|
||||
ef9846cb18afe62182de446d8e4fa7b8393f7168 2.4.0
|
||||
648c43939fd698988bde5b54f7a1dff9d47922af 2.6.0
|
||||
5625ce03643f9f2b69659907754e5b0e924c689f 2.8.0
|
||||
31740f7e08a0c449ce6715e1ef15392fb6326ce9 3.0.0
|
||||
40affcdda4629de37997d0e5c7d3fe9ca2806b12 3.2.0
|
||||
61013c4482fc95a61d2a15a8b21574a706755b10 3.4.0
|
||||
2a2503ebd25887ff3668d470809c00c5bcf2c6c7 3.6.0
|
||||
1e741a18e2a1f29fcc66e9ab4878554a4e63a355 3.8.0
|
||||
403f21dd1bb7059a0928c46c8b21a97c14f9c720 4.0.0
|
||||
d5b1e8f047748526d9a2cd354da0e86d617ec4c7 4.2.0
|
||||
365af7e74c2baae38e96bc0afb1deae2d2b44ac0 4.4.0
|
||||
cd4731fb373698d480a625a286de776a0b9bdc6e 4.6.0
|
||||
3867b51d50056fda52882150a017a9dce6811264 4.8.0
|
||||
e86f9d540f29dfcd39e8f198b50940c8b91250d6 5.0.0
|
||||
f4a0b0e282f39c013c44e5012e6b85e4b8a4ae40 5.2.0
|
||||
03daaf3994610fde107d98d8458b2731e03c5306 5.4.0
|
||||
a8061a1d268776766c44ceb97094d229dbe31962 5.6.0
|
||||
8bc88e82ff9edc33725d08bc0c6f2862f221a127 5.8.0
|
||||
ac15e7f1881fd78d30eac0d7c772638265830c77 6.0.0
|
||||
14cd94a3e75463a9e4ab4c562cce82470070731b 6.0.1
|
||||
b579da9fa80282eaf0657e6d2826147c2c6c2f3d 6.0.2
|
||||
dc3d781b552d24dcfb7b0ced4322b1ba17e6ca09 6.0.3
|
||||
8e6d0969604981e6d024b203424b1b3f0bcd4cb3 6.0.4
|
||||
c20749d242200840432ab0b87ce7c0072ee1be34 6.0.5
|
||||
b279acacc05c6df60ca9833a3eb6e22b9f9fa488 6.0.6
|
||||
8a5195f7cece07c1baceade758e1e783170abe32 6.0.7
|
||||
0000000000000000000000000000000000000000 1.8.0
|
||||
3974f546b848d4ac59551db9f733d8ed62946dfd proteus-1.8.0
|
||||
0000000000000000000000000000000000000000 2.0.0
|
||||
c8fdae3b2338b744fce709572958884a95de87b3 proteus-2.0.0
|
||||
0000000000000000000000000000000000000000 2.2.0
|
||||
120d0435125cf3a3c28280321962571924ad422f proteus-2.2.0
|
||||
0000000000000000000000000000000000000000 2.4.0
|
||||
ef9846cb18afe62182de446d8e4fa7b8393f7168 proteus-2.4.0
|
||||
0000000000000000000000000000000000000000 2.6.0
|
||||
648c43939fd698988bde5b54f7a1dff9d47922af proteus-2.6.0
|
||||
0000000000000000000000000000000000000000 2.8.0
|
||||
5625ce03643f9f2b69659907754e5b0e924c689f proteus-2.8.0
|
||||
0000000000000000000000000000000000000000 3.0.0
|
||||
31740f7e08a0c449ce6715e1ef15392fb6326ce9 proteus-3.0.0
|
||||
0000000000000000000000000000000000000000 3.2.0
|
||||
40affcdda4629de37997d0e5c7d3fe9ca2806b12 proteus-3.2.0
|
||||
0000000000000000000000000000000000000000 3.4.0
|
||||
61013c4482fc95a61d2a15a8b21574a706755b10 proteus-3.4.0
|
||||
0000000000000000000000000000000000000000 3.6.0
|
||||
2a2503ebd25887ff3668d470809c00c5bcf2c6c7 proteus-3.6.0
|
||||
0000000000000000000000000000000000000000 3.8.0
|
||||
1e741a18e2a1f29fcc66e9ab4878554a4e63a355 proteus-3.8.0
|
||||
0000000000000000000000000000000000000000 4.0.0
|
||||
403f21dd1bb7059a0928c46c8b21a97c14f9c720 proteus-4.0.0
|
||||
0000000000000000000000000000000000000000 4.2.0
|
||||
d5b1e8f047748526d9a2cd354da0e86d617ec4c7 proteus-4.2.0
|
||||
0000000000000000000000000000000000000000 4.4.0
|
||||
365af7e74c2baae38e96bc0afb1deae2d2b44ac0 proteus-4.4.0
|
||||
0000000000000000000000000000000000000000 4.6.0
|
||||
cd4731fb373698d480a625a286de776a0b9bdc6e proteus-4.6.0
|
||||
0000000000000000000000000000000000000000 4.8.0
|
||||
3867b51d50056fda52882150a017a9dce6811264 proteus-4.8.0
|
||||
0000000000000000000000000000000000000000 5.0.0
|
||||
e86f9d540f29dfcd39e8f198b50940c8b91250d6 proteus-5.0.0
|
||||
0000000000000000000000000000000000000000 5.2.0
|
||||
f4a0b0e282f39c013c44e5012e6b85e4b8a4ae40 proteus-5.2.0
|
||||
0000000000000000000000000000000000000000 5.4.0
|
||||
03daaf3994610fde107d98d8458b2731e03c5306 proteus-5.4.0
|
||||
0000000000000000000000000000000000000000 5.6.0
|
||||
a8061a1d268776766c44ceb97094d229dbe31962 proteus-5.6.0
|
||||
0000000000000000000000000000000000000000 5.8.0
|
||||
8bc88e82ff9edc33725d08bc0c6f2862f221a127 proteus-5.8.0
|
||||
0000000000000000000000000000000000000000 6.0.0
|
||||
ac15e7f1881fd78d30eac0d7c772638265830c77 proteus-6.0.0
|
||||
0000000000000000000000000000000000000000 6.0.1
|
||||
14cd94a3e75463a9e4ab4c562cce82470070731b proteus-6.0.1
|
||||
0000000000000000000000000000000000000000 6.0.2
|
||||
b579da9fa80282eaf0657e6d2826147c2c6c2f3d proteus-6.0.2
|
||||
0000000000000000000000000000000000000000 6.0.3
|
||||
dc3d781b552d24dcfb7b0ced4322b1ba17e6ca09 proteus-6.0.3
|
||||
0000000000000000000000000000000000000000 6.0.4
|
||||
8e6d0969604981e6d024b203424b1b3f0bcd4cb3 proteus-6.0.4
|
||||
0000000000000000000000000000000000000000 6.0.5
|
||||
c20749d242200840432ab0b87ce7c0072ee1be34 proteus-6.0.5
|
||||
0000000000000000000000000000000000000000 6.0.6
|
||||
b279acacc05c6df60ca9833a3eb6e22b9f9fa488 proteus-6.0.6
|
||||
0000000000000000000000000000000000000000 6.0.7
|
||||
8a5195f7cece07c1baceade758e1e783170abe32 proteus-6.0.7
|
||||
c835144ba5fd172c9aa8714683e69ca60bc894bc 3.8.0
|
||||
20712dc81634af43f9e0ebb41b0dcea50ccffdd2 4.0.0
|
||||
963504a30207af5877c11368ac5dadbc5d28fee1 4.2.0
|
||||
1fea2b717dd8d57d0a233c19d7f1eec35bdde0fa 4.4.0
|
||||
16a536201007ba66d36040a34e79a8998c4051f8 4.6.0
|
||||
08b000057b0b5a69f4034f2e1f5c7f2f7f23276f 4.8.0
|
||||
47edb75271514576ea775d28dc286a120675aa32 5.0.0
|
||||
4074fcefe73deec0b4dcd8b2e29f6c3c8eade611 5.2.0
|
||||
2d6d3a648c1dc1711adcc7bd3ff0930949b3076a 5.4.0
|
||||
513d2f77dc3bb1f5335af4faf233ccaa1711ac82 5.6.0
|
||||
e013e9930e2f27e5205b93f39d49f3604ae07901 5.8.0
|
||||
031cd536bd9f4e89345876c2d438626c57fbb33c 6.0.0
|
||||
ca49dcd87a916c997b5fe8bfc79c3195766bd4be 6.0.1
|
||||
a8121f01d452fd877749cf304dd691618553fccb 6.0.2
|
||||
90177ab7f46ac9703f9130f36f87d696774506be 6.0.3
|
||||
c1b6c469704c89d22f838a7c387f8ce2db6c04e8 6.0.4
|
||||
d37b211c91cc908fb3dbdc3ea8b52af50ef325a2 6.0.5
|
||||
76abf46e661d7f2b5d95bf13fddf107f31d47105 6.0.6
|
||||
722e116a59f5a1ba61aede38920e03a05a7d7ce4 6.0.7
|
||||
262af554d965998030b6b5b9441bc9469dab2311 6.0.8
|
||||
caafedc5aba43c65c49eeddf28ee41d8d35d2108 6.0.9
|
||||
a29aac850db9e9d55cc33f3ef1fff7af05043fc8 6.0.10
|
||||
c1f4671012217e27ee6fedb519da6eecb6b164d8 6.0.11
|
||||
2d40a627f2215c62800149562d033a18d550eabc 6.0.12
|
||||
31cb176af93153cff7f9b0ad024ce2d3ecac44c1 6.0.13
|
||||
440b2885e1659393f469358808a8b83ccb08c12c 6.0.14
|
||||
845114a2dc0253d6cb66883089996adffed70188 6.0.15
|
||||
89d9b0b02548363e7dfc984e594d09eff061e29c 6.0.16
|
||||
f95deaf6c5404e617fe522d98520c1ba829c64b3 6.0.17
|
||||
056876b48b55163bfb276ed713fbc8d3c7ec3209 6.0.18
|
||||
3fc2510a1f70752c9489a924727c11951eb5171f 6.0.19
|
||||
1491afc63d061116473998f40335b1901c62f7c8 6.0.20
|
||||
8f4439b7d4a4908f44c9e6d93b3a45fd8fd39350 6.0.21
|
||||
0263312e30f850a6637f1c920dbff1c929bf9ded 6.0.22
|
||||
5b249c3acf2243f294089418a325bbdcab7c57ad 6.0.23
|
||||
7fd7e8a5ae84dab88f322e900d26cbd2e7115292 6.0.24
|
||||
0000000000000000000000000000000000000000 3.8.0
|
||||
c835144ba5fd172c9aa8714683e69ca60bc894bc sao-3.8.0
|
||||
0000000000000000000000000000000000000000 4.0.0
|
||||
20712dc81634af43f9e0ebb41b0dcea50ccffdd2 sao-4.0.0
|
||||
0000000000000000000000000000000000000000 4.2.0
|
||||
963504a30207af5877c11368ac5dadbc5d28fee1 sao-4.2.0
|
||||
0000000000000000000000000000000000000000 4.4.0
|
||||
1fea2b717dd8d57d0a233c19d7f1eec35bdde0fa sao-4.4.0
|
||||
0000000000000000000000000000000000000000 4.6.0
|
||||
16a536201007ba66d36040a34e79a8998c4051f8 sao-4.6.0
|
||||
0000000000000000000000000000000000000000 4.8.0
|
||||
08b000057b0b5a69f4034f2e1f5c7f2f7f23276f sao-4.8.0
|
||||
0000000000000000000000000000000000000000 5.0.0
|
||||
47edb75271514576ea775d28dc286a120675aa32 sao-5.0.0
|
||||
0000000000000000000000000000000000000000 5.2.0
|
||||
4074fcefe73deec0b4dcd8b2e29f6c3c8eade611 sao-5.2.0
|
||||
0000000000000000000000000000000000000000 5.4.0
|
||||
2d6d3a648c1dc1711adcc7bd3ff0930949b3076a sao-5.4.0
|
||||
0000000000000000000000000000000000000000 5.6.0
|
||||
513d2f77dc3bb1f5335af4faf233ccaa1711ac82 sao-5.6.0
|
||||
0000000000000000000000000000000000000000 5.8.0
|
||||
e013e9930e2f27e5205b93f39d49f3604ae07901 sao-5.8.0
|
||||
0000000000000000000000000000000000000000 6.0.0
|
||||
031cd536bd9f4e89345876c2d438626c57fbb33c sao-6.0.0
|
||||
0000000000000000000000000000000000000000 6.0.1
|
||||
ca49dcd87a916c997b5fe8bfc79c3195766bd4be sao-6.0.1
|
||||
0000000000000000000000000000000000000000 6.0.10
|
||||
a29aac850db9e9d55cc33f3ef1fff7af05043fc8 sao-6.0.10
|
||||
0000000000000000000000000000000000000000 6.0.11
|
||||
c1f4671012217e27ee6fedb519da6eecb6b164d8 sao-6.0.11
|
||||
0000000000000000000000000000000000000000 6.0.12
|
||||
2d40a627f2215c62800149562d033a18d550eabc sao-6.0.12
|
||||
0000000000000000000000000000000000000000 6.0.13
|
||||
31cb176af93153cff7f9b0ad024ce2d3ecac44c1 sao-6.0.13
|
||||
0000000000000000000000000000000000000000 6.0.14
|
||||
440b2885e1659393f469358808a8b83ccb08c12c sao-6.0.14
|
||||
0000000000000000000000000000000000000000 6.0.15
|
||||
845114a2dc0253d6cb66883089996adffed70188 sao-6.0.15
|
||||
0000000000000000000000000000000000000000 6.0.16
|
||||
89d9b0b02548363e7dfc984e594d09eff061e29c sao-6.0.16
|
||||
0000000000000000000000000000000000000000 6.0.17
|
||||
f95deaf6c5404e617fe522d98520c1ba829c64b3 sao-6.0.17
|
||||
0000000000000000000000000000000000000000 6.0.18
|
||||
056876b48b55163bfb276ed713fbc8d3c7ec3209 sao-6.0.18
|
||||
0000000000000000000000000000000000000000 6.0.19
|
||||
3fc2510a1f70752c9489a924727c11951eb5171f sao-6.0.19
|
||||
0000000000000000000000000000000000000000 6.0.2
|
||||
a8121f01d452fd877749cf304dd691618553fccb sao-6.0.2
|
||||
0000000000000000000000000000000000000000 6.0.20
|
||||
1491afc63d061116473998f40335b1901c62f7c8 sao-6.0.20
|
||||
0000000000000000000000000000000000000000 6.0.21
|
||||
8f4439b7d4a4908f44c9e6d93b3a45fd8fd39350 sao-6.0.21
|
||||
0000000000000000000000000000000000000000 6.0.22
|
||||
0263312e30f850a6637f1c920dbff1c929bf9ded sao-6.0.22
|
||||
0000000000000000000000000000000000000000 6.0.23
|
||||
5b249c3acf2243f294089418a325bbdcab7c57ad sao-6.0.23
|
||||
0000000000000000000000000000000000000000 6.0.24
|
||||
7fd7e8a5ae84dab88f322e900d26cbd2e7115292 sao-6.0.24
|
||||
0000000000000000000000000000000000000000 6.0.3
|
||||
90177ab7f46ac9703f9130f36f87d696774506be sao-6.0.3
|
||||
0000000000000000000000000000000000000000 6.0.4
|
||||
c1b6c469704c89d22f838a7c387f8ce2db6c04e8 sao-6.0.4
|
||||
0000000000000000000000000000000000000000 6.0.5
|
||||
d37b211c91cc908fb3dbdc3ea8b52af50ef325a2 sao-6.0.5
|
||||
0000000000000000000000000000000000000000 6.0.6
|
||||
76abf46e661d7f2b5d95bf13fddf107f31d47105 sao-6.0.6
|
||||
0000000000000000000000000000000000000000 6.0.7
|
||||
722e116a59f5a1ba61aede38920e03a05a7d7ce4 sao-6.0.7
|
||||
0000000000000000000000000000000000000000 6.0.8
|
||||
262af554d965998030b6b5b9441bc9469dab2311 sao-6.0.8
|
||||
0000000000000000000000000000000000000000 6.0.9
|
||||
caafedc5aba43c65c49eeddf28ee41d8d35d2108 sao-6.0.9
|
||||
4b876ac37410e223bc3628256425d80398d051c6 4.8.0
|
||||
144f9950fba568bd77ac0eecd02c7b0d0a98ba87 5.0.0
|
||||
ed88584857aa1b39459a420270c0253d460cfe48 5.2.0
|
||||
ed46c63b027820aa6e605bb53040f4ed4d133813 5.4.0
|
||||
d2db68823a8225ff32842da4e948c1c01197e5cc 5.6.0
|
||||
eeab3256f17f6b9bc111d74d6d7f984e75d70f17 5.8.0
|
||||
4d33daf649c10711b782ef82b71e49d1a725ccee 6.0.0
|
||||
ed86455b7bf99bb7a18309e809adc54e6a4864d8 6.0.1
|
||||
0000000000000000000000000000000000000000 4.8.0
|
||||
4b876ac37410e223bc3628256425d80398d051c6 trytond-gis-4.8.0
|
||||
0000000000000000000000000000000000000000 5.0.0
|
||||
144f9950fba568bd77ac0eecd02c7b0d0a98ba87 trytond-gis-5.0.0
|
||||
0000000000000000000000000000000000000000 5.2.0
|
||||
ed88584857aa1b39459a420270c0253d460cfe48 trytond-gis-5.2.0
|
||||
0000000000000000000000000000000000000000 5.4.0
|
||||
ed46c63b027820aa6e605bb53040f4ed4d133813 trytond-gis-5.4.0
|
||||
0000000000000000000000000000000000000000 5.6.0
|
||||
d2db68823a8225ff32842da4e948c1c01197e5cc trytond-gis-5.6.0
|
||||
0000000000000000000000000000000000000000 5.8.0
|
||||
eeab3256f17f6b9bc111d74d6d7f984e75d70f17 trytond-gis-5.8.0
|
||||
0000000000000000000000000000000000000000 6.0.0
|
||||
4d33daf649c10711b782ef82b71e49d1a725ccee trytond-gis-6.0.0
|
||||
0000000000000000000000000000000000000000 6.0.1
|
||||
ed86455b7bf99bb7a18309e809adc54e6a4864d8 trytond-gis-6.0.1
|
||||
951bb3311b916cb893adc5294cfb3216d2940169 1.0.0
|
||||
9f5ce178a7c403a0865fd4b6c1a82a911df0e998 1.2.0
|
||||
e2d31d59de7745de70199b7c340d78b7c4775723 1.4.0
|
||||
64691214959ac19983f3b3d1dbb89ff693d1545c 1.6.0
|
||||
af3a6063b46bf8739a513a06400fbb9858b5869b 1.8.0
|
||||
3475040a8fe081b1b8609350186b779cc640fba4 2.0.0
|
||||
1df3f0702c621e65279af52d1f87725747ae8fa4 2.2.0
|
||||
640af4420c8eace7ee59a432bec54692f4808b20 2.4.0
|
||||
36530840a1d0dce354bbaa58ec849a409d306d83 2.6.0
|
||||
2893d6c3efd6df3759ab09a28ea16773a160118e 2.8.0
|
||||
759c6ff44b90b8c685e9d9a4124bcd85af204649 3.0.0
|
||||
b3d84aa2c3a6ed3b76bfb58a40fc687f68824c29 3.2.0
|
||||
f0a9fa755cde703be54efd747f376b096ea8316c 3.4.0
|
||||
1e4ba5a3f16e6afd59131b49841eb004e706619d 3.6.0
|
||||
0a29a9dba7f56fbdef067772eea3f037934999c9 3.8.0
|
||||
49a0caa894dae201ed4ec707f277d9859b5521fb 4.0.0
|
||||
eb8949ec5bcedba563b5799f1315a0cecfee61f6 4.2.0
|
||||
f253ce8ed02f4c46a69b8b2f29311ad8959698be 4.4.0
|
||||
e7a6d0e8002237f624ecc8a45a6a472f7baadd08 4.6.0
|
||||
321b0104a732419c11aa4926785502e0615b89c9 4.8.0
|
||||
e8cadc044d59edff8a2ca73932c723d507517ec8 5.0.0
|
||||
ef34e4e92d45ab2b2b2956bbb6aa8b3ca259eb13 5.2.0
|
||||
32170ff46339dbc8609225791ab737a0f3eb0291 5.4.0
|
||||
5738a22adbb45390167194e4089adc46c6b638a3 5.6.0
|
||||
e21456b81972188261b8a6fc876afc18f641c85b 5.8.0
|
||||
2164597ffa5f4f0443e4804944b30f5491070990 6.0.0
|
||||
12a321529713d3e0b04fa94883baf66bddf76b75 6.0.1
|
||||
10e05cdf4fb3fcd545d8b47d03df8cfb78b38a76 6.0.2
|
||||
7b3f3676cf9d72147edcdb0cd477b77b1af7af9e 6.0.3
|
||||
68ea8ab81fc3d67e3efe925c3694644a46b7c111 6.0.4
|
||||
133f0b26de213e0b5668ae891e176de8f79025fc 6.0.5
|
||||
1719ce1a669285333424c02c9e3e45fd636b995c 6.0.6
|
||||
67fe2d478dbf413873c0919cfd5d6f3f6f4c2275 6.0.7
|
||||
ed230154446f04aed350b7fd0d416a80145645ee 6.0.8
|
||||
df3e4a189c249ff54e118a4943c03ecaab5fee60 6.0.9
|
||||
32f14e8a77caa727f2dfcec93aa15e05f45ad0b6 6.0.10
|
||||
6cb11cbdabc3b93d9698fc17653e8cb24b8154d4 6.0.11
|
||||
f34c0f0f0010e95ba38d3378f2e86d7e7a966516 6.0.12
|
||||
c1e2890b414d6d9c0bae303577fb784c8e8c715b 6.0.13
|
||||
78607bfea2986fe335c98a6ef87905cded1f5b2d 6.0.14
|
||||
26fba5237ff3ec9aed2d8aebdc1115e595e76c0b 6.0.15
|
||||
c4cf78bb401aec7d52a007eb7bda958658edaf95 6.0.16
|
||||
246ad7a2addde11a7b3e828ace36cf5fb1bc6696 6.0.17
|
||||
ca63f7f2eef1998de82eae76636c00211f0e3a80 6.0.18
|
||||
2973349bc8ca02dc5aba4fbf6a2e4ba270af9780 6.0.19
|
||||
9d5f5e04e2b0105bf4ca644bf98811d267054514 6.0.20
|
||||
221212011e95b8004c93ec76d21f5ffa12e866ee 6.0.21
|
||||
3ff41e43408ddccd4ce91170b6536a2f5cd0112b 6.0.22
|
||||
7d81a0faef794489d63fb164d0fb2ba2196c878b 6.0.23
|
||||
9b36d68c67a48a2203ef3598f5379d708781dc9e 6.0.24
|
||||
0000000000000000000000000000000000000000 1.0.0
|
||||
951bb3311b916cb893adc5294cfb3216d2940169 trytond-1.0.0
|
||||
0000000000000000000000000000000000000000 1.2.0
|
||||
9f5ce178a7c403a0865fd4b6c1a82a911df0e998 trytond-1.2.0
|
||||
0000000000000000000000000000000000000000 1.4.0
|
||||
e2d31d59de7745de70199b7c340d78b7c4775723 trytond-1.4.0
|
||||
0000000000000000000000000000000000000000 1.6.0
|
||||
64691214959ac19983f3b3d1dbb89ff693d1545c trytond-1.6.0
|
||||
0000000000000000000000000000000000000000 1.8.0
|
||||
af3a6063b46bf8739a513a06400fbb9858b5869b trytond-1.8.0
|
||||
0000000000000000000000000000000000000000 2.0.0
|
||||
3475040a8fe081b1b8609350186b779cc640fba4 trytond-2.0.0
|
||||
0000000000000000000000000000000000000000 2.2.0
|
||||
1df3f0702c621e65279af52d1f87725747ae8fa4 trytond-2.2.0
|
||||
0000000000000000000000000000000000000000 2.4.0
|
||||
640af4420c8eace7ee59a432bec54692f4808b20 trytond-2.4.0
|
||||
0000000000000000000000000000000000000000 2.6.0
|
||||
36530840a1d0dce354bbaa58ec849a409d306d83 trytond-2.6.0
|
||||
0000000000000000000000000000000000000000 2.8.0
|
||||
2893d6c3efd6df3759ab09a28ea16773a160118e trytond-2.8.0
|
||||
0000000000000000000000000000000000000000 3.0.0
|
||||
759c6ff44b90b8c685e9d9a4124bcd85af204649 trytond-3.0.0
|
||||
0000000000000000000000000000000000000000 3.2.0
|
||||
b3d84aa2c3a6ed3b76bfb58a40fc687f68824c29 trytond-3.2.0
|
||||
0000000000000000000000000000000000000000 3.4.0
|
||||
f0a9fa755cde703be54efd747f376b096ea8316c trytond-3.4.0
|
||||
0000000000000000000000000000000000000000 3.6.0
|
||||
1e4ba5a3f16e6afd59131b49841eb004e706619d trytond-3.6.0
|
||||
0000000000000000000000000000000000000000 3.8.0
|
||||
0a29a9dba7f56fbdef067772eea3f037934999c9 trytond-3.8.0
|
||||
0000000000000000000000000000000000000000 4.0.0
|
||||
49a0caa894dae201ed4ec707f277d9859b5521fb trytond-4.0.0
|
||||
0000000000000000000000000000000000000000 4.2.0
|
||||
eb8949ec5bcedba563b5799f1315a0cecfee61f6 trytond-4.2.0
|
||||
0000000000000000000000000000000000000000 4.4.0
|
||||
f253ce8ed02f4c46a69b8b2f29311ad8959698be trytond-4.4.0
|
||||
0000000000000000000000000000000000000000 4.6.0
|
||||
e7a6d0e8002237f624ecc8a45a6a472f7baadd08 trytond-4.6.0
|
||||
0000000000000000000000000000000000000000 4.8.0
|
||||
321b0104a732419c11aa4926785502e0615b89c9 trytond-4.8.0
|
||||
0000000000000000000000000000000000000000 5.0.0
|
||||
e8cadc044d59edff8a2ca73932c723d507517ec8 trytond-5.0.0
|
||||
0000000000000000000000000000000000000000 5.2.0
|
||||
ef34e4e92d45ab2b2b2956bbb6aa8b3ca259eb13 trytond-5.2.0
|
||||
0000000000000000000000000000000000000000 5.4.0
|
||||
32170ff46339dbc8609225791ab737a0f3eb0291 trytond-5.4.0
|
||||
0000000000000000000000000000000000000000 5.6.0
|
||||
5738a22adbb45390167194e4089adc46c6b638a3 trytond-5.6.0
|
||||
0000000000000000000000000000000000000000 5.8.0
|
||||
e21456b81972188261b8a6fc876afc18f641c85b trytond-5.8.0
|
||||
0000000000000000000000000000000000000000 6.0.0
|
||||
2164597ffa5f4f0443e4804944b30f5491070990 trytond-6.0.0
|
||||
0000000000000000000000000000000000000000 6.0.1
|
||||
12a321529713d3e0b04fa94883baf66bddf76b75 trytond-6.0.1
|
||||
0000000000000000000000000000000000000000 6.0.10
|
||||
32f14e8a77caa727f2dfcec93aa15e05f45ad0b6 trytond-6.0.10
|
||||
0000000000000000000000000000000000000000 6.0.11
|
||||
6cb11cbdabc3b93d9698fc17653e8cb24b8154d4 trytond-6.0.11
|
||||
0000000000000000000000000000000000000000 6.0.12
|
||||
f34c0f0f0010e95ba38d3378f2e86d7e7a966516 trytond-6.0.12
|
||||
0000000000000000000000000000000000000000 6.0.13
|
||||
c1e2890b414d6d9c0bae303577fb784c8e8c715b trytond-6.0.13
|
||||
0000000000000000000000000000000000000000 6.0.14
|
||||
78607bfea2986fe335c98a6ef87905cded1f5b2d trytond-6.0.14
|
||||
0000000000000000000000000000000000000000 6.0.15
|
||||
26fba5237ff3ec9aed2d8aebdc1115e595e76c0b trytond-6.0.15
|
||||
0000000000000000000000000000000000000000 6.0.16
|
||||
c4cf78bb401aec7d52a007eb7bda958658edaf95 trytond-6.0.16
|
||||
0000000000000000000000000000000000000000 6.0.17
|
||||
246ad7a2addde11a7b3e828ace36cf5fb1bc6696 trytond-6.0.17
|
||||
0000000000000000000000000000000000000000 6.0.18
|
||||
ca63f7f2eef1998de82eae76636c00211f0e3a80 trytond-6.0.18
|
||||
0000000000000000000000000000000000000000 6.0.19
|
||||
2973349bc8ca02dc5aba4fbf6a2e4ba270af9780 trytond-6.0.19
|
||||
0000000000000000000000000000000000000000 6.0.2
|
||||
10e05cdf4fb3fcd545d8b47d03df8cfb78b38a76 trytond-6.0.2
|
||||
0000000000000000000000000000000000000000 6.0.20
|
||||
9d5f5e04e2b0105bf4ca644bf98811d267054514 trytond-6.0.20
|
||||
0000000000000000000000000000000000000000 6.0.21
|
||||
221212011e95b8004c93ec76d21f5ffa12e866ee trytond-6.0.21
|
||||
0000000000000000000000000000000000000000 6.0.22
|
||||
3ff41e43408ddccd4ce91170b6536a2f5cd0112b trytond-6.0.22
|
||||
0000000000000000000000000000000000000000 6.0.23
|
||||
7d81a0faef794489d63fb164d0fb2ba2196c878b trytond-6.0.23
|
||||
0000000000000000000000000000000000000000 6.0.24
|
||||
9b36d68c67a48a2203ef3598f5379d708781dc9e trytond-6.0.24
|
||||
0000000000000000000000000000000000000000 6.0.3
|
||||
7b3f3676cf9d72147edcdb0cd477b77b1af7af9e trytond-6.0.3
|
||||
0000000000000000000000000000000000000000 6.0.4
|
||||
68ea8ab81fc3d67e3efe925c3694644a46b7c111 trytond-6.0.4
|
||||
0000000000000000000000000000000000000000 6.0.5
|
||||
133f0b26de213e0b5668ae891e176de8f79025fc trytond-6.0.5
|
||||
0000000000000000000000000000000000000000 6.0.6
|
||||
1719ce1a669285333424c02c9e3e45fd636b995c trytond-6.0.6
|
||||
0000000000000000000000000000000000000000 6.0.7
|
||||
67fe2d478dbf413873c0919cfd5d6f3f6f4c2275 trytond-6.0.7
|
||||
0000000000000000000000000000000000000000 6.0.8
|
||||
ed230154446f04aed350b7fd0d416a80145645ee trytond-6.0.8
|
||||
0000000000000000000000000000000000000000 6.0.9
|
||||
df3e4a189c249ff54e118a4943c03ecaab5fee60 trytond-6.0.9
|
||||
923b3073b686c6dc5a921d0561c934adf3eeb879 1.0.0
|
||||
9a6434d63616f46520b6fa1b2be31906ff6f4f6a 1.2.0
|
||||
de84c1443d4bad908eabb99c381578b988c2117f 1.4.0
|
||||
3976912b23dfc5db2525d4c2e55d17f099d9492d 1.6.0
|
||||
8aa050da53cbdfabe1353a37da91c011b7fff549 1.8.0
|
||||
1876747b3f963ba6011b4bcf6968e681624c6e24 2.0.0
|
||||
5364f8ca6cd2cccfb5f7f39c69bb20bae2b5f495 2.2.0
|
||||
fe15da23f7333e0e90d2693aadddf6bed53ed602 2.4.0
|
||||
d069f9f1cdc3fea39e71415268582abb2b333ea1 2.6.0
|
||||
21fbf8bd36096d926c472acfecd3963369204af8 2.8.0
|
||||
9197d90b0257ec7c4576a38092fd592b3e87f7a4 3.0.0
|
||||
9721289ee2fdaab8b990de9327c3eab87363c88c 3.2.0
|
||||
8e5cba59137f9d0a063fa6d7855e09a51bc5889c 3.4.0
|
||||
1ac658605d42d82988cfb232afebfe359aba7776 3.6.0
|
||||
f4b9c8a84cf61935afec788c3c639982731452ef 3.8.0
|
||||
44d8ed92ff90cf98c4c01d37f12d344d9d66e7f1 4.0.0
|
||||
94037cff031ef897c9533a579356977c8a3cf695 4.2.0
|
||||
763dc5d8e1d7e483edbf9977dd96afc114555555 4.4.0
|
||||
d7ed5002e47249d019fbc546f6ac562db44c54f2 4.6.0
|
||||
2a2b48ea60fbb5201ea12443000d3a106a2fa27c 4.8.0
|
||||
70ade9d1fe04c734fe2dd7d35dd75b13f1af902a 5.0.0
|
||||
d5652dee45a43fccc1f33d39050af6e00e073273 5.2.0
|
||||
9f3fbb33df184ca19350cc71054dd9afd55f1cb7 5.4.0
|
||||
45d3f736ffb4396ee0dac0e2110fcc17237337ba 5.6.0
|
||||
df9de0ceeb27b38b165da7526accad0ad6682e86 5.8.0
|
||||
d18d03f0c540dfd2aae81dfaac048378a62c0ef6 6.0.0
|
||||
6cdc11292120ffb6df929721adfd738c4916a594 6.0.1
|
||||
23df79b60988e64c45be329933d803e0add7ae20 6.0.2
|
||||
5ab29a68b330847559add6204df341aeec38c223 6.0.3
|
||||
4493ce6c2dfcebde5701360689c635dbd6253d10 6.0.4
|
||||
0a8b71b80cc781e88f6a5a7467be9cdb3de50562 6.0.5
|
||||
be96d41f66a7bae727ecaf072a955ada01cd73e8 6.0.6
|
||||
0d0d910f4edfa1e493d8526dea6bc5f2ad78c30e 6.0.7
|
||||
1f7935eb899fb1ccdd363a085ba3a7a24349a3be 6.0.8
|
||||
375c664763440caa3f3ac4cdff2f694eedab7f7c 6.0.9
|
||||
a8f9ff596e3476c4fa73002524a78011b62b7fb8 6.0.10
|
||||
986c3f1e1d5ee57983adf34bf84c348abdba5b42 6.0.11
|
||||
e2cd492204aa2dd300eaaad5caca022b0114bea2 6.0.12
|
||||
1cbf7901b52d92f993ceba19357085386475c08d 6.0.13
|
||||
1474928ec1aa12d34e5fd79675bb284890bafd76 6.0.14
|
||||
0ee8d81a43a12bdd3064bcc100ef4a35ab86bfdb 6.0.15
|
||||
d1f3f6a0d5722332cddd2cb0837a266e5f5a1881 6.0.16
|
||||
dd458525c9d4c92eca991b832f06ec46a639c3a4 6.0.17
|
||||
40c3f7f6d487197698ac644ef28fa09dbce7e46a 6.0.18
|
||||
bd7b3f9a3c2f9cda09c2d5f89ed1c1f92dd78ff3 6.0.19
|
||||
4b448222df4c6c37b0223112c0c2c14f09675d34 6.0.20
|
||||
90566b9897fd57fb36e427dd7d8f2bbfa0a9ed5f 6.0.21
|
||||
0000000000000000000000000000000000000000 1.0.0
|
||||
923b3073b686c6dc5a921d0561c934adf3eeb879 tryton-1.0.0
|
||||
0000000000000000000000000000000000000000 1.2.0
|
||||
9a6434d63616f46520b6fa1b2be31906ff6f4f6a tryton-1.2.0
|
||||
0000000000000000000000000000000000000000 1.4.0
|
||||
de84c1443d4bad908eabb99c381578b988c2117f tryton-1.4.0
|
||||
0000000000000000000000000000000000000000 1.6.0
|
||||
3976912b23dfc5db2525d4c2e55d17f099d9492d tryton-1.6.0
|
||||
0000000000000000000000000000000000000000 1.8.0
|
||||
8aa050da53cbdfabe1353a37da91c011b7fff549 tryton-1.8.0
|
||||
0000000000000000000000000000000000000000 2.0.0
|
||||
1876747b3f963ba6011b4bcf6968e681624c6e24 tryton-2.0.0
|
||||
0000000000000000000000000000000000000000 2.2.0
|
||||
5364f8ca6cd2cccfb5f7f39c69bb20bae2b5f495 tryton-2.2.0
|
||||
0000000000000000000000000000000000000000 2.4.0
|
||||
fe15da23f7333e0e90d2693aadddf6bed53ed602 tryton-2.4.0
|
||||
0000000000000000000000000000000000000000 2.6.0
|
||||
d069f9f1cdc3fea39e71415268582abb2b333ea1 tryton-2.6.0
|
||||
0000000000000000000000000000000000000000 2.8.0
|
||||
21fbf8bd36096d926c472acfecd3963369204af8 tryton-2.8.0
|
||||
0000000000000000000000000000000000000000 3.0.0
|
||||
9197d90b0257ec7c4576a38092fd592b3e87f7a4 tryton-3.0.0
|
||||
0000000000000000000000000000000000000000 3.2.0
|
||||
9721289ee2fdaab8b990de9327c3eab87363c88c tryton-3.2.0
|
||||
0000000000000000000000000000000000000000 3.4.0
|
||||
8e5cba59137f9d0a063fa6d7855e09a51bc5889c tryton-3.4.0
|
||||
0000000000000000000000000000000000000000 3.6.0
|
||||
1ac658605d42d82988cfb232afebfe359aba7776 tryton-3.6.0
|
||||
0000000000000000000000000000000000000000 3.8.0
|
||||
f4b9c8a84cf61935afec788c3c639982731452ef tryton-3.8.0
|
||||
0000000000000000000000000000000000000000 4.0.0
|
||||
44d8ed92ff90cf98c4c01d37f12d344d9d66e7f1 tryton-4.0.0
|
||||
0000000000000000000000000000000000000000 4.2.0
|
||||
94037cff031ef897c9533a579356977c8a3cf695 tryton-4.2.0
|
||||
0000000000000000000000000000000000000000 4.4.0
|
||||
763dc5d8e1d7e483edbf9977dd96afc114555555 tryton-4.4.0
|
||||
0000000000000000000000000000000000000000 4.6.0
|
||||
d7ed5002e47249d019fbc546f6ac562db44c54f2 tryton-4.6.0
|
||||
0000000000000000000000000000000000000000 4.8.0
|
||||
2a2b48ea60fbb5201ea12443000d3a106a2fa27c tryton-4.8.0
|
||||
0000000000000000000000000000000000000000 5.0.0
|
||||
70ade9d1fe04c734fe2dd7d35dd75b13f1af902a tryton-5.0.0
|
||||
0000000000000000000000000000000000000000 5.2.0
|
||||
d5652dee45a43fccc1f33d39050af6e00e073273 tryton-5.2.0
|
||||
0000000000000000000000000000000000000000 5.4.0
|
||||
9f3fbb33df184ca19350cc71054dd9afd55f1cb7 tryton-5.4.0
|
||||
0000000000000000000000000000000000000000 5.6.0
|
||||
45d3f736ffb4396ee0dac0e2110fcc17237337ba tryton-5.6.0
|
||||
0000000000000000000000000000000000000000 5.8.0
|
||||
df9de0ceeb27b38b165da7526accad0ad6682e86 tryton-5.8.0
|
||||
0000000000000000000000000000000000000000 6.0.0
|
||||
d18d03f0c540dfd2aae81dfaac048378a62c0ef6 tryton-6.0.0
|
||||
0000000000000000000000000000000000000000 6.0.1
|
||||
6cdc11292120ffb6df929721adfd738c4916a594 tryton-6.0.1
|
||||
0000000000000000000000000000000000000000 6.0.10
|
||||
a8f9ff596e3476c4fa73002524a78011b62b7fb8 tryton-6.0.10
|
||||
0000000000000000000000000000000000000000 6.0.11
|
||||
986c3f1e1d5ee57983adf34bf84c348abdba5b42 tryton-6.0.11
|
||||
0000000000000000000000000000000000000000 6.0.12
|
||||
e2cd492204aa2dd300eaaad5caca022b0114bea2 tryton-6.0.12
|
||||
0000000000000000000000000000000000000000 6.0.13
|
||||
1cbf7901b52d92f993ceba19357085386475c08d tryton-6.0.13
|
||||
0000000000000000000000000000000000000000 6.0.14
|
||||
1474928ec1aa12d34e5fd79675bb284890bafd76 tryton-6.0.14
|
||||
0000000000000000000000000000000000000000 6.0.15
|
||||
0ee8d81a43a12bdd3064bcc100ef4a35ab86bfdb tryton-6.0.15
|
||||
0000000000000000000000000000000000000000 6.0.16
|
||||
d1f3f6a0d5722332cddd2cb0837a266e5f5a1881 tryton-6.0.16
|
||||
0000000000000000000000000000000000000000 6.0.17
|
||||
dd458525c9d4c92eca991b832f06ec46a639c3a4 tryton-6.0.17
|
||||
0000000000000000000000000000000000000000 6.0.18
|
||||
40c3f7f6d487197698ac644ef28fa09dbce7e46a tryton-6.0.18
|
||||
0000000000000000000000000000000000000000 6.0.19
|
||||
bd7b3f9a3c2f9cda09c2d5f89ed1c1f92dd78ff3 tryton-6.0.19
|
||||
0000000000000000000000000000000000000000 6.0.2
|
||||
23df79b60988e64c45be329933d803e0add7ae20 tryton-6.0.2
|
||||
0000000000000000000000000000000000000000 6.0.20
|
||||
4b448222df4c6c37b0223112c0c2c14f09675d34 tryton-6.0.20
|
||||
0000000000000000000000000000000000000000 6.0.21
|
||||
90566b9897fd57fb36e427dd7d8f2bbfa0a9ed5f tryton-6.0.21
|
||||
0000000000000000000000000000000000000000 6.0.3
|
||||
5ab29a68b330847559add6204df341aeec38c223 tryton-6.0.3
|
||||
0000000000000000000000000000000000000000 6.0.4
|
||||
4493ce6c2dfcebde5701360689c635dbd6253d10 tryton-6.0.4
|
||||
0000000000000000000000000000000000000000 6.0.5
|
||||
0a8b71b80cc781e88f6a5a7467be9cdb3de50562 tryton-6.0.5
|
||||
0000000000000000000000000000000000000000 6.0.6
|
||||
be96d41f66a7bae727ecaf072a955ada01cd73e8 tryton-6.0.6
|
||||
0000000000000000000000000000000000000000 6.0.7
|
||||
0d0d910f4edfa1e493d8526dea6bc5f2ad78c30e tryton-6.0.7
|
||||
0000000000000000000000000000000000000000 6.0.8
|
||||
1f7935eb899fb1ccdd363a085ba3a7a24349a3be tryton-6.0.8
|
||||
0000000000000000000000000000000000000000 6.0.9
|
||||
375c664763440caa3f3ac4cdff2f694eedab7f7c tryton-6.0.9
|
||||
@@ -0,0 +1,68 @@
|
||||
clone:
|
||||
hg:
|
||||
image: plugins/hg
|
||||
environment:
|
||||
- HG_SHARE_POOL=/root/.cache/hg
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
|
||||
pipeline:
|
||||
tox:
|
||||
image: ${IMAGE}
|
||||
environment:
|
||||
- CFLAGS=-O0
|
||||
- DB_CACHE=/cache
|
||||
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE CI_BUILD_NUMBER CI_JOB_NUMBER CI_JOB_ID
|
||||
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
|
||||
commands:
|
||||
- echo "[extensions]" >> /root/.hgrc
|
||||
- echo "hgext.share =" >> /root/.hgrc
|
||||
- echo "[share]" >> /root/.hgrc
|
||||
- echo "pool = /root/.cache/hg" >> /root/.hgrc
|
||||
- pip install tox
|
||||
- tox -e "${TOXENV}-${DATABASE}"
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
check_dist:
|
||||
image: ${IMAGE}
|
||||
commands:
|
||||
- pip install twine
|
||||
- python setup.py sdist
|
||||
- twine check dist/*
|
||||
|
||||
services:
|
||||
postgresql:
|
||||
image: postgres
|
||||
environment:
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
command: "-c fsync=off -c synchronous_commit=off -c full_page_writes=off"
|
||||
when:
|
||||
matrix:
|
||||
DATABASE: postgresql
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- IMAGE: python:3.6
|
||||
TOXENV: py36
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.6
|
||||
TOXENV: py36
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.7
|
||||
TOXENV: py37
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.7
|
||||
TOXENV: py37
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.8
|
||||
TOXENV: py38
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.8
|
||||
TOXENV: py38
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.9
|
||||
TOXENV: py39
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.9
|
||||
TOXENV: py39
|
||||
DATABASE: postgresql
|
||||
@@ -0,0 +1,2 @@
|
||||
[flake8]
|
||||
ignore=E123,E124,E126,E128,E741,W503
|
||||
@@ -0,0 +1,38 @@
|
||||
Version 6.0.0 - 2021-05-03
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 5.8.0 - 2020-11-02
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove support for Python 3.5
|
||||
* Add secondary parties on user
|
||||
|
||||
Version 5.6.0 - 2020-05-04
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 5.4.0 - 2019-11-04
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 5.2.0 - 2019-05-06
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 5.0.0 - 2018-10-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove support for Python 2.7
|
||||
* Add remove and reset session methods
|
||||
|
||||
Version 4.8.0 - 2018-04-23
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Erase user email when party is erased
|
||||
* Require email only for active user
|
||||
* Add maximum authentication attempt
|
||||
|
||||
Version 4.6.0 - 2017-10-30
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Increase session randomness to 32 bytes
|
||||
* Manage email case insensitively
|
||||
|
||||
Version 4.4.0 - 2017-05-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 4.2.0 - 2016-11-28
|
||||
* Initial release
|
||||
@@ -0,0 +1,15 @@
|
||||
Copyright (C) 2016-2021 Cédric Krier
|
||||
Copyright (C) 2016-2021 B2CK
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,5 @@
|
||||
include CHANGELOG
|
||||
include COPYRIGHT
|
||||
include LICENSE
|
||||
include README.rst
|
||||
include doc/*
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
doc/index.rst
|
||||
@@ -0,0 +1,26 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from . import user
|
||||
from . import party
|
||||
from . import ir
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
user.User,
|
||||
user.User_PartySecondary,
|
||||
user.UserAuthenticateAttempt,
|
||||
user.UserSession,
|
||||
ir.Email,
|
||||
ir.EmailTemplate,
|
||||
module='web_user', type_='model')
|
||||
Pool.register(
|
||||
party.Replace,
|
||||
party.Erase,
|
||||
module='web_user', type_='wizard')
|
||||
Pool.register(
|
||||
user.EmailValidation,
|
||||
user.EmailResetPassword,
|
||||
module='web_user', type_='report')
|
||||
@@ -0,0 +1,43 @@
|
||||
Web User Module
|
||||
###############
|
||||
|
||||
The web_user module provides facilities to manage external user accessing from
|
||||
the web.
|
||||
|
||||
User
|
||||
****
|
||||
|
||||
A user is uniquely identified by an email and he is authenticated using a
|
||||
hashed password. The user can be linked to a Party.
|
||||
|
||||
Two actions are available:
|
||||
|
||||
- The *Validate E-mail* which sent an e-mail to the user with a link to an URL
|
||||
that ensures the address exists.
|
||||
- The *Reset Password* which sent an e-mail to the user with a link to an URL
|
||||
to set a new password.
|
||||
|
||||
Configuration
|
||||
*************
|
||||
|
||||
The web_user module uses parameters from different sections:
|
||||
|
||||
- `web`:
|
||||
|
||||
- `reset_password_url`: the URL to reset the password to which the
|
||||
parameters `email` and `token` will be added.
|
||||
|
||||
- `email_validation_url`: the URL for email validation to which the
|
||||
parameter `token` will be added.
|
||||
|
||||
- `email`:
|
||||
|
||||
- `from`: the origin address to send emails.
|
||||
|
||||
- `session`:
|
||||
|
||||
- `web_timeout`: defines in seconds the validity of the web session.
|
||||
Default: 30 days.
|
||||
|
||||
- `web_timeout_reset`: in seconds the validity of the reset password token.
|
||||
Default: 1 day.
|
||||
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:py="http://genshi.edgewall.org/">
|
||||
<head>
|
||||
<title>Reset Password</title>
|
||||
</head>
|
||||
<body>
|
||||
<py:for each="user in records">
|
||||
<div style="display: block; text-align: center">
|
||||
<div>
|
||||
<h1>Reset Password</h1>
|
||||
<p>We received a request to reset the password for your account,
|
||||
${user.email}</p>
|
||||
<a href="${user.get_email_reset_password_url()}"
|
||||
style="display: block; text-decoration: none;
|
||||
width: max-content; margin: 0 auto;
|
||||
padding: 0.5em 1em; font-size:2em;
|
||||
border: 1px solid #2E6DA4; border-radius: 4px;
|
||||
color: #FFF; background-color: #337AB7;">
|
||||
Reset Password
|
||||
</a>
|
||||
</div>
|
||||
<hr style="margin-top: 20px;
|
||||
border-style: solid none none; border-color: #EEE"></hr>
|
||||
<div style="font-size: 80%; color: #777">
|
||||
<p>Button is not working? Paste this into your browser:</p>
|
||||
<p>${user.get_email_reset_password_url()}</p>
|
||||
<p>If you didn't make this request, you can ignore this email.</p>
|
||||
</div>
|
||||
</div>
|
||||
</py:for>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:py="http://genshi.edgewall.org/">
|
||||
<head>
|
||||
<title>Email Validation</title>
|
||||
</head>
|
||||
<body>
|
||||
<py:for each="user in records">
|
||||
<div style="display: block; text-align: center">
|
||||
<div>
|
||||
<h1>Just one more step..</h1>
|
||||
<p>${user.email}</p>
|
||||
<a href="${user.get_email_validation_url()}"
|
||||
style="display: block; text-decoration: none;
|
||||
width: max-content; margin: 0 auto;
|
||||
padding: 0.5em 1em; font-size:2em;
|
||||
border: 1px solid #2E6DA4; border-radius: 4px;
|
||||
color: #FFF; background-color: #337AB7;">
|
||||
Validate
|
||||
</a>
|
||||
</div>
|
||||
<hr style="margin-top: 20px;
|
||||
border-style: solid none none; border-color: #EEE"></hr>
|
||||
<div style="font-size: 80%; color: #777">
|
||||
<p>Button is not working? Paste this into your browser:</p>
|
||||
<p>${user.get_email_validation_url()}</p>
|
||||
<p>If you received this email by mistake, just ignore it.</p>
|
||||
</div>
|
||||
</div>
|
||||
</py:for>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,55 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import PoolMeta, Pool
|
||||
from trytond.tools import escape_wildcard
|
||||
|
||||
|
||||
class Email(metaclass=PoolMeta):
|
||||
__name__ = 'ir.email'
|
||||
|
||||
@classmethod
|
||||
def _match(cls, name, email):
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
yield from super()._match(name, email)
|
||||
domain = ['OR']
|
||||
for field in ['party.name', 'email']:
|
||||
for value in [name, email]:
|
||||
if value and len(value) >= 3:
|
||||
domain.append(
|
||||
(field, 'ilike', '%' + escape_wildcard(value) + '%'))
|
||||
for user in User.search([
|
||||
('email', '!=', ''),
|
||||
domain,
|
||||
], order=[]):
|
||||
yield user.party.name if user.party else '', user.email
|
||||
|
||||
|
||||
class EmailTemplate(metaclass=PoolMeta):
|
||||
__name__ = 'ir.email.template'
|
||||
|
||||
@classmethod
|
||||
def email_models(cls):
|
||||
return super().email_models() + ['web.user']
|
||||
|
||||
@classmethod
|
||||
def _get_address(cls, record):
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
address = super()._get_address(record)
|
||||
if isinstance(record, User):
|
||||
name = None
|
||||
if record.party:
|
||||
name = record.party.name
|
||||
address = (name, record.email)
|
||||
return address
|
||||
|
||||
@classmethod
|
||||
def _get_language(cls, record):
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
language = super()._get_language(record)
|
||||
if isinstance(record, User):
|
||||
if record.party:
|
||||
language = cls._get_language(record.party)
|
||||
return language
|
||||
@@ -0,0 +1,176 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Управление на партньор"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Парола"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Управление на партньор"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Потребител"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Потребителско име"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Ключ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Потребител"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Проверка"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
@@ -0,0 +1,163 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "Correu electrònic"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "Token del correu electrònic"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "Correu electrònic vàlid"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tercer"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Contrasenya"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Hash de la contrasenya"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "Token restableix la contrasenya"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "Expiració token restableix contrasenya"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr "Tercers secundaris"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tercer"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Usuari"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr "Galeta de dispositiu"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "Adreça IP"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr "Xarxa IP"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Nom usuari"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Clau"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Usuari"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Usuaris web"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Restableix la contrasenya"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Validació correu electrònic"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr "El correu electrònic de l'usuari web ha de ser únic."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr "La clau de sessió de l'usuari web ha de ser única."
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Restableix la contrasenya"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Valida correu electrònic"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Usuaris web"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Usuari web"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "Usuari Web - Tercers Secundaris"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "Intent d'autenticació usuari web"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "Sessió usuari web"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "El botó no funciona? Empega això al teu navegador:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr "Si no heu fet aquesta petició, podeu ignorar aquest correu."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Restableix la contrasenya"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr "Hem rebut una petició per restablir la contrasenya del vostre compte,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "El botó no funciona? Empega això al teu navegador:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Validació correu electrònic"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr "Si heu rebut aquest correu per error, ignoreu-lo."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "Només un pas més..."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Valida"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Restableix la contrasenya"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Valida correu electrònic"
|
||||
@@ -0,0 +1,169 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
@@ -0,0 +1,173 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "E-Mail"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "E-Mail Token"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "E-Mail gültig"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Partei"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Passwort"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Passwort Hash"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "Passwortrücksetzungstoken"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "Passwortrücksetzungstoken Verfall"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr "Sekundäre Parteien"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Partei"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Benutzer"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr "Geräte Cookie"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "IP-Adresse"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr "IP-Netz"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Benutzername"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Schlüssel"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Benutzer"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Webbenutzer"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Passwort zurücksetzen"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "E-Mail-Validierung"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
"Die E-Mail eines aktiven Webbenutzers kann nur einmal vergeben werden."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
"Der Sitzungsschlüssel eines Webbenutzers kann nur einmal vergeben werden."
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Passwort zurücksetzen"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "E-Mail validieren"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Webbenutzer"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Webbenutzer"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "Webbenutzer - Sekundäre Partei"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "Webbenutzer Authentifizierungsversuch"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "Webbenutzer Sitzung"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
"Wenn der Button nicht funktioniert, kopieren Sie bitte die folgende Zeile in"
|
||||
" die Adresszeile Ihres Browsers:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
"Ignorieren Sie bitte diese E-Mail, wenn Sie nicht der Urheber dieser Anfrage"
|
||||
" sind."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Passwort zurücksetzen"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
"Wir haben eine Anfrage zur Rücksetzung des Passworts für Ihr Konto erhalten,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
"Wenn der Button nicht funktioniert, kopieren Sie bitte die folgende Zeile in"
|
||||
" die Adresszeile Ihres Browsers:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "E-Mail-Validierung"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
"Ignorieren Sie bitte diese E-Mail, wenn Sie sie irrtümlich erhalten haben."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "Nur noch ein Schritt..."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Prüfen"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Passwort zurücksetzen"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "E-Mail validieren"
|
||||
@@ -0,0 +1,166 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "Correo electrónico"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "Token del correo electrónico"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "Correo electrónico válido"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tercero"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Contraseña"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Hash de la contraseña"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "Restablecer el token de la contraseña"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "Restablecer el token de expiración de la contraseña"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr "Terceros secundarios"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tercero"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Usuario"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr "Cookie del dispositivo"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "Dirección IP"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr "Red IP"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Nombre usuario"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Clave"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Usuario"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Usuarios web"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Restablecer contraseña"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Validación correo electrónico"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr "El correo electrónico del usuario web debe ser único."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr "La clave de sesión del usuario web debe ser única."
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Restablecer contraseña"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validar correo electrónico"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Usuarios web"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Usuario web"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "Usuario web - Tercero secundario"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "Intento de identificación usuario web"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "Sesión usuario web"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "¿El botón no funciona? Pega esto en tu navegador:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
"Si no habéis realizado esta petición, podéis ignorar este correo "
|
||||
"electrónico."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Restablecer contraseña"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
"Hemos recibido una solicitud para reiniciar la contraseña de vuestra cuenta,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "¿El botón no funciona? Pega esto en tu navegador:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Validación correo electrónico"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr "Si ha recibido este correo electrónico por error, por favor ignórelo."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "Solo un paso mas..."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Validar"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Restablecer contraseña"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validar correo electrónico"
|
||||
@@ -0,0 +1,163 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,165 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "E-kiri"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Osapool"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Salasõna"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Salasõna räsi"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Osapool"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Kasutaja"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "IP-aadress"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr "IP-võrk"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Logi sisse"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Võti"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Kasutaja"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Lähtesta salasõna"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Lähtesta salasõna"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Nupp ei tööta? Aseta see link brauseri aadressreale:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr "Kui sa ei teinud seda päringut, siis ignoreeri seda e-kirja."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Lähtesta salasõna"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr "Saime teate salasõna lähtestamiseks,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Nupp ei tööta? Aseta see link brauseri aadressreale:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Lähtesta salasõna"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,166 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "ایمیل"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "نشانه(Token) ایمیل"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "ایمیل معتبر است"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "نهاد/سازمان"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "کلمه عبور"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "کلمه عبور درهم"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "بازنشانی نشانه(Token) کلمه عبور"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "بازنشانی انقضای نشانه(Token) کلمه عبور"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "نهاد/سازمان"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "کاربر"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "آدرس آی پی"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr "آی پی شبکه"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "ورود به سیستم"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "کلید"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "کاربر"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "کاربران وب"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "بازنشانی رمز عبور"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "اعتبار سنجی ایمیل"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr "پست الکترونیکی کاربر فعال وب سایت باید منحصر به فرد باشد."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr "کلید جلسه کاربر وب باید منحصر به فرد باشد."
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "کاربران وب"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "کاربر وب"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "جلسه کاری کاربر وب"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "تلاش برای هوّیت سنجی کاربر وب"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "جلسه کاری کاربر وب"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "دکمه کار نمی کند؟ این آدرس را در مرورگر خود مرور کنید:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr "اگراین درخواست را نکرده باشید، می توانید این ایمیل را نادیده بگیرید."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "بازنشانی کلمه عبور"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr "مایک درخواست برای بازنشانی کلمه عبور حساب کاربری شما دریافت کردیم،"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "دکمه کار نمی کند؟ این آدرس را در مرورگر خود مرور کنید:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "اعتبار سنجی ایمیل"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr "اگر این ایمیل را به اشتباه دریافت کردید، فقط آن را نادیده بگیرید."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "فقط یک گام دیگه.."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "تایید اعتبار"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "بازنشانی کلمه عبور"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "ایمیل معتبر است"
|
||||
@@ -0,0 +1,169 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
@@ -0,0 +1,166 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "E-mail"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "Jeton d'E-mail"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "E-mail valide"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tiers"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Mot de passe"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Hachage de mot de passe"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "Jeton de réinitialisation du mot de passe"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "Expiration du jeton de réinitialisation du mot de passe"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr "Tiers secondaires"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tiers"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Utilisateur"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr "Cookie de l'appareil"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "Adresse IP"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr "Réseau IP"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Identifiant"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Clé"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Utilisateur"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Utilisateurs web"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Réinitialiser le mot de passe"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "E-mail de validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr "L’E-mail d'un utilisateur web actif doit être unique."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr "La session d'un utilisateur web doit être unique."
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Réinitialiser le mot de passe"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Valider l'e-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Utilisateurs web"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Utilisateur web"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "Utilisateur Web - Tiers secondaire"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "Tentative d'authentification d'utilisateur web"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "Session d'utilisateur web"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Le bouton ne fonctionne pas ? Copier ceci dans votre navigateur :"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
"Si vous n'avez pas fait cette demande, vous pouvez ignorer cet E-mail."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Réinitialiser le mot de passe"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
"Nous avons reçu une demande de réinitialisation du mot de passe de votre "
|
||||
"compte,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Le bouton ne fonctionne pas ? Copier ceci dans votre navigateur :"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Validation d'E-mail"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr "Si vous avez reçu cet E-mail par erreur, ignorez le."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "Encore une étape.."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Valider"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Réinitialiser le mot de passe"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Valider l'E-mail"
|
||||
@@ -0,0 +1,165 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "E-mail"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "E-mail cím leellenőrizve"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Ügyfél"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Jelszó"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Jelszó hash"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr "Másodlagos ügyfelek"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Ügyfél"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Felhasználó"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Bejelentkezés"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Kulcs"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Felhasználó"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Webáruház felhasználók"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Jelszó visszaállítása"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "E-mail cím ellenőrzés"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr "Nem lehet több aktív webes felhasználónak ugyanaz az e-mail címe."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Jelszó visszaállítása"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "E-mail cím leellenőrzése"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Webáruház felhasználók"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Webáruház felhasználó"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "A gomb nem működik? Másolja be ezt a böngészőjébe:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
"Ha nem Ön küldte ezt a kérés, akkor nyugodtan hagyja figyelmen kívül ezt az "
|
||||
"e-mailt."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Jelszó visszaállítása"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr "Kaptunk egy kérést, hogy állítsuk vissza a felhasználója jelszavát,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "A gomb nem működik? Másolja be ezt a böngészőjébe:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "E-mail cím ellenőrzés"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr "Ha tévedésből kapta ezt az e-mailt, hagyja nyugodtan figyelmen kívül."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "Csak még egy lépés.."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Ellenőrzés"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Jelszó visszaállítása"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "E-mail cím leellenőrzése"
|
||||
@@ -0,0 +1,165 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "E-mail"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Pihak"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Kata sandi"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Pihak"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Pengguna"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "Alamat IP"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Kunci"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Pengguna"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Pengguna Web"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Atur Ulang Kata Sandi"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Atur Ulang Kata Sandi"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Tombol tidak berfungsi? Lekatkan ini pada browser Anda:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr "Jika bukan Anda yang membuat permintaan ini, abaikan email ini."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Atur Ulang Kata Sandi"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr "Kami menerima permintaan untuk mengatur ulang kata sandi akun Anda,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Tombol tidak berfungsi? Lekatkan ini pada browser Anda:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Validasi Email"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr "Jika Anda menerima email ini karena kesalahan, abaikan saja."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "Tinggal satu langkah lagi..."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Atur Ulang Kata Sandi"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,181 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "E-mail"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "_E-Mail..."
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "_E-Mail..."
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Controparte"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Hash della Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Controparte"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Utente"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "Indirizzo IP"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Login"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Chiave"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Utente"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "Sessione"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "Sessione"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Validate"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
@@ -0,0 +1,173 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "ອີ-ເມວລ໌"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "ອີ-ເມວລ໌ ຢັງຢືນຕົວຕົນ"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "ອີ-ເມວລ໌ ຖືກຕ້ອງ"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "ພາກສ່ວນ"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "ລະຫັດຜ່ານ"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "ລະຫັດຜ່ານປະສົມ"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "ຕັ້ງລະຫັດຢັ້ງຢືນຜ່ານຄືນໃໝ່"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "ການຕັ້ງລະຫັດຢັ້ງຢືນຜ່ານຄືນໃໝ່ໝົດເວລາແລ້ວ"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "ພາກສ່ວນ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "ຜູ້ໃຊ້"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "ເຊື່ອມຕໍ່ເຂົ້າລະບົບ"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "ຄຳສຳຄັນ"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "ຜູ້ໃຊ້"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "ຜູ້ໃຊ້ງານເວັບ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "ເທື່ອເຂົ້າໃຊ້ຂອງຜູ້ໃຊ້ງານເວັບ"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "ພະຍາຍາມກວດສອບສິດທີ່ຖືກຕ້ອງຂອງຜູ້ໃຊ້ງານເວັບ"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "ເທື່ອເຂົ້າໃຊ້ຂອງຜູ້ໃຊ້ງານເວັບ"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "ປຸ່ມບໍ່ເຮັດວຽກບໍ? ໃຫ້ ວາງ ອັນນີ້ລົງໃສ່ ໂຕທ່ອງເວັບຂອງທ່ານ:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr "ຖ້າຫາກທ່ານບໍ່ໄດ້ຮ້ອງຂໍ ອ-ເມວລ໌ ນີ້, ທ່ານບໍ່ຕ້ອງຮັບຮູ້ ອີ-ເມວລ໌ ນີ້."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "ຕັ້ງຄ່າລະຫັດຜ່ານຄືນໃໝ່"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr "ພວກເຮົາໄດ້ຮັບຄຳຮ້ອງຂໍໃຫ້ຕັ້ງຄ່າລະຫັດຜ່ານບັນຊີໃຊ້ງານຂອງທ່ານຄືນໃໝ່,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "ປຸ່ມບໍ່ເຮັດວຽກບໍ? ໃຫ້ ວາງ ອັນນີ້ລົງໃສ່ ໂຕທ່ອງເວັບຂອງທ່ານ:"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "ການຢືນຢັນຄວາມຖືກຕ້ອງ ອີ-ເມວລ໌"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
"ຖ້າຫາກທ່ານໄດ້ຮັບ ອີ-ເມວລ໌ ນີ້ ໂດຍຄວາມຜິດພາດໃດໜຶ່ງ, ພຽງແຕ່ໃຫ້ທ່ານ ບໍ່ຮັບຮູ້ "
|
||||
"ອີ-ເມວລ໌ ນີ້ກໍພໍ."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "ພຽງແຕ່ອີກບາດກ້າວໜຶ່ງທໍ່ນັ້ນ.."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "ກວດສອບຄວາມຖືກຕ້ອງ"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "ຕັ້ງຄ່າລະຫັດຜ່ານຄືນໃໝ່"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "ກວດສອບຄວາມຖືກຕ້ອງ ອີ-ເມວລ໌"
|
||||
@@ -0,0 +1,170 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Kontrahentas"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Kontrahentas"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Naudotojas"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "IP adresas"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Naudotojas"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Atstatyti slaptažodį"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Atstatyti slaptažodį"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
@@ -0,0 +1,166 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "E-mail"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "E-mail token"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "E-mail geldig"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Relatie"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Paswoord"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Wachtwoord Hash"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "Reset wachtwoord token"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "Reset wachtwoord token verlopen"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr "Secundaire Relaties"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Relatie"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Gebruiker"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "IP Adres"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr "IP-netwerk"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Inlognaam"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Sleutel"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Gebruiker"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Webgebruikers"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "E-mailvalidatie"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr "E-mail van actieve webgebruiker moet uniek zijn."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr "Webgebruikerssessiesleutel moet uniek zijn."
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Email valideren"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Webgebruikers"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web gebruiker"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "Webgebruiker -Secundaire Relatie"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "Poging tot authenticatie van webgebruikers"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "Webgebruikerssessie"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Knop werkt niet? Plak dit in uw browser:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr "Als je dit verzoek niet hebt gedaan, kun je deze e-mail negeren."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset wachtwoord"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
"We hebben een verzoek ontvangen om het wachtwoord voor uw account opnieuw in"
|
||||
" te stellen,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Knop werkt niet? Plak dit in uw browser:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "E-mailvalidatie"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
"Als je deze e-mail per ongeluk hebt ontvangen, negeer deze dan gewoon."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "Nog maar een stap.."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Goedkeuren"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset wachtwoord"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Email valideren"
|
||||
@@ -0,0 +1,169 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
@@ -0,0 +1,170 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "E-mail"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "Token do E-mail"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "E-mail Válido"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Pessoa"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Senha"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Hash da Senha"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "Redefinir Token da Senha"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "Redefinir Validade do Token da Senha"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Pessoa"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Usuário"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Entrar"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Chave"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Usuário"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Usuário Web"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "Sessão de Usuário Web"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "Tentativa de autenticação do usuário Web"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "Sessão de Usuário Web"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "O botão não está funcionando? Cole isso em seu navegador:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr "Se você não fez esta solicitação, você pode ignorar esse email."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Redefinir senha"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr "Nós recebemos uma solicitação para redefinir a senha da sua conta,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Botão não está funcionando? Cole isso no seu navegador:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email de Validação"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr "Se você recebeu esse email por engano, apenas ignore-o."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "Apenas mais um passo..."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Validar"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Redefinir senha"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validar E-mail"
|
||||
@@ -0,0 +1,164 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Parte"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Parola"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Parte"
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Resetare parola"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Resetare Parola"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,176 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Организации"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Пароль"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Организации"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Пользователь"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Логин"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Ключ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Пользователь"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Утвержденный"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
@@ -0,0 +1,170 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "e-naslov"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "Žeton e-naslova"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "e-naslov veljaven"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "Partner"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "Geslo"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "Zgoščena vrednost gesla"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "Žeton za ponastavitev gesla"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "Zapadlost ponastavitvenga žetona"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "Partner"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Uporabnik"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "Prijava"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "Ključ"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "Uporabnik"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Spletni uporabnik"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "Seja spletnega uporabnika"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "Poskus overjanja spletnega uporabnika"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "Seja spletnega uporabnika"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Gumb ne deluje? Prilepite sledeče v vaš brskalnik:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr "Če niste zahtevali tega sporočila, ga preprosto prezrite."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Ponastavitev gesla"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr "Prejeli smo zahtevek za ponastavitev gesla vašega računa,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "Gumb ne deluje? Prilepite sledeče v vaš brskalnik:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Preverjanje elektronskega naslova"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr "Če ste po pomoti prejeli to sporočilo, ga preprosto prezrite."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "Samo še en korak ..."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "Preveri veljavnost"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Ponastavi geslo"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Preveri e-naslov"
|
||||
@@ -0,0 +1,169 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web Users"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web Users"
|
||||
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "Email Validation"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "Reset Password"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "Validate E-mail"
|
||||
@@ -0,0 +1,166 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:web.user,email:"
|
||||
msgid "E-mail"
|
||||
msgstr "电子邮件"
|
||||
|
||||
msgctxt "field:web.user,email_token:"
|
||||
msgid "E-mail Token"
|
||||
msgstr "电子邮件令牌"
|
||||
|
||||
msgctxt "field:web.user,email_valid:"
|
||||
msgid "E-mail Valid"
|
||||
msgstr "电子邮件有效"
|
||||
|
||||
msgctxt "field:web.user,party:"
|
||||
msgid "Party"
|
||||
msgstr "参与者"
|
||||
|
||||
msgctxt "field:web.user,password:"
|
||||
msgid "Password"
|
||||
msgstr "密码"
|
||||
|
||||
msgctxt "field:web.user,password_hash:"
|
||||
msgid "Password Hash"
|
||||
msgstr "密码HASH"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token:"
|
||||
msgid "Reset Password Token"
|
||||
msgstr "重置密码令牌"
|
||||
|
||||
msgctxt "field:web.user,reset_password_token_expire:"
|
||||
msgid "Reset Password Token Expire"
|
||||
msgstr "重置密码令牌过期"
|
||||
|
||||
msgctxt "field:web.user,secondary_parties:"
|
||||
msgid "Secondary Parties"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,party:"
|
||||
msgid "Party"
|
||||
msgstr "参与者"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:web.user-party.party.secondary,user:"
|
||||
msgid "User"
|
||||
msgstr "用户"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,device_cookie:"
|
||||
msgid "Device Cookie"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_address:"
|
||||
msgid "IP Address"
|
||||
msgstr "IP地址"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,ip_network:"
|
||||
msgid "IP Network"
|
||||
msgstr "IP网络"
|
||||
|
||||
msgctxt "field:web.user.authenticate.attempt,login:"
|
||||
msgid "Login"
|
||||
msgstr "登录"
|
||||
|
||||
msgctxt "field:web.user.session,key:"
|
||||
msgid "Key"
|
||||
msgstr "密匙"
|
||||
|
||||
msgctxt "field:web.user.session,user:"
|
||||
msgid "User"
|
||||
msgstr "用户"
|
||||
|
||||
msgctxt "model:ir.action,name:act_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web 用户"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_reset_password"
|
||||
msgid "Reset Password"
|
||||
msgstr "重置密码"
|
||||
|
||||
msgctxt "model:ir.action,name:report_email_validation"
|
||||
msgid "Email Validation"
|
||||
msgstr "电子邮件验证"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_email_unique"
|
||||
msgid "E-mail of active web user must be unique."
|
||||
msgstr "已经激活的Web用户,电子邮件不能重复."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_user_session_key_unique"
|
||||
msgid "Web user session key must be unique."
|
||||
msgstr "Web用户会话密钥必须唯一."
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_reset_password_button"
|
||||
msgid "Reset Password"
|
||||
msgstr "重置密码"
|
||||
|
||||
msgctxt "model:ir.model.button,string:user_validate_email_button"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "验证电子邮件"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_user_form"
|
||||
msgid "Web Users"
|
||||
msgstr "Web 用户"
|
||||
|
||||
msgctxt "model:web.user,name:"
|
||||
msgid "Web User"
|
||||
msgstr "Web 用户"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:web.user-party.party.secondary,name:"
|
||||
msgid "Web User - Secondary Party"
|
||||
msgstr "web 用户会话"
|
||||
|
||||
msgctxt "model:web.user.authenticate.attempt,name:"
|
||||
msgid "Web User Authenticate Attempt"
|
||||
msgstr "Web用户验证尝试"
|
||||
|
||||
msgctxt "model:web.user.session,name:"
|
||||
msgid "Web User Session"
|
||||
msgstr "web 用户会话"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "按钮不起作用? 将此粘贴到浏览器的地址栏中:"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "If you didn't make this request, you can ignore this email."
|
||||
msgstr "如果你没有发出过此请求,就忽略此电子邮件."
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "Reset Password"
|
||||
msgstr "重置密码"
|
||||
|
||||
msgctxt "report:web.user.email_reset_password:"
|
||||
msgid "We received a request to reset the password for your account,"
|
||||
msgstr "我们收到了重置你的帐户密码的请求,"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Button is not working? Paste this into your browser:"
|
||||
msgstr "按钮不起作用? 将此粘贴到浏览器的地址栏中:"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Email Validation"
|
||||
msgstr "电子邮件验证"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "If you received this email by mistake, just ignore it."
|
||||
msgstr "如果误收到此电子邮件,请忽略它。"
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Just one more step.."
|
||||
msgstr "仅一步之遥.."
|
||||
|
||||
msgctxt "report:web.user.email_validation:"
|
||||
msgid "Validate"
|
||||
msgstr "验证"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Reset Password"
|
||||
msgstr "重置密码"
|
||||
|
||||
msgctxt "view:web.user:"
|
||||
msgid "Validate E-mail"
|
||||
msgstr "验证电子邮件"
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data grouped="1">
|
||||
<record model="ir.message" id="msg_user_email_unique">
|
||||
<field name="text">E-mail of active web user must be unique.</field>
|
||||
</record>
|
||||
<record model="ir.message" id="msg_user_session_key_unique">
|
||||
<field name="text">Web user session key must be unique.</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
@@ -0,0 +1,28 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import PoolMeta, Pool
|
||||
|
||||
|
||||
class Replace(metaclass=PoolMeta):
|
||||
__name__ = 'party.replace'
|
||||
|
||||
@classmethod
|
||||
def fields_to_replace(cls):
|
||||
return super().fields_to_replace() + [
|
||||
('web.user', 'party'),
|
||||
('web.user-party.party.secondary', 'party'),
|
||||
]
|
||||
|
||||
|
||||
class Erase(metaclass=PoolMeta):
|
||||
__name__ = 'party.erase'
|
||||
|
||||
def to_erase(self, party_id):
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
to_erase = super().to_erase(party_id)
|
||||
to_erase.append(
|
||||
(User, [('party', '=', party_id)], True,
|
||||
['email'],
|
||||
[None]))
|
||||
return to_erase
|
||||
Executable
+152
@@ -0,0 +1,152 @@
|
||||
#!/usr/bin/env python3
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
import io
|
||||
import os
|
||||
import re
|
||||
from configparser import ConfigParser
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
|
||||
def read(fname):
|
||||
return io.open(
|
||||
os.path.join(os.path.dirname(__file__), fname),
|
||||
'r', encoding='utf-8').read()
|
||||
|
||||
|
||||
def get_require_version(name):
|
||||
if minor_version % 2:
|
||||
require = '%s >= %s.%s.dev0, < %s.%s'
|
||||
else:
|
||||
require = '%s >= %s.%s, < %s.%s'
|
||||
require %= (name, major_version, minor_version,
|
||||
major_version, minor_version + 1)
|
||||
return require
|
||||
|
||||
|
||||
config = ConfigParser()
|
||||
config.read_file(open(os.path.join(os.path.dirname(__file__), 'tryton.cfg')))
|
||||
info = dict(config.items('tryton'))
|
||||
for key in ('depends', 'extras_depend', 'xml'):
|
||||
if key in info:
|
||||
info[key] = info[key].strip().splitlines()
|
||||
version = info.get('version', '0.0.1')
|
||||
major_version, minor_version, _ = version.split('.', 2)
|
||||
major_version = int(major_version)
|
||||
minor_version = int(minor_version)
|
||||
name = 'trytond_web_user'
|
||||
|
||||
download_url = 'http://downloads.tryton.org/%s.%s/' % (
|
||||
major_version, minor_version)
|
||||
if minor_version % 2:
|
||||
version = '%s.%s.dev0' % (major_version, minor_version)
|
||||
download_url = (
|
||||
'hg+http://hg.tryton.org/modules/%s#egg=%s-%s' % (
|
||||
name[8:], name, version))
|
||||
local_version = []
|
||||
if os.environ.get('CI_JOB_ID'):
|
||||
local_version.append(os.environ['CI_JOB_ID'])
|
||||
else:
|
||||
for build in ['CI_BUILD_NUMBER', 'CI_JOB_NUMBER']:
|
||||
if os.environ.get(build):
|
||||
local_version.append(os.environ[build])
|
||||
else:
|
||||
local_version = []
|
||||
break
|
||||
if local_version:
|
||||
version += '+' + '.'.join(local_version)
|
||||
|
||||
requires = []
|
||||
for dep in info.get('depends', []):
|
||||
if not re.match(r'(ir|res)(\W|$)', dep):
|
||||
requires.append(get_require_version('trytond_%s' % dep))
|
||||
requires.append(get_require_version('trytond'))
|
||||
|
||||
tests_require = []
|
||||
dependency_links = []
|
||||
if minor_version % 2:
|
||||
dependency_links.append(
|
||||
'https://trydevpi.tryton.org/?local_version='
|
||||
+ '.'.join(local_version))
|
||||
|
||||
setup(name=name,
|
||||
version=version,
|
||||
description='Tryton module to manage Web users',
|
||||
long_description=read('README.rst'),
|
||||
author='Tryton',
|
||||
author_email='bugs@tryton.org',
|
||||
url='http://www.tryton.org/',
|
||||
download_url=download_url,
|
||||
project_urls={
|
||||
"Bug Tracker": 'https://bugs.tryton.org/',
|
||||
"Documentation": 'https://docs.tryton.org/',
|
||||
"Forum": 'https://www.tryton.org/forum',
|
||||
"Source Code": 'https://hg.tryton.org/modules/web_user',
|
||||
},
|
||||
keywords='web user',
|
||||
package_dir={'trytond.modules.web_user': '.'},
|
||||
packages=(
|
||||
['trytond.modules.web_user']
|
||||
+ ['trytond.modules.web_user.%s' % p for p in find_packages()]
|
||||
),
|
||||
package_data={
|
||||
'trytond.modules.web_user': (info.get('xml', [])
|
||||
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', '*.html',
|
||||
'icons/*.svg', 'tests/*.rst']),
|
||||
},
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Plugins',
|
||||
'Framework :: Tryton',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Financial and Insurance Industry',
|
||||
'Intended Audience :: Legal Industry',
|
||||
'License :: OSI Approved :: '
|
||||
'GNU General Public License v3 or later (GPLv3+)',
|
||||
'Natural Language :: Bulgarian',
|
||||
'Natural Language :: Catalan',
|
||||
'Natural Language :: Czech',
|
||||
'Natural Language :: Dutch',
|
||||
'Natural Language :: English',
|
||||
'Natural Language :: Finnish',
|
||||
'Natural Language :: French',
|
||||
'Natural Language :: German',
|
||||
'Natural Language :: Hungarian',
|
||||
'Natural Language :: Indonesian',
|
||||
'Natural Language :: Italian',
|
||||
'Natural Language :: Persian',
|
||||
'Natural Language :: Polish',
|
||||
'Natural Language :: Portuguese (Brazilian)',
|
||||
'Natural Language :: Romanian',
|
||||
'Natural Language :: Russian',
|
||||
'Natural Language :: Slovenian',
|
||||
'Natural Language :: Spanish',
|
||||
'Natural Language :: Turkish',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
'Topic :: Office/Business',
|
||||
],
|
||||
license='GPL-3',
|
||||
python_requires='>=3.6',
|
||||
install_requires=requires,
|
||||
extras_require={
|
||||
'BCrypt': ['bcrypt'],
|
||||
'html2text': ['html2text'],
|
||||
},
|
||||
dependency_links=dependency_links,
|
||||
zip_safe=False,
|
||||
entry_points="""
|
||||
[trytond.modules]
|
||||
web_user = trytond.modules.web_user
|
||||
""",
|
||||
test_suite='tests',
|
||||
test_loader='trytond.test_loader:Loader',
|
||||
tests_require=tests_require,
|
||||
)
|
||||
@@ -0,0 +1,9 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
try:
|
||||
from trytond.modules.web_user.tests.test_web_user import suite
|
||||
except ImportError:
|
||||
from .test_web_user import suite
|
||||
|
||||
__all__ = ['suite']
|
||||
@@ -0,0 +1,208 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
import unittest
|
||||
|
||||
from unittest.mock import patch, ANY
|
||||
|
||||
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
|
||||
from trytond.tests.test_tryton import suite as test_suite
|
||||
from trytond.pool import Pool
|
||||
from trytond.config import config
|
||||
|
||||
from trytond.modules.party.tests import PartyCheckEraseMixin
|
||||
from trytond.modules.web_user import user as user_module
|
||||
|
||||
VALIDATION_URL = 'http://www.example.com/validation'
|
||||
RESET_PASSWORD_URL = 'http://www.example.com/reset_password'
|
||||
FROM = 'tryton@example.com'
|
||||
|
||||
|
||||
class WebUserTestCase(PartyCheckEraseMixin, ModuleTestCase):
|
||||
'Test Web User module'
|
||||
module = 'web_user'
|
||||
|
||||
def setUp(self):
|
||||
super(WebUserTestCase, self).setUp()
|
||||
validation_url = config.get('web', 'email_validation_url', default='')
|
||||
config.set('web', 'email_validation_url', VALIDATION_URL)
|
||||
self.addCleanup(
|
||||
lambda: config.set('web', 'email_validation_url', validation_url))
|
||||
reset_password_url = config.get(
|
||||
'web', 'reset_password_url', default='')
|
||||
config.set('web', 'reset_password_url', RESET_PASSWORD_URL)
|
||||
self.addCleanup(lambda: config.set(
|
||||
'web', 'reset_password_url', reset_password_url))
|
||||
reset_from = config.get('email', 'from', default='')
|
||||
config.set('email', 'from', FROM)
|
||||
self.addCleanup(lambda: config.set('email', 'from', reset_from))
|
||||
|
||||
length = config.get('password', 'length', default='')
|
||||
config.set('password', 'length', '4')
|
||||
self.addCleanup(config.set, 'password', 'length', length)
|
||||
|
||||
entropy = config.get('password', 'entropy', default='')
|
||||
config.set('password', 'entropy', '0.8')
|
||||
self.addCleanup(config.set, 'password', 'entropy', entropy)
|
||||
|
||||
def create_user(self, email, password):
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
|
||||
user = User(email=email)
|
||||
user.password = password
|
||||
user.save()
|
||||
|
||||
self.assertEqual(user.password, 'x' * 10)
|
||||
self.assertNotEqual(user.password_hash, password)
|
||||
|
||||
def check_user(self, email, password):
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
|
||||
user, = User.search([('email', '=', email)])
|
||||
auth_user = User.authenticate(email, password)
|
||||
self.assertEqual(auth_user, user)
|
||||
|
||||
bad_user = User.authenticate(email, password + 'wrong')
|
||||
self.assertEqual(bad_user, None)
|
||||
|
||||
bad_user = User.authenticate(email + 'wrong', password)
|
||||
self.assertEqual(bad_user, None)
|
||||
|
||||
@with_transaction()
|
||||
def test_default_hash(self):
|
||||
'Test default hash'
|
||||
self.create_user('user@example.com', 'secret')
|
||||
self.check_user('user@example.com', 'secret')
|
||||
|
||||
@with_transaction()
|
||||
def test_session(self):
|
||||
'Test session'
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
|
||||
user = User(email='user@example.com')
|
||||
user.save()
|
||||
|
||||
key = user.new_session()
|
||||
self.assertTrue(key)
|
||||
|
||||
session_user = User.get_user(key)
|
||||
self.assertEqual(session_user, user)
|
||||
|
||||
wrong_session_user = User.get_user('foo')
|
||||
self.assertEqual(wrong_session_user, None)
|
||||
|
||||
@with_transaction()
|
||||
def test_validate_email(self):
|
||||
'Test email validation'
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
|
||||
user = User(email='user@example.com')
|
||||
user.save()
|
||||
self.assertFalse(user.email_valid)
|
||||
self.assertFalse(user.email_token)
|
||||
|
||||
with patch.object(user_module, 'sendmail_transactional') as sendmail:
|
||||
User.validate_email([user])
|
||||
sendmail.assert_called_once_with(FROM, ['user@example.com'], ANY)
|
||||
|
||||
token = user.email_token
|
||||
self.assertTrue(token)
|
||||
|
||||
self.assertEqual(
|
||||
user.get_email_validation_url(),
|
||||
'%s?token=%s' % (VALIDATION_URL, token))
|
||||
|
||||
self.assertFalse(
|
||||
User.validate_email_url(VALIDATION_URL))
|
||||
self.assertFalse(
|
||||
User.validate_email_url('%s?token=12345' % VALIDATION_URL))
|
||||
|
||||
self.assertTrue(
|
||||
User.validate_email_url(user.get_email_validation_url()))
|
||||
|
||||
self.assertTrue(user.email_valid)
|
||||
self.assertFalse(user.email_token)
|
||||
|
||||
@with_transaction()
|
||||
def test_reset_password(self):
|
||||
'Test reset password'
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
|
||||
user = User(email='user@example.com', email_valid=True)
|
||||
user.save()
|
||||
self.assertFalse(user.password_hash)
|
||||
|
||||
with patch.object(user_module, 'sendmail_transactional') as sendmail:
|
||||
User.reset_password([user])
|
||||
sendmail.assert_called_once_with(FROM, ['user@example.com'], ANY)
|
||||
|
||||
token = user.reset_password_token
|
||||
self.assertTrue(token)
|
||||
self.assertTrue(user.reset_password_token_expire)
|
||||
|
||||
self.assertEqual(
|
||||
user.get_email_reset_password_url(),
|
||||
'%s?email=user%%40example.com&token=%s'
|
||||
% (RESET_PASSWORD_URL, token))
|
||||
|
||||
self.assertFalse(
|
||||
User.set_password_token('foo@example.com', '12345', 'secret'))
|
||||
self.assertFalse(
|
||||
User.set_password_token('user@example.com', '12345', 'secret'))
|
||||
self.assertFalse(
|
||||
User.set_password_token('foo@example.com', token, 'secret'))
|
||||
self.assertFalse(user.password_hash)
|
||||
|
||||
self.assertTrue(User.set_password_url(
|
||||
user.get_email_reset_password_url(), 'secret'))
|
||||
|
||||
self.assertTrue(user.password_hash)
|
||||
self.assertFalse(user.reset_password_token)
|
||||
self.assertFalse(user.reset_password_token_expire)
|
||||
|
||||
@with_transaction()
|
||||
def test_create_format_email(self):
|
||||
"Test create format email"
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
|
||||
user = User(email='FOO@Example.com')
|
||||
user.save()
|
||||
|
||||
self.assertEqual(user.email, 'foo@example.com')
|
||||
|
||||
@with_transaction()
|
||||
def test_write_format_email(self):
|
||||
"Test write format email"
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
|
||||
user = User(email='foo@example.com')
|
||||
user.save()
|
||||
User.write([user], {'email': 'BAR@Example.com'})
|
||||
|
||||
self.assertEqual(user.email, 'bar@example.com')
|
||||
|
||||
@with_transaction()
|
||||
def test_authenticate_case_insensitive(self):
|
||||
"Test authenticate case insensitive"
|
||||
pool = Pool()
|
||||
User = pool.get('web.user')
|
||||
|
||||
user = User(email='foo@example.com', password='secret')
|
||||
user.save()
|
||||
auth_user = User.authenticate('FOO@Example.com', 'secret')
|
||||
|
||||
self.assertEqual(auth_user, user)
|
||||
|
||||
|
||||
def suite():
|
||||
suite = test_suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||
WebUserTestCase))
|
||||
return suite
|
||||
@@ -0,0 +1,15 @@
|
||||
[tox]
|
||||
envlist = {py36,py37,py38,py39}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
|
||||
|
||||
[testenv]
|
||||
commands = {envpython} setup.py test
|
||||
deps =
|
||||
{py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5
|
||||
pypy3-postgresql: psycopg2cffi >= 2.5
|
||||
py36-sqlite: sqlitebck
|
||||
setenv =
|
||||
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
|
||||
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
|
||||
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
||||
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
|
||||
install_command = pip install --pre --find-links https://trydevpi.tryton.org/?local_version={env:CI_JOB_ID:{env:CI_BUILD_NUMBER}.{env:CI_JOB_NUMBER}} {opts} {packages}
|
||||
@@ -0,0 +1,8 @@
|
||||
[tryton]
|
||||
version=6.0.1
|
||||
depends:
|
||||
ir
|
||||
party
|
||||
xml:
|
||||
user.xml
|
||||
message.xml
|
||||
@@ -0,0 +1,517 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import datetime
|
||||
import hashlib
|
||||
import logging
|
||||
import random
|
||||
import string
|
||||
import time
|
||||
import urllib.parse
|
||||
import warnings
|
||||
from email.header import Header
|
||||
|
||||
try:
|
||||
import bcrypt
|
||||
except ImportError:
|
||||
bcrypt = None
|
||||
try:
|
||||
import html2text
|
||||
except ImportError:
|
||||
html2text = None
|
||||
from sql import Literal
|
||||
from sql.conditionals import Coalesce
|
||||
from sql.functions import CurrentTimestamp
|
||||
from sql.operators import Equal
|
||||
|
||||
from trytond.config import config
|
||||
from trytond.exceptions import RateLimitException
|
||||
from trytond.model import (
|
||||
ModelView, ModelSQL, DeactivableMixin, fields, Unique, Exclude,
|
||||
avatar_mixin)
|
||||
from trytond.pool import Pool
|
||||
from trytond.pyson import Eval
|
||||
from trytond.report import Report, get_email
|
||||
from trytond.transaction import Transaction
|
||||
from trytond.sendmail import sendmail_transactional
|
||||
|
||||
from trytond.ir.session import token_hex
|
||||
from trytond.res.user import LoginAttempt, CRYPT_CONTEXT
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _send_email(from_, users, email_func):
|
||||
from_cfg = config.get('email', 'from')
|
||||
for user in users:
|
||||
msg, title = email_func(user)
|
||||
msg['From'] = from_ or from_cfg
|
||||
msg['To'] = user.email
|
||||
msg['Subject'] = Header(title, 'utf-8')
|
||||
sendmail_transactional(from_cfg, [user.email], msg)
|
||||
|
||||
|
||||
def _add_params(url, **params):
|
||||
parts = urllib.parse.urlsplit(url)
|
||||
query = urllib.parse.parse_qsl(parts.query)
|
||||
for key, value in sorted(params.items()):
|
||||
query.append((key, value))
|
||||
parts = list(parts)
|
||||
parts[3] = urllib.parse.urlencode(query)
|
||||
return urllib.parse.urlunsplit(parts)
|
||||
|
||||
|
||||
def _extract_params(url):
|
||||
return urllib.parse.parse_qsl(urllib.parse.urlsplit(url).query)
|
||||
|
||||
|
||||
class User(avatar_mixin(100), DeactivableMixin, ModelSQL, ModelView):
|
||||
'Web User'
|
||||
__name__ = 'web.user'
|
||||
_rec_name = 'email'
|
||||
|
||||
email = fields.Char('E-mail', select=True,
|
||||
states={
|
||||
'required': Eval('active', True),
|
||||
},
|
||||
depends=['active'])
|
||||
email_valid = fields.Boolean('E-mail Valid')
|
||||
email_token = fields.Char('E-mail Token', select=True)
|
||||
password_hash = fields.Char('Password Hash')
|
||||
password = fields.Function(
|
||||
fields.Char('Password'), 'get_password', setter='set_password')
|
||||
reset_password_token = fields.Char('Reset Password Token', select=True)
|
||||
reset_password_token_expire = fields.Timestamp(
|
||||
'Reset Password Token Expire')
|
||||
party = fields.Many2One('party.party', 'Party', ondelete='RESTRICT')
|
||||
secondary_parties = fields.Many2Many(
|
||||
'web.user-party.party.secondary', 'user', 'party', "Secondary Parties")
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(User, cls).__setup__()
|
||||
table = cls.__table__()
|
||||
cls._sql_constraints += [
|
||||
('email_exclude',
|
||||
Exclude(table, (table.email, Equal),
|
||||
where=table.active == Literal(True)),
|
||||
'web_user.msg_user_email_unique'),
|
||||
]
|
||||
cls._buttons.update({
|
||||
'validate_email': {
|
||||
'readonly': Eval('email_valid', False),
|
||||
'depends': ['email_valid'],
|
||||
},
|
||||
'reset_password': {
|
||||
'readonly': ~Eval('email_valid', False),
|
||||
'depends': ['email_valid'],
|
||||
},
|
||||
})
|
||||
|
||||
@classmethod
|
||||
def __register__(cls, module_name):
|
||||
super(User, cls).__register__(module_name)
|
||||
|
||||
table_h = cls.__table_handler__(module_name)
|
||||
|
||||
# Migration from 4.6
|
||||
table_h.not_null_action('email', 'remove')
|
||||
|
||||
# Migration from 4.6: replace unique by exclude
|
||||
table_h.drop_constraint('email_unique')
|
||||
|
||||
@classmethod
|
||||
def default_email_valid(cls):
|
||||
return False
|
||||
|
||||
def get_password(self, name):
|
||||
return 'x' * 10
|
||||
|
||||
@classmethod
|
||||
def set_password(cls, users, name, value):
|
||||
pool = Pool()
|
||||
User = pool.get('res.user')
|
||||
|
||||
if value == 'x' * 10:
|
||||
return
|
||||
|
||||
if Transaction().user and value:
|
||||
User.validate_password(value, users)
|
||||
|
||||
to_write = []
|
||||
for user in users:
|
||||
to_write.extend([[user], {
|
||||
'password_hash': cls.hash_password(value),
|
||||
}])
|
||||
cls.write(*to_write)
|
||||
|
||||
@classmethod
|
||||
def _format_email(cls, users):
|
||||
for user in users:
|
||||
email = user.email.lower()
|
||||
if email != user.email:
|
||||
user.email = email
|
||||
cls.save(users)
|
||||
|
||||
@classmethod
|
||||
def create(cls, vlist):
|
||||
users = super(User, cls).create(vlist)
|
||||
cls._format_email(users)
|
||||
return users
|
||||
|
||||
@classmethod
|
||||
def write(cls, *args):
|
||||
super(User, cls).write(*args)
|
||||
users = sum(args[0:None:2], [])
|
||||
cls._format_email(users)
|
||||
|
||||
@classmethod
|
||||
def authenticate(cls, email, password):
|
||||
pool = Pool()
|
||||
Attempt = pool.get('web.user.authenticate.attempt')
|
||||
email = email.lower()
|
||||
|
||||
count_ip = Attempt.count_ip()
|
||||
if count_ip > config.getint(
|
||||
'session', 'max_attempt_ip_network', default=300):
|
||||
# Do not add attempt as the goal is to prevent flooding
|
||||
raise RateLimitException()
|
||||
count = Attempt.count(email)
|
||||
if count > config.getint('session', 'max_attempt', default=5):
|
||||
Attempt.add(email)
|
||||
raise RateLimitException()
|
||||
# Prevent brute force attack
|
||||
Transaction().atexit(time.sleep, 2 ** count - 1)
|
||||
|
||||
users = cls.search([('email', '=', email)])
|
||||
if users:
|
||||
user, = users
|
||||
valid, new_hash = cls.check_password(password, user.password_hash)
|
||||
if valid:
|
||||
if new_hash:
|
||||
logger.info("Update password hash for %s", user.id)
|
||||
with Transaction().new_transaction() as transaction:
|
||||
with transaction.set_user(0):
|
||||
cls.write([cls(user.id)], {
|
||||
'password_hash': new_hash,
|
||||
})
|
||||
Attempt.remove(email)
|
||||
return user
|
||||
Attempt.add(email)
|
||||
|
||||
@classmethod
|
||||
def hash_password(cls, password):
|
||||
'''Hash given password in the form
|
||||
<hash_method>$<password>$<salt>...'''
|
||||
if not password:
|
||||
return ''
|
||||
return CRYPT_CONTEXT.hash(password)
|
||||
|
||||
@classmethod
|
||||
def check_password(cls, password, hash_):
|
||||
if not hash_:
|
||||
return False, None
|
||||
try:
|
||||
return CRYPT_CONTEXT.verify_and_update(password, hash_)
|
||||
except ValueError:
|
||||
hash_method = hash_.split('$', 1)[0]
|
||||
warnings.warn(
|
||||
"Use deprecated hash method %s" % hash_method,
|
||||
DeprecationWarning)
|
||||
valid = getattr(cls, 'check_' + hash_method)(password, hash_)
|
||||
if valid:
|
||||
new_hash = CRYPT_CONTEXT.hash(password)
|
||||
else:
|
||||
new_hash = None
|
||||
return valid, new_hash
|
||||
|
||||
@classmethod
|
||||
def hash_sha1(cls, password):
|
||||
salt = ''.join(random.sample(string.ascii_letters + string.digits, 8))
|
||||
salted_password = password + salt
|
||||
if isinstance(salted_password, str):
|
||||
salted_password = salted_password.encode('utf-8')
|
||||
hash_ = hashlib.sha1(salted_password).hexdigest()
|
||||
return '$'.join(['sha1', hash_, salt])
|
||||
|
||||
@classmethod
|
||||
def check_sha1(cls, password, hash_):
|
||||
if isinstance(password, str):
|
||||
password = password.encode('utf-8')
|
||||
hash_method, hash_, salt = hash_.split('$', 2)
|
||||
salt = salt or ''
|
||||
if isinstance(salt, str):
|
||||
salt = salt.encode('utf-8')
|
||||
assert hash_method == 'sha1'
|
||||
return hash_ == hashlib.sha1(password + salt).hexdigest()
|
||||
|
||||
@classmethod
|
||||
def hash_bcrypt(cls, password):
|
||||
if isinstance(password, str):
|
||||
password = password.encode('utf-8')
|
||||
hash_ = bcrypt.hashpw(password, bcrypt.gensalt()).decode('utf-8')
|
||||
return '$'.join(['bcrypt', hash_])
|
||||
|
||||
@classmethod
|
||||
def check_bcrypt(cls, password, hash_):
|
||||
if isinstance(password, str):
|
||||
password = password.encode('utf-8')
|
||||
hash_method, hash_ = hash_.split('$', 1)
|
||||
if isinstance(hash_, str):
|
||||
hash_ = hash_.encode('utf-8')
|
||||
assert hash_method == 'bcrypt'
|
||||
return hash_ == bcrypt.hashpw(password, hash_)
|
||||
|
||||
def new_session(self):
|
||||
pool = Pool()
|
||||
Session = pool.get('web.user.session')
|
||||
return Session.add(self)
|
||||
|
||||
@classmethod
|
||||
def get_user(cls, session):
|
||||
pool = Pool()
|
||||
Session = pool.get('web.user.session')
|
||||
return Session.get_user(session)
|
||||
|
||||
@classmethod
|
||||
@ModelView.button
|
||||
def validate_email(cls, users, from_=None):
|
||||
for user in users:
|
||||
user.set_email_token()
|
||||
cls.save(users)
|
||||
_send_email(from_, users, cls.get_email_validation)
|
||||
|
||||
def set_email_token(self, nbytes=None):
|
||||
self.email_token = token_hex(nbytes)
|
||||
|
||||
def get_email_validation(self):
|
||||
return get_email(
|
||||
'web.user.email_validation', self, self.languages)
|
||||
|
||||
def get_email_validation_url(self, url=None):
|
||||
if url is None:
|
||||
url = config.get('web', 'email_validation_url')
|
||||
return _add_params(url, token=self.email_token)
|
||||
|
||||
@classmethod
|
||||
def validate_email_url(cls, url):
|
||||
parts = urllib.parse.urlsplit(url)
|
||||
tokens = filter(
|
||||
None, urllib.parse.parse_qs(parts.query).get('token', [None]))
|
||||
return cls.validate_email_token(list(tokens))
|
||||
|
||||
@classmethod
|
||||
def validate_email_token(cls, tokens):
|
||||
users = cls.search([
|
||||
('email_token', 'in', tokens),
|
||||
])
|
||||
cls.write(users, {
|
||||
'email_valid': True,
|
||||
'email_token': None,
|
||||
})
|
||||
return users
|
||||
|
||||
@classmethod
|
||||
@ModelView.button
|
||||
def reset_password(cls, users, from_=None):
|
||||
now = datetime.datetime.now()
|
||||
|
||||
# Prevent abusive reset
|
||||
def reset(user):
|
||||
return not (user.reset_password_token_expire
|
||||
and user.reset_password_token_expire > now)
|
||||
users = list(filter(reset, users))
|
||||
|
||||
for user in users:
|
||||
user.set_reset_password_token()
|
||||
cls.save(users)
|
||||
_send_email(from_, users, cls.get_email_reset_password)
|
||||
|
||||
def set_reset_password_token(self, nbytes=None):
|
||||
self.reset_password_token = token_hex(nbytes)
|
||||
self.reset_password_token_expire = (
|
||||
datetime.datetime.now() + datetime.timedelta(
|
||||
seconds=config.getint(
|
||||
'session', 'web_timeout_reset', default=24 * 60 * 60)))
|
||||
|
||||
def clear_reset_password_token(self):
|
||||
self.reset_password_token = None
|
||||
self.reset_password_token_expire = None
|
||||
|
||||
def get_email_reset_password(self):
|
||||
return get_email(
|
||||
'web.user.email_reset_password', self, self.languages)
|
||||
|
||||
def get_email_reset_password_url(self, url=None):
|
||||
if url is None:
|
||||
url = config.get('web', 'reset_password_url')
|
||||
return _add_params(
|
||||
url, token=self.reset_password_token, email=self.email)
|
||||
|
||||
@classmethod
|
||||
def set_password_url(cls, url, password):
|
||||
parts = urllib.parse.urlsplit(url)
|
||||
query = urllib.parse.parse_qs(parts.query)
|
||||
email = query.get('email', [None])[0]
|
||||
token = query.get('token', [None])[0]
|
||||
return cls.set_password_token(email, token, password)
|
||||
|
||||
@classmethod
|
||||
def set_password_token(cls, email, token, password):
|
||||
pool = Pool()
|
||||
Attempt = pool.get('web.user.authenticate.attempt')
|
||||
email = email.lower()
|
||||
|
||||
# Prevent brute force attack
|
||||
Transaction().atexit(
|
||||
time.sleep, random.randint(0, 2 ** Attempt.count(email) - 1))
|
||||
|
||||
users = cls.search([
|
||||
('email', '=', email),
|
||||
])
|
||||
if users:
|
||||
user, = users
|
||||
if user.reset_password_token == token:
|
||||
now = datetime.datetime.now()
|
||||
expire = user.reset_password_token_expire
|
||||
user.clear_reset_password_token()
|
||||
if expire > now:
|
||||
user.password = password
|
||||
user.save()
|
||||
Attempt.remove(email)
|
||||
return True
|
||||
Attempt.add(email)
|
||||
return False
|
||||
|
||||
@property
|
||||
def languages(self):
|
||||
pool = Pool()
|
||||
Language = pool.get('ir.lang')
|
||||
if self.party and self.party.lang:
|
||||
languages = [self.party.lang]
|
||||
else:
|
||||
languages = Language.search([
|
||||
('code', '=', Transaction().language),
|
||||
])
|
||||
return languages
|
||||
|
||||
|
||||
class User_PartySecondary(ModelSQL):
|
||||
"Web User - Secondary Party"
|
||||
__name__ = 'web.user-party.party.secondary'
|
||||
|
||||
user = fields.Many2One(
|
||||
'web.user', "User", required=True, select=True, ondelete='CASCADE')
|
||||
party = fields.Many2One(
|
||||
'party.party', "Party", required=True, ondelete='CASCADE')
|
||||
|
||||
|
||||
class UserAuthenticateAttempt(LoginAttempt):
|
||||
'Web User Authenticate Attempt'
|
||||
__name__ = 'web.user.authenticate.attempt'
|
||||
_table = None # Needed to reset LoginAttempt._table
|
||||
|
||||
|
||||
class UserSession(ModelSQL):
|
||||
'Web User Session'
|
||||
__name__ = 'web.user.session'
|
||||
_rec_name = 'key'
|
||||
|
||||
key = fields.Char('Key', required=True, select=True)
|
||||
user = fields.Many2One(
|
||||
'web.user', 'User', required=True, select=True, ondelete='CASCADE')
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(UserSession, cls).__setup__()
|
||||
table = cls.__table__()
|
||||
cls.__rpc__ = {}
|
||||
cls._sql_constraints += [
|
||||
('key_unique', Unique(table, table.key),
|
||||
'web_user.msg_user_session_key_unique'),
|
||||
]
|
||||
|
||||
@classmethod
|
||||
def default_key(cls, nbytes=None):
|
||||
return token_hex(nbytes)
|
||||
|
||||
@classmethod
|
||||
def add(cls, user):
|
||||
cursor = Transaction().connection.cursor()
|
||||
table = cls.__table__()
|
||||
|
||||
cursor.execute(*table.delete(
|
||||
where=(
|
||||
Coalesce(table.write_date, table.create_date)
|
||||
- CurrentTimestamp()) > cls.timeout()))
|
||||
|
||||
session = cls(user=user)
|
||||
session.save()
|
||||
return session.key
|
||||
|
||||
@classmethod
|
||||
def remove(cls, key):
|
||||
sessions = cls.search([
|
||||
('key', '=', key),
|
||||
])
|
||||
cls.delete(sessions)
|
||||
|
||||
@classmethod
|
||||
def get_user(cls, session):
|
||||
transaction = Transaction()
|
||||
sessions = cls.search([
|
||||
('key', '=', session),
|
||||
])
|
||||
if not sessions:
|
||||
return
|
||||
session, = sessions
|
||||
if not session.expired:
|
||||
return session.user
|
||||
elif not transaction.readonly:
|
||||
cls.delete([session])
|
||||
|
||||
@classmethod
|
||||
def timeout(cls):
|
||||
return datetime.timedelta(seconds=config.getint(
|
||||
'session', 'web_timeout', default=30 * 24 * 60 * 60))
|
||||
|
||||
@property
|
||||
def expired(self):
|
||||
now = datetime.datetime.now()
|
||||
timestamp = self.write_date or self.create_date
|
||||
return abs(timestamp - now) > self.timeout()
|
||||
|
||||
@classmethod
|
||||
def reset(cls, session):
|
||||
sessions = cls.search([
|
||||
('key', '=', session),
|
||||
])
|
||||
cls.write(sessions, {})
|
||||
|
||||
@classmethod
|
||||
def create(cls, vlist):
|
||||
vlist = [v.copy() for v in vlist]
|
||||
for values in vlist:
|
||||
# Ensure to get a different key for each record
|
||||
# default methods are called only once
|
||||
values.setdefault('key', cls.default_key())
|
||||
return super(UserSession, cls).create(vlist)
|
||||
|
||||
|
||||
class EmailValidation(Report):
|
||||
__name__ = 'web.user.email_validation'
|
||||
|
||||
@classmethod
|
||||
def get_context(cls, records, header, data):
|
||||
context = super().get_context(records, header, data)
|
||||
context['extract_params'] = _extract_params
|
||||
return context
|
||||
|
||||
|
||||
class EmailResetPassword(Report):
|
||||
__name__ = 'web.user.email_reset_password'
|
||||
|
||||
@classmethod
|
||||
def get_context(cls, records, header, data):
|
||||
context = super().get_context(records, header, data)
|
||||
context['extract_params'] = _extract_params
|
||||
return context
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="user_view_form">
|
||||
<field name="model">web.user</field>
|
||||
<field name="type">form</field>
|
||||
<field name="name">user_form</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="user_view_list">
|
||||
<field name="model">web.user</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="name">user_list</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.act_window" id="act_user_form">
|
||||
<field name="name">Web Users</field>
|
||||
<field name="res_model">web.user</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_user_form_view1">
|
||||
<field name="sequence" eval="10"/>
|
||||
<field name="view" ref="user_view_list"/>
|
||||
<field name="act_window" ref="act_user_form"/>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_user_form_view2">
|
||||
<field name="sequence" eval="20"/>
|
||||
<field name="view" ref="user_view_form"/>
|
||||
<field name="act_window" ref="act_user_form"/>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
parent="res.menu_res"
|
||||
action="act_user_form"
|
||||
sequence="50"
|
||||
id="menu_user_form"/>
|
||||
|
||||
<record model="ir.model.access" id="access_user">
|
||||
<field name="model" search="[('model', '=', 'web.user')]"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_user_admin">
|
||||
<field name="model" search="[('model', '=', 'web.user')]"/>
|
||||
<field name="group" ref="res.group_admin"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="True"/>
|
||||
<field name="perm_create" eval="True"/>
|
||||
<field name="perm_delete" eval="True"/>
|
||||
</record>
|
||||
<record model="ir.model.button" id="user_validate_email_button">
|
||||
<field name="name">validate_email</field>
|
||||
<field name="string">Validate E-mail</field>
|
||||
<field name="model" search="[('model', '=', 'web.user')]"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.button" id="user_reset_password_button">
|
||||
<field name="name">reset_password</field>
|
||||
<field name="string">Reset Password</field>
|
||||
<field name="model" search="[('model', '=', 'web.user')]"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.report" id="report_email_validation">
|
||||
<field name="name">Email Validation</field>
|
||||
<field name="model">web.user</field>
|
||||
<field name="report_name">web.user.email_validation</field>
|
||||
<field name="report">web_user/email_validation.html</field>
|
||||
<field name="template_extension">html</field>
|
||||
</record>
|
||||
<record model="ir.action.report" id="report_email_reset_password">
|
||||
<field name="name">Reset Password</field>
|
||||
<field name="model">web.user</field>
|
||||
<field name="report_name">web.user.email_reset_password</field>
|
||||
<field name="report">web_user/email_reset_password.html</field>
|
||||
<field name="template_extension">html</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<group col="4" colspan="3" yalign="0" id="header">
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
|
||||
<label name="email"/>
|
||||
<field name="email" widget="email"/>
|
||||
<newline/>
|
||||
</group>
|
||||
<field name="avatar" widget="image" height="100" width="100" xexpand="0"/>
|
||||
|
||||
<label name="password"/>
|
||||
<field name="password" widget="password"/>
|
||||
<button name="reset_password" colspan="2"/>
|
||||
<label name="email_valid"/>
|
||||
<field name="email_valid"/>
|
||||
<button name="validate_email" colspan="2"/>
|
||||
<field name="secondary_parties" colspan="4"/>
|
||||
</form>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="email" expand="1"/>
|
||||
<field name="email_valid"/>
|
||||
<button name="validate_email" string="Validate E-mail"/>
|
||||
<button name="reset_password" string="Reset Password"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,40 @@
|
||||
clone:
|
||||
hg:
|
||||
image: plugins/hg
|
||||
environment:
|
||||
- HG_SHARE_POOL=/root/.cache/hg
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
|
||||
pipeline:
|
||||
tox:
|
||||
image: ${IMAGE}
|
||||
environment:
|
||||
- CFLAGS=-O0
|
||||
- TOX_TESTENV_PASSENV=CFLAGS CI_BUILD_NUMBER CI_JOB_NUMBER CI_JOB_ID
|
||||
commands:
|
||||
- echo "[extensions]" >> /root/.hgrc
|
||||
- echo "hgext.share =" >> /root/.hgrc
|
||||
- echo "[share]" >> /root/.hgrc
|
||||
- echo "pool = /root/.cache/hg" >> /root/.hgrc
|
||||
- pip install tox pydot
|
||||
- tox -e "${TOXENV}"
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
check_dist:
|
||||
image: ${IMAGE}
|
||||
commands:
|
||||
- pip install twine
|
||||
- python setup.py sdist
|
||||
- twine check dist/*
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- IMAGE: python:3.6
|
||||
TOXENV: py36
|
||||
- IMAGE: python:3.7
|
||||
TOXENV: py37
|
||||
- IMAGE: python:3.8
|
||||
TOXENV: py38
|
||||
- IMAGE: python:3.9
|
||||
TOXENV: py39
|
||||
@@ -0,0 +1,2 @@
|
||||
[flake8]
|
||||
ignore=E123,E124,E126,E128,E741,W503
|
||||
@@ -0,0 +1,127 @@
|
||||
Version 6.0.7 - 2022-11-17
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.6 - 2022-04-15
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.5 - 2022-03-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Use defusedxml to parse XML (11244)
|
||||
|
||||
Version 6.0.4 - 2022-01-15
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.3 - 2021-10-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.2 - 2021-07-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.1 - 2021-05-15
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.0 - 2021-05-03
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add support for Python 3.9
|
||||
* Unify PYSON string format
|
||||
|
||||
Version 5.8.0 - 2020-11-02
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove support for Python 3.5
|
||||
* Support PYSON comparison of date and datetime
|
||||
|
||||
Version 5.6.0 - 2020-05-04
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add support for Python 3.8
|
||||
* Use same __str__ as trytond instances
|
||||
|
||||
Version 5.4.0 - 2019-11-04
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Support dot notation on PYSON Eval
|
||||
* Add __slots__
|
||||
|
||||
Version 5.2.0 - 2019-05-06
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove support for Python 3.4
|
||||
|
||||
Version 5.0.0 - 2018-10-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add support for Python 3.7
|
||||
* Remove support for Python 2.7
|
||||
|
||||
Version 4.8.0 - 2018-04-23
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Always use the context and config of the instance
|
||||
* Add support for search_* attributes in ModelList
|
||||
|
||||
Version 4.6.0 - 2017-10-30
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add set_sequence method to ModelList
|
||||
* Add __int__ to Model
|
||||
* Allow to use keyword arguments with trytond configuration
|
||||
|
||||
Version 4.4.0 - 2017-05-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 4.2.0 - 2016-11-28
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Fill default Report data
|
||||
|
||||
Version 4.0.0 - 2016-05-02
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add Python3 support
|
||||
|
||||
Version 3.8.0 - 2015-11-02
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add StateAction support to Wizard
|
||||
|
||||
Version 3.6.0 - 2015-04-20
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add support for PyPy
|
||||
* Allow to provide extra keyword arguments to set_xmlrpc()
|
||||
* Add support of fields.TimeDelta
|
||||
* Remove password on set_trytond
|
||||
* Manage reload, save, delete, duplicate and click as class and instance method
|
||||
|
||||
Version 3.4.0 - 2014-10-20
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* New configuration syntax
|
||||
* Add Report
|
||||
* Explicitly set value of parent field
|
||||
* Add duplicate method
|
||||
|
||||
Version 3.2.0 - 2014-04-21
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Models cache depends also on user
|
||||
* Drop support of Python 2.6
|
||||
* Allow to pass field values to new method
|
||||
* Add click method for buttons
|
||||
|
||||
Version 3.0.0 - 2013-10-21
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 2.8.0 - 2013-04-22
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add support of fields.Dict
|
||||
|
||||
Version 2.6.0 - 2012-10-22
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 2.4.0 - 2012-04-23
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Use loading attribute
|
||||
* Add support of _buttons
|
||||
* Add support of fields.Time
|
||||
|
||||
Version 2.2.0 - 2011-10-25
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Change license to LGPL-3
|
||||
* Drop support of Python 2.5
|
||||
|
||||
Version 2.0.0 - 2011-04-28
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Manage default values of trytond configuration
|
||||
|
||||
Version 1.8.0 - 2010-12-24
|
||||
* Initial release
|
||||
@@ -0,0 +1,15 @@
|
||||
Copyright (C) 2010-2022 Cédric Krier.
|
||||
Copyright (C) 2010-2022 B2CK SPRL.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
+841
@@ -0,0 +1,841 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
||||
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,5 @@
|
||||
include CHANGELOG
|
||||
include COPYRIGHT
|
||||
include LICENSE
|
||||
include README.rst
|
||||
include doc/*
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
doc/index.rst
|
||||
@@ -0,0 +1,125 @@
|
||||
=======================
|
||||
Tryton Scripting Client
|
||||
=======================
|
||||
|
||||
A library to access Tryton's models like a client.
|
||||
|
||||
Example of usage
|
||||
----------------
|
||||
|
||||
>>> from proteus import config, Model, Wizard, Report
|
||||
|
||||
Configuration
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Configuration to connect to a sqlite memory database using trytond as module.
|
||||
|
||||
>>> config = config.set_trytond('sqlite:///:memory:')
|
||||
|
||||
Activating a module
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Find the module, call the activate button and run the upgrade wizard.
|
||||
|
||||
>>> Module = Model.get('ir.module')
|
||||
>>> party_module, = Module.find([('name', '=', 'party')])
|
||||
>>> party_module.click('activate')
|
||||
>>> Wizard('ir.module.activate_upgrade').execute('upgrade')
|
||||
|
||||
Creating a party
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
First instanciate a new Party:
|
||||
|
||||
>>> Party = Model.get('party.party')
|
||||
>>> party = Party()
|
||||
>>> party.id < 0
|
||||
True
|
||||
|
||||
Fill the fields:
|
||||
|
||||
>>> party.name = 'ham'
|
||||
|
||||
Save the instance into the server:
|
||||
|
||||
>>> party.save()
|
||||
>>> party.name
|
||||
'ham'
|
||||
>>> party.id > 0
|
||||
True
|
||||
|
||||
Setting the language of the party
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The language on party is a `Many2One` relation field. So it requires to get a
|
||||
`Model` instance as value.
|
||||
|
||||
>>> Lang = Model.get('ir.lang')
|
||||
>>> en, = Lang.find([('code', '=', 'en')])
|
||||
>>> party.lang = en
|
||||
>>> party.save()
|
||||
>>> party.lang.code
|
||||
'en'
|
||||
|
||||
Creating an address for the party
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Addresses are store on party with a `One2Many` field. So the new address just
|
||||
needs to be appended to the list `addresses`.
|
||||
|
||||
>>> address = party.addresses.new(postal_code='42')
|
||||
>>> party.save()
|
||||
>>> party.addresses #doctest: +ELLIPSIS
|
||||
[proteus.Model.get('party.address')(...)]
|
||||
|
||||
Adding category to the party
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Categories are linked to party with a `Many2Many` field.
|
||||
|
||||
So first create a category
|
||||
|
||||
>>> Category = Model.get('party.category')
|
||||
>>> category = Category()
|
||||
>>> category.name = 'spam'
|
||||
>>> category.save()
|
||||
|
||||
Append it to categories of the party
|
||||
|
||||
>>> party.categories.append(category)
|
||||
>>> party.save()
|
||||
>>> party.categories #doctest: +ELLIPSIS
|
||||
[proteus.Model.get('party.category')(...)]
|
||||
|
||||
Print party label
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
There is a label report on `Party`.
|
||||
|
||||
>>> label = Report('party.label')
|
||||
|
||||
The report is executed with a list of records and some extra data.
|
||||
|
||||
>>> type_, data, print_, name = label.execute([party], {})
|
||||
|
||||
Sorting addresses and register order
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Addresses are ordered by sequence which means they can be stored following a
|
||||
specific order. The `set_sequence` method stores the current order.
|
||||
|
||||
>>> address = party.addresses.new(postal_code='69')
|
||||
>>> party.save()
|
||||
>>> address = party.addresses.new(postal_code='23')
|
||||
>>> party.save()
|
||||
|
||||
Now changing the order.
|
||||
|
||||
>>> reversed_addresses = list(reversed(party.addresses))
|
||||
>>> while party.addresses:
|
||||
... _ = party.addresses.pop()
|
||||
>>> party.addresses.extend(reversed_addresses)
|
||||
>>> party.addresses.set_sequence()
|
||||
>>> party.save()
|
||||
>>> party.addresses == reversed_addresses
|
||||
True
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,378 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
"""
|
||||
Configuration functions for the proteus package for Tryton.
|
||||
"""
|
||||
|
||||
import datetime
|
||||
import os
|
||||
import threading
|
||||
import urllib.parse
|
||||
import xmlrpc.client
|
||||
from decimal import Decimal
|
||||
|
||||
import defusedxml.xmlrpc
|
||||
|
||||
__all__ = ['set_trytond', 'set_xmlrpc', 'get_config']
|
||||
|
||||
defusedxml.xmlrpc.monkey_patch()
|
||||
|
||||
|
||||
def dump_decimal(self, value, write):
|
||||
value = {'__class__': 'Decimal',
|
||||
'decimal': str(value),
|
||||
}
|
||||
self.dump_struct(value, write)
|
||||
|
||||
|
||||
def dump_date(self, value, write):
|
||||
value = {'__class__': 'date',
|
||||
'year': value.year,
|
||||
'month': value.month,
|
||||
'day': value.day,
|
||||
}
|
||||
self.dump_struct(value, write)
|
||||
|
||||
|
||||
def dump_time(self, value, write):
|
||||
value = {'__class__': 'time',
|
||||
'hour': value.hour,
|
||||
'minute': value.minute,
|
||||
'second': value.second,
|
||||
'microsecond': value.microsecond,
|
||||
}
|
||||
self.dump_struct(value, write)
|
||||
|
||||
|
||||
def dump_timedelta(self, value, write):
|
||||
value = {'__class__': 'timedelta',
|
||||
'seconds': value.total_seconds(),
|
||||
}
|
||||
self.dump_struct(value, write)
|
||||
|
||||
|
||||
def dump_long(self, value, write):
|
||||
try:
|
||||
self.dump_long(value, write)
|
||||
except OverflowError:
|
||||
write('<value><biginteger>')
|
||||
write(str(int(value)))
|
||||
write('</biginteger></value>\n')
|
||||
|
||||
|
||||
xmlrpc.client.Marshaller.dispatch[Decimal] = dump_decimal
|
||||
xmlrpc.client.Marshaller.dispatch[datetime.date] = dump_date
|
||||
xmlrpc.client.Marshaller.dispatch[datetime.time] = dump_time
|
||||
xmlrpc.client.Marshaller.dispatch[datetime.timedelta] = dump_timedelta
|
||||
xmlrpc.client.Marshaller.dispatch[int] = dump_long
|
||||
|
||||
|
||||
def dump_struct(self, value, write, escape=xmlrpc.client.escape):
|
||||
converted_value = {}
|
||||
for k, v in value.items():
|
||||
if isinstance(k, int):
|
||||
k = str(k)
|
||||
elif isinstance(k, float):
|
||||
k = repr(k)
|
||||
converted_value[k] = v
|
||||
return self.dump_struct(converted_value, write, escape=escape)
|
||||
|
||||
|
||||
xmlrpc.client.Marshaller.dispatch[dict] = dump_struct
|
||||
|
||||
|
||||
class XMLRPCDecoder(object):
|
||||
|
||||
decoders = {}
|
||||
|
||||
@classmethod
|
||||
def register(cls, klass, decoder):
|
||||
assert klass not in cls.decoders
|
||||
cls.decoders[klass] = decoder
|
||||
|
||||
def __call__(self, dct):
|
||||
if dct.get('__class__') in self.decoders:
|
||||
return self.decoders[dct['__class__']](dct)
|
||||
return dct
|
||||
|
||||
|
||||
XMLRPCDecoder.register('date',
|
||||
lambda dct: datetime.date(dct['year'], dct['month'], dct['day']))
|
||||
XMLRPCDecoder.register('time',
|
||||
lambda dct: datetime.time(dct['hour'], dct['minute'], dct['second'],
|
||||
dct['microsecond']))
|
||||
XMLRPCDecoder.register('timedelta',
|
||||
lambda dct: datetime.timedelta(seconds=dct['seconds']))
|
||||
XMLRPCDecoder.register('Decimal', lambda dct: Decimal(dct['decimal']))
|
||||
|
||||
|
||||
def end_struct(self, data):
|
||||
mark = self._marks.pop()
|
||||
# map structs to Python dictionaries
|
||||
dct = {}
|
||||
items = self._stack[mark:]
|
||||
for i in range(0, len(items), 2):
|
||||
dct[items[i]] = items[i + 1]
|
||||
dct = XMLRPCDecoder()(dct)
|
||||
self._stack[mark:] = [dct]
|
||||
self._value = 0
|
||||
|
||||
|
||||
xmlrpc.client.Unmarshaller.dispatch['struct'] = end_struct
|
||||
|
||||
_CONFIG = threading.local()
|
||||
_CONFIG.current = None
|
||||
|
||||
|
||||
class ContextManager(object):
|
||||
'Context Manager for the tryton context'
|
||||
|
||||
def __init__(self, config):
|
||||
self.config = config
|
||||
self.context = config.context
|
||||
|
||||
def __enter__(self):
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
self.config._context = self.context
|
||||
|
||||
|
||||
class Config(object):
|
||||
'Config interface'
|
||||
|
||||
def __init__(self):
|
||||
super(Config, self).__init__()
|
||||
self._context = {}
|
||||
|
||||
@property
|
||||
def context(self):
|
||||
return self._context.copy()
|
||||
|
||||
def set_context(self, context=None, **kwargs):
|
||||
ctx_manager = ContextManager(self)
|
||||
|
||||
if context is None:
|
||||
context = {}
|
||||
self._context = self.context
|
||||
self._context.update(context)
|
||||
self._context.update(kwargs)
|
||||
return ctx_manager
|
||||
|
||||
def reset_context(self):
|
||||
ctx_manager = ContextManager(self)
|
||||
self._context = {}
|
||||
return ctx_manager
|
||||
|
||||
def get_proxy(self, name):
|
||||
raise NotImplementedError
|
||||
|
||||
def get_proxy_methods(self, name):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class _TrytondMethod(object):
|
||||
|
||||
def __init__(self, name, model, config):
|
||||
super(_TrytondMethod, self).__init__()
|
||||
self._name = name
|
||||
self._object = model
|
||||
self._config = config
|
||||
|
||||
def __call__(self, *args, **kwargs):
|
||||
from trytond.rpc import RPC
|
||||
from trytond.tools import is_instance_method
|
||||
from trytond.transaction import Transaction
|
||||
from trytond.worker import run_task
|
||||
|
||||
if self._name in self._object.__rpc__:
|
||||
rpc = self._object.__rpc__[self._name]
|
||||
elif self._name in getattr(self._object, '_buttons', {}):
|
||||
rpc = RPC(readonly=False, instantiate=0)
|
||||
else:
|
||||
raise TypeError('%s is not callable' % self._name)
|
||||
|
||||
with Transaction().start(self._config.database_name,
|
||||
self._config.user, readonly=rpc.readonly) as transaction:
|
||||
args, kwargs, transaction.context, transaction.timestamp = \
|
||||
rpc.convert(self._object, *args, **kwargs)
|
||||
meth = getattr(self._object, self._name)
|
||||
if (rpc.instantiate is None
|
||||
or not is_instance_method(self._object, self._name)):
|
||||
result = rpc.result(meth(*args, **kwargs))
|
||||
else:
|
||||
assert rpc.instantiate == 0
|
||||
inst = args.pop(0)
|
||||
if hasattr(inst, self._name):
|
||||
result = rpc.result(meth(inst, *args, **kwargs))
|
||||
else:
|
||||
result = [rpc.result(meth(i, *args, **kwargs))
|
||||
for i in inst]
|
||||
transaction.commit()
|
||||
while transaction.tasks:
|
||||
task_id = transaction.tasks.pop()
|
||||
run_task(self._config.database_name, task_id)
|
||||
return result
|
||||
|
||||
|
||||
class TrytondProxy(object):
|
||||
'Proxy for function call for trytond'
|
||||
|
||||
def __init__(self, name, config, type='model'):
|
||||
super(TrytondProxy, self).__init__()
|
||||
self._config = config
|
||||
self._object = config.pool.get(name, type=type)
|
||||
__init__.__doc__ = object.__init__.__doc__
|
||||
|
||||
def __getattr__(self, name):
|
||||
'Return attribute value'
|
||||
return _TrytondMethod(name, self._object, self._config)
|
||||
|
||||
|
||||
class TrytondConfig(Config):
|
||||
'Configuration for trytond'
|
||||
|
||||
def __init__(self, database=None, user='admin', config_file=None):
|
||||
super(TrytondConfig, self).__init__()
|
||||
if not database:
|
||||
database = os.environ.get('TRYTOND_DATABASE_URI')
|
||||
elif (os.environ.get('TRYTOND_DATABASE_URI')
|
||||
and not urllib.parse.urlparse(database).scheme):
|
||||
url = urllib.parse.urlparse(os.environ['TRYTOND_DATABASE_URI'])
|
||||
os.environ['TRYTOND_DATABASE_URI'] = urllib.parse.urlunparse(
|
||||
url._replace(path=database))
|
||||
else:
|
||||
os.environ['TRYTOND_DATABASE_URI'] = database
|
||||
if not config_file:
|
||||
config_file = os.environ.get('TRYTOND_CONFIG')
|
||||
from trytond.config import config
|
||||
config.update_etc(config_file)
|
||||
from trytond.pool import Pool
|
||||
from trytond.transaction import Transaction
|
||||
self.database = database
|
||||
database_name = None
|
||||
if database:
|
||||
uri = urllib.parse.urlparse(database)
|
||||
database_name = uri.path.strip('/')
|
||||
if not database_name:
|
||||
database_name = os.environ['DB_NAME']
|
||||
self.database_name = database_name
|
||||
self._user = user
|
||||
self.config_file = config_file
|
||||
|
||||
Pool.start()
|
||||
self.pool = Pool(database_name)
|
||||
self.pool.init()
|
||||
|
||||
with Transaction().start(self.database_name, 0) as transaction:
|
||||
User = self.pool.get('res.user')
|
||||
transaction.context = self.context
|
||||
with transaction.set_context(active_test=False):
|
||||
self.user = User.search([
|
||||
('login', '=', user),
|
||||
], limit=1)[0].id
|
||||
with transaction.set_user(self.user):
|
||||
self._context = User.get_preferences(context_only=True)
|
||||
__init__.__doc__ = object.__init__.__doc__
|
||||
|
||||
def __repr__(self):
|
||||
return ("proteus.config.TrytondConfig"
|
||||
"(%s, %s, config_file=%s)"
|
||||
% (repr(self.database), repr(self._user), repr(self.config_file)))
|
||||
__repr__.__doc__ = object.__repr__.__doc__
|
||||
|
||||
def __eq__(self, other):
|
||||
if not isinstance(other, TrytondConfig):
|
||||
raise NotImplementedError
|
||||
return (self.database_name == other.database_name
|
||||
and self._user == other._user
|
||||
and self.database == other.database
|
||||
and self.config_file == other.config_file)
|
||||
|
||||
def __hash__(self):
|
||||
return hash((self.database_name, self._user,
|
||||
self.database, self.config_file))
|
||||
|
||||
def get_proxy(self, name, type='model'):
|
||||
'Return Proxy class'
|
||||
return TrytondProxy(name, self, type=type)
|
||||
|
||||
def get_proxy_methods(self, name, type='model'):
|
||||
'Return list of methods'
|
||||
proxy = self.get_proxy(name, type=type)
|
||||
methods = [x for x in proxy._object.__rpc__]
|
||||
if hasattr(proxy._object, '_buttons'):
|
||||
methods += [x for x in proxy._object._buttons]
|
||||
return methods
|
||||
|
||||
|
||||
def set_trytond(database=None, user='admin',
|
||||
config_file=None):
|
||||
'Set trytond package as backend'
|
||||
_CONFIG.current = TrytondConfig(database, user, config_file=config_file)
|
||||
return _CONFIG.current
|
||||
|
||||
|
||||
class XmlrpcProxy(object):
|
||||
'Proxy for function call for XML-RPC'
|
||||
|
||||
def __init__(self, name, config, type='model'):
|
||||
super(XmlrpcProxy, self).__init__()
|
||||
self._config = config
|
||||
self._object = getattr(config.server, '%s.%s' % (type, name))
|
||||
__init__.__doc__ = object.__init__.__doc__
|
||||
|
||||
def __getattr__(self, name):
|
||||
'Return attribute value'
|
||||
return getattr(self._object, name)
|
||||
|
||||
|
||||
class XmlrpcConfig(Config):
|
||||
'Configuration for XML-RPC'
|
||||
|
||||
def __init__(self, url, **kwargs):
|
||||
super(XmlrpcConfig, self).__init__()
|
||||
self.url = url
|
||||
self.server = xmlrpc.client.ServerProxy(
|
||||
url, allow_none=True, use_builtin_types=True, **kwargs)
|
||||
# TODO add user
|
||||
self.user = None
|
||||
self._context = self.server.model.res.user.get_preferences(True, {})
|
||||
__init__.__doc__ = object.__init__.__doc__
|
||||
|
||||
def __repr__(self):
|
||||
return "proteus.config.XmlrpcConfig(%s)" % repr(self.url)
|
||||
__repr__.__doc__ = object.__repr__.__doc__
|
||||
|
||||
def __eq__(self, other):
|
||||
if not isinstance(other, XmlrpcConfig):
|
||||
raise NotImplementedError
|
||||
return self.url == other.url
|
||||
|
||||
def __hash__(self):
|
||||
return hash(self.url)
|
||||
|
||||
def get_proxy(self, name, type='model'):
|
||||
'Return Proxy class'
|
||||
return XmlrpcProxy(name, self, type=type)
|
||||
|
||||
def get_proxy_methods(self, name, type='model'):
|
||||
'Return list of methods'
|
||||
object_ = '%s.%s' % (type, name)
|
||||
return [x[len(object_) + 1:]
|
||||
for x in self.server.system.listMethods()
|
||||
if x.startswith(object_)
|
||||
and '.' not in x[len(object_) + 1:]]
|
||||
|
||||
|
||||
def set_xmlrpc(url, **kwargs):
|
||||
'''
|
||||
Set XML-RPC as backend.
|
||||
It pass the keyword arguments received to xmlrpclib.ServerProxy()
|
||||
'''
|
||||
_CONFIG.current = XmlrpcConfig(url, **kwargs)
|
||||
return _CONFIG.current
|
||||
|
||||
|
||||
def get_config():
|
||||
return _CONFIG.current
|
||||
@@ -0,0 +1,753 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import json
|
||||
import datetime
|
||||
from decimal import Decimal
|
||||
from dateutil.relativedelta import relativedelta
|
||||
from functools import reduce
|
||||
|
||||
|
||||
class PYSON(object):
|
||||
|
||||
def pyson(self):
|
||||
raise NotImplementedError
|
||||
|
||||
def types(self):
|
||||
raise NotImplementedError
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
raise NotImplementedError
|
||||
|
||||
def __invert__(self):
|
||||
if self.types() != {bool}:
|
||||
return Not(Bool(self))
|
||||
else:
|
||||
return Not(self)
|
||||
|
||||
def __and__(self, other):
|
||||
if (isinstance(other, PYSON)
|
||||
and other.types() != {bool}):
|
||||
other = Bool(other)
|
||||
if (isinstance(self, And)
|
||||
and not isinstance(self, Or)):
|
||||
return And(*self._statements, other)
|
||||
if self.types() != {bool}:
|
||||
return And(Bool(self), other)
|
||||
else:
|
||||
return And(self, other)
|
||||
|
||||
__rand__ = __and__
|
||||
|
||||
def __or__(self, other):
|
||||
if (isinstance(other, PYSON)
|
||||
and other.types() != {bool}):
|
||||
other = Bool(other)
|
||||
if isinstance(self, Or):
|
||||
return Or(*self._statements, other)
|
||||
if self.types() != {bool}:
|
||||
return Or(Bool(self), other)
|
||||
else:
|
||||
return Or(self, other)
|
||||
|
||||
__ror__ = __or__
|
||||
|
||||
def __eq__(self, other):
|
||||
return Equal(self, other)
|
||||
|
||||
def __ne__(self, other):
|
||||
return Not(Equal(self, other))
|
||||
|
||||
def __gt__(self, other):
|
||||
return Greater(self, other)
|
||||
|
||||
def __ge__(self, other):
|
||||
return Greater(self, other, True)
|
||||
|
||||
def __lt__(self, other):
|
||||
return Less(self, other)
|
||||
|
||||
def __le__(self, other):
|
||||
return Less(self, other, True)
|
||||
|
||||
def get(self, k, d=''):
|
||||
return Get(self, k, d)
|
||||
|
||||
def in_(self, obj):
|
||||
return In(self, obj)
|
||||
|
||||
def contains(self, k):
|
||||
return In(k, self)
|
||||
|
||||
def __repr__(self):
|
||||
klass = self.__class__.__name__
|
||||
return '%s(%s)' % (klass, ', '.join(map(repr, self.__repr_params__)))
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return NotImplementedError
|
||||
|
||||
|
||||
class PYSONEncoder(json.JSONEncoder):
|
||||
|
||||
def default(self, obj):
|
||||
if isinstance(obj, PYSON):
|
||||
return obj.pyson()
|
||||
elif isinstance(obj, datetime.date):
|
||||
if isinstance(obj, datetime.datetime):
|
||||
return DateTime(obj.year, obj.month, obj.day,
|
||||
obj.hour, obj.minute, obj.second, obj.microsecond
|
||||
).pyson()
|
||||
else:
|
||||
return Date(obj.year, obj.month, obj.day).pyson()
|
||||
elif isinstance(obj, Decimal):
|
||||
return float(obj)
|
||||
return super(PYSONEncoder, self).default(obj)
|
||||
|
||||
|
||||
class PYSONDecoder(json.JSONDecoder):
|
||||
|
||||
def __init__(self, context=None, noeval=False):
|
||||
self.__context = context or {}
|
||||
self.noeval = noeval
|
||||
super(PYSONDecoder, self).__init__(object_hook=self._object_hook)
|
||||
|
||||
def _object_hook(self, dct):
|
||||
if '__class__' in dct:
|
||||
klass = CONTEXT.get(dct['__class__'])
|
||||
if klass:
|
||||
if not self.noeval:
|
||||
return klass.eval(dct, self.__context)
|
||||
else:
|
||||
dct = dct.copy()
|
||||
del dct['__class__']
|
||||
return klass(**dct)
|
||||
return dct
|
||||
|
||||
|
||||
class Eval(PYSON):
|
||||
|
||||
def __init__(self, v, d=''):
|
||||
super(Eval, self).__init__()
|
||||
self._value = v
|
||||
self._default = d
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return self._value, self._default
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'Eval',
|
||||
'v': self._value,
|
||||
'd': self._default,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
if isinstance(self._default, PYSON):
|
||||
return self._default.types()
|
||||
else:
|
||||
return {type(self._default)}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
if '.' in dct['v'] and dct['v'] not in context:
|
||||
base, name = dct['v'].split('.', 1)
|
||||
return Eval.eval({
|
||||
'v': name,
|
||||
'd': dct['d'],
|
||||
}, context.get(base) or {})
|
||||
return context.get(dct['v'], dct['d'])
|
||||
|
||||
|
||||
class Not(PYSON):
|
||||
|
||||
def __init__(self, v):
|
||||
super(Not, self).__init__()
|
||||
if isinstance(v, PYSON):
|
||||
if v.types() != {bool}:
|
||||
v = Bool(v)
|
||||
elif not isinstance(v, bool):
|
||||
v = bool(v)
|
||||
self._value = v
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return (self._value,)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'Not',
|
||||
'v': self._value,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
return {bool}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
return not dct['v']
|
||||
|
||||
|
||||
class Bool(PYSON):
|
||||
|
||||
def __init__(self, v):
|
||||
super(Bool, self).__init__()
|
||||
self._value = v
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return (self._value,)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'Bool',
|
||||
'v': self._value,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
return {bool}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
return bool(dct['v'])
|
||||
|
||||
|
||||
class And(PYSON):
|
||||
|
||||
def __init__(self, *statements, **kwargs):
|
||||
super(And, self).__init__()
|
||||
statements = list(statements) + kwargs.get('s', [])
|
||||
for i, statement in enumerate(list(statements)):
|
||||
if isinstance(statement, PYSON):
|
||||
if statement.types() != {bool}:
|
||||
statements[i] = Bool(statement)
|
||||
elif not isinstance(statement, bool):
|
||||
statements[i] = bool(statement)
|
||||
assert len(statements) >= 2, 'must have at least 2 statements'
|
||||
self._statements = statements
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return tuple(self._statements)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'And',
|
||||
's': self._statements,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
return {bool}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
return bool(reduce(lambda x, y: x and y, dct['s']))
|
||||
|
||||
|
||||
class Or(And):
|
||||
|
||||
def pyson(self):
|
||||
res = super(Or, self).pyson()
|
||||
res['__class__'] = 'Or'
|
||||
return res
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
return bool(reduce(lambda x, y: x or y, dct['s']))
|
||||
|
||||
|
||||
class Equal(PYSON):
|
||||
|
||||
def __init__(self, s1, s2):
|
||||
statement1, statement2 = s1, s2
|
||||
super(Equal, self).__init__()
|
||||
if isinstance(statement1, PYSON):
|
||||
types1 = statement1.types()
|
||||
else:
|
||||
types1 = {type(s1)}
|
||||
if isinstance(statement2, PYSON):
|
||||
types2 = statement2.types()
|
||||
else:
|
||||
types2 = {type(s2)}
|
||||
assert types1 == types2, 'statements must have the same type'
|
||||
self._statement1 = statement1
|
||||
self._statement2 = statement2
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return (self._statement1, self._statement2)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'Equal',
|
||||
's1': self._statement1,
|
||||
's2': self._statement2,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
return {bool}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
return dct['s1'] == dct['s2']
|
||||
|
||||
|
||||
class Greater(PYSON):
|
||||
|
||||
def __init__(self, s1, s2, e=False):
|
||||
statement1, statement2, equal = s1, s2, e
|
||||
super(Greater, self).__init__()
|
||||
for i in (statement1, statement2):
|
||||
if isinstance(i, PYSON):
|
||||
assert i.types().issubset({
|
||||
int, float, type(None),
|
||||
datetime.datetime, datetime.date}), \
|
||||
'statement must be an integer, float, date or datetime'
|
||||
else:
|
||||
assert isinstance(i, (
|
||||
int, float, type(None),
|
||||
datetime.datetime, datetime.date)), \
|
||||
'statement must be an integer, float, date or datetime'
|
||||
if isinstance(equal, PYSON):
|
||||
if equal.types() != {bool}:
|
||||
equal = Bool(equal)
|
||||
elif not isinstance(equal, bool):
|
||||
equal = bool(equal)
|
||||
self._statement1 = statement1
|
||||
self._statement2 = statement2
|
||||
self._equal = equal
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return (self._statement1, self._statement2, self._equal)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'Greater',
|
||||
's1': self._statement1,
|
||||
's2': self._statement2,
|
||||
'e': self._equal,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
return {bool}
|
||||
|
||||
@staticmethod
|
||||
def _convert(dct):
|
||||
for i in ('s1', 's2'):
|
||||
if dct[i] is None:
|
||||
dct[i] = 0.0
|
||||
if not isinstance(dct[i], (int, float)):
|
||||
dct = dct.copy()
|
||||
stmt = dct[i]
|
||||
if isinstance(stmt, datetime.datetime):
|
||||
stmt = stmt.timestamp()
|
||||
elif isinstance(stmt, datetime.date):
|
||||
time = datetime.time(0, 0)
|
||||
stmt = datetime.datetime.combine(stmt, time).timestamp()
|
||||
dct[i] = float(stmt)
|
||||
return dct
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
if dct['s1'] is None or dct['s2'] is None:
|
||||
return False
|
||||
dct = Greater._convert(dct)
|
||||
if dct['e']:
|
||||
return dct['s1'] >= dct['s2']
|
||||
else:
|
||||
return dct['s1'] > dct['s2']
|
||||
|
||||
|
||||
class Less(Greater):
|
||||
|
||||
def pyson(self):
|
||||
res = super(Less, self).pyson()
|
||||
res['__class__'] = 'Less'
|
||||
return res
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
if dct['s1'] is None or dct['s2'] is None:
|
||||
return False
|
||||
dct = Less._convert(dct)
|
||||
if dct['e']:
|
||||
return dct['s1'] <= dct['s2']
|
||||
else:
|
||||
return dct['s1'] < dct['s2']
|
||||
|
||||
|
||||
class If(PYSON):
|
||||
|
||||
def __init__(self, c, t, e=None):
|
||||
condition, then_statement, else_statement = c, t, e
|
||||
super(If, self).__init__()
|
||||
if isinstance(condition, PYSON):
|
||||
if condition.types() != {bool}:
|
||||
condition = Bool(condition)
|
||||
elif not isinstance(condition, bool):
|
||||
condition = bool(condition)
|
||||
if isinstance(then_statement, PYSON):
|
||||
then_types = then_statement.types()
|
||||
else:
|
||||
then_types = {type(then_statement)}
|
||||
if isinstance(else_statement, PYSON):
|
||||
else_types = else_statement.types()
|
||||
else:
|
||||
else_types = {type(else_statement)}
|
||||
assert then_types == else_types, \
|
||||
'then and else statements must be the same type'
|
||||
self._condition = condition
|
||||
self._then_statement = then_statement
|
||||
self._else_statement = else_statement
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return (self._condition, self._then_statement, self._else_statement)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'If',
|
||||
'c': self._condition,
|
||||
't': self._then_statement,
|
||||
'e': self._else_statement,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
if isinstance(self._then_statement, PYSON):
|
||||
return self._then_statement.types()
|
||||
else:
|
||||
return {type(self._then_statement)}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
if dct['c']:
|
||||
return dct['t']
|
||||
else:
|
||||
return dct['e']
|
||||
|
||||
|
||||
class Get(PYSON):
|
||||
|
||||
def __init__(self, v, k, d=''):
|
||||
obj, key, default = v, k, d
|
||||
super(Get, self).__init__()
|
||||
if isinstance(obj, PYSON):
|
||||
assert obj.types() == {dict}, 'obj must be a dict'
|
||||
else:
|
||||
assert isinstance(obj, dict), 'obj must be a dict'
|
||||
self._obj = obj
|
||||
if isinstance(key, PYSON):
|
||||
assert key.types() == {str}, 'key must be a string'
|
||||
else:
|
||||
assert isinstance(key, str), 'key must be a string'
|
||||
self._key = key
|
||||
self._default = default
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return (self._obj, self._key, self._default)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'Get',
|
||||
'v': self._obj,
|
||||
'k': self._key,
|
||||
'd': self._default,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
if isinstance(self._default, PYSON):
|
||||
return self._default.types()
|
||||
else:
|
||||
return {type(self._default)}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
return dct['v'].get(dct['k'], dct['d'])
|
||||
|
||||
|
||||
class In(PYSON):
|
||||
|
||||
def __init__(self, k, v):
|
||||
key, obj = k, v
|
||||
super(In, self).__init__()
|
||||
if isinstance(key, PYSON):
|
||||
assert key.types().issubset({str, int}), \
|
||||
'key must be a string or an integer or a long'
|
||||
else:
|
||||
assert isinstance(key, (str, int)), \
|
||||
'key must be a string or an integer or a long'
|
||||
if isinstance(obj, PYSON):
|
||||
assert obj.types().issubset({dict, list}), \
|
||||
'obj must be a dict or a list'
|
||||
if obj.types() == {dict}:
|
||||
assert isinstance(key, str), 'key must be a string'
|
||||
else:
|
||||
assert isinstance(obj, (dict, list))
|
||||
if isinstance(obj, dict):
|
||||
assert isinstance(key, str), 'key must be a string'
|
||||
self._key = key
|
||||
self._obj = obj
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return (self._key, self._obj)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'In',
|
||||
'k': self._key,
|
||||
'v': self._obj,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
return {bool}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
if dct['v']:
|
||||
return dct['k'] in dct['v']
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
class Date(PYSON):
|
||||
|
||||
def __init__(self, year=None, month=None, day=None,
|
||||
delta_years=0, delta_months=0, delta_days=0, start=None, **kwargs):
|
||||
year = kwargs.get('y', year)
|
||||
month = kwargs.get('M', month)
|
||||
day = kwargs.get('d', day)
|
||||
delta_years = kwargs.get('dy', delta_years)
|
||||
delta_months = kwargs.get('dM', delta_months)
|
||||
delta_days = kwargs.get('dd', delta_days)
|
||||
super(Date, self).__init__()
|
||||
for i in (year, month, day, delta_years, delta_months, delta_days):
|
||||
if isinstance(i, PYSON):
|
||||
assert i.types().issubset({int, type(None)}), \
|
||||
'%s must be an integer or None' % (i,)
|
||||
else:
|
||||
assert isinstance(i, (int, type(None))), \
|
||||
'%s must be an integer or None' % (i,)
|
||||
self._year = year
|
||||
self._month = month
|
||||
self._day = day
|
||||
self._delta_years = delta_years
|
||||
self._delta_months = delta_months
|
||||
self._delta_days = delta_days
|
||||
self._start = start
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return (self._year, self._month, self._day,
|
||||
self._delta_years, self._delta_months, self._delta_days,
|
||||
self._start)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'Date',
|
||||
'y': self._year,
|
||||
'M': self._month,
|
||||
'd': self._day,
|
||||
'dy': self._delta_years,
|
||||
'dM': self._delta_months,
|
||||
'dd': self._delta_days,
|
||||
'start': self._start,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
return {datetime.date}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
today = dct.get('start')
|
||||
if isinstance(today, datetime.datetime):
|
||||
today = today.date()
|
||||
if not isinstance(today, datetime.date):
|
||||
today = datetime.date.today()
|
||||
return today + relativedelta(
|
||||
year=dct['y'],
|
||||
month=dct['M'],
|
||||
day=dct['d'],
|
||||
years=dct['dy'],
|
||||
months=dct['dM'],
|
||||
days=dct['dd'],
|
||||
)
|
||||
|
||||
|
||||
class DateTime(Date):
|
||||
|
||||
def __init__(self, year=None, month=None, day=None,
|
||||
hour=None, minute=None, second=None, microsecond=None,
|
||||
delta_years=0, delta_months=0, delta_days=0,
|
||||
delta_hours=0, delta_minutes=0, delta_seconds=0,
|
||||
delta_microseconds=0, start=None, **kwargs):
|
||||
hour = kwargs.get('h', hour)
|
||||
minute = kwargs.get('m', minute)
|
||||
second = kwargs.get('s', second)
|
||||
microsecond = kwargs.get('ms', microsecond)
|
||||
delta_hours = kwargs.get('dh', delta_hours)
|
||||
delta_minutes = kwargs.get('dm', delta_minutes)
|
||||
delta_seconds = kwargs.get('ds', delta_seconds)
|
||||
delta_microseconds = kwargs.get('dms', delta_microseconds)
|
||||
super(DateTime, self).__init__(year=year, month=month, day=day,
|
||||
delta_years=delta_years, delta_months=delta_months,
|
||||
delta_days=delta_days, start=start, **kwargs)
|
||||
for i in (hour, minute, second, microsecond,
|
||||
delta_hours, delta_minutes, delta_seconds, delta_microseconds):
|
||||
if isinstance(i, PYSON):
|
||||
assert i.types() == {int, type(None)}, \
|
||||
'%s must be an integer or None' % (i,)
|
||||
else:
|
||||
assert isinstance(i, (int, type(None))), \
|
||||
'%s must be an integer or None' % (i,)
|
||||
self._hour = hour
|
||||
self._minute = minute
|
||||
self._second = second
|
||||
self._microsecond = microsecond
|
||||
self._delta_hours = delta_hours
|
||||
self._delta_minutes = delta_minutes
|
||||
self._delta_seconds = delta_seconds
|
||||
self._delta_microseconds = delta_microseconds
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
date_params = super(DateTime, self).__repr_params__
|
||||
return (date_params[:3]
|
||||
+ (self._hour, self._minute, self._second, self._microsecond)
|
||||
+ date_params[3:-1]
|
||||
+ (self._delta_hours, self._delta_minutes, self._delta_seconds,
|
||||
self._delta_microseconds)
|
||||
+ date_params[-1:])
|
||||
|
||||
def pyson(self):
|
||||
res = super(DateTime, self).pyson()
|
||||
res['__class__'] = 'DateTime'
|
||||
res['h'] = self._hour
|
||||
res['m'] = self._minute
|
||||
res['s'] = self._second
|
||||
res['ms'] = self._microsecond
|
||||
res['dh'] = self._delta_hours
|
||||
res['dm'] = self._delta_minutes
|
||||
res['ds'] = self._delta_seconds
|
||||
res['dms'] = self._delta_microseconds
|
||||
return res
|
||||
|
||||
def types(self):
|
||||
return {datetime.datetime}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
now = dct.get('start')
|
||||
if (isinstance(now, datetime.date)
|
||||
and not isinstance(now, datetime.datetime)):
|
||||
now = datetime.datetime.combine(now, datetime.time())
|
||||
if not isinstance(now, datetime.datetime):
|
||||
now = datetime.datetime.utcnow()
|
||||
return now + relativedelta(
|
||||
year=dct['y'],
|
||||
month=dct['M'],
|
||||
day=dct['d'],
|
||||
hour=dct['h'],
|
||||
minute=dct['m'],
|
||||
second=dct['s'],
|
||||
microsecond=dct['ms'],
|
||||
years=dct['dy'],
|
||||
months=dct['dM'],
|
||||
days=dct['dd'],
|
||||
hours=dct['dh'],
|
||||
minutes=dct['dm'],
|
||||
seconds=dct['ds'],
|
||||
microseconds=dct['dms'],
|
||||
)
|
||||
|
||||
|
||||
class TimeDelta(PYSON):
|
||||
|
||||
def __init__(self, days=0, seconds=0, microseconds=0):
|
||||
for i in [days, seconds, microseconds]:
|
||||
if isinstance(i, PYSON):
|
||||
assert i.types().issubset({int, float}), \
|
||||
'%s must be an integer' % (i,)
|
||||
else:
|
||||
assert isinstance(i, (int, float)), \
|
||||
'%s must be an integer' % (i,)
|
||||
self._days = days
|
||||
self._seconds = seconds
|
||||
self._microseconds = microseconds
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return self._days, self._seconds, self._microseconds
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'TimeDelta',
|
||||
'd': self._days,
|
||||
's': self._seconds,
|
||||
'm': self._microseconds,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
return {datetime.timedelta}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
return datetime.timedelta(
|
||||
days=dct['d'],
|
||||
seconds=dct['s'],
|
||||
microseconds=dct['m'],
|
||||
)
|
||||
|
||||
|
||||
class Len(PYSON):
|
||||
|
||||
def __init__(self, v):
|
||||
super(Len, self).__init__()
|
||||
if isinstance(v, PYSON):
|
||||
assert v.types().issubset({dict, list, str}), \
|
||||
'value must be a dict or a list or a string'
|
||||
else:
|
||||
assert isinstance(v, (dict, list, str)), \
|
||||
'value must be a dict or list or a string'
|
||||
self._value = v
|
||||
|
||||
@property
|
||||
def __repr_params__(self):
|
||||
return (self._value,)
|
||||
|
||||
def pyson(self):
|
||||
return {
|
||||
'__class__': 'Len',
|
||||
'v': self._value,
|
||||
}
|
||||
|
||||
def types(self):
|
||||
return {int}
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
return len(dct['v'])
|
||||
|
||||
|
||||
CONTEXT = {
|
||||
'Eval': Eval,
|
||||
'Not': Not,
|
||||
'Bool': Bool,
|
||||
'And': And,
|
||||
'Or': Or,
|
||||
'Equal': Equal,
|
||||
'Greater': Greater,
|
||||
'Less': Less,
|
||||
'If': If,
|
||||
'Get': Get,
|
||||
'In': In,
|
||||
'Date': Date,
|
||||
'DateTime': DateTime,
|
||||
'TimeDelta': TimeDelta,
|
||||
'Len': Len,
|
||||
'true': True,
|
||||
'false': False,
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
import doctest
|
||||
|
||||
import proteus
|
||||
import proteus.config
|
||||
|
||||
os.environ.setdefault('TRYTOND_DATABASE_URI', 'sqlite:///:memory:')
|
||||
os.environ.setdefault('DB_NAME', ':memory:')
|
||||
from trytond.tests.test_tryton import ( # noqa: E402
|
||||
doctest_setup, doctest_teardown)
|
||||
|
||||
here = os.path.dirname(__file__)
|
||||
readme = os.path.normpath(os.path.join(here, '..', '..', 'README.rst'))
|
||||
|
||||
|
||||
def test_suite():
|
||||
suite = unittest.TestSuite()
|
||||
loader = unittest.TestLoader()
|
||||
for filename in os.listdir(os.path.dirname(__file__)):
|
||||
if filename.startswith("test") and filename.endswith(".py"):
|
||||
modname = "proteus.tests." + filename[:-3]
|
||||
__import__(modname)
|
||||
module = sys.modules[modname]
|
||||
suite.addTests(loader.loadTestsFromModule(module))
|
||||
suite.addTests(additional_tests())
|
||||
return suite
|
||||
|
||||
|
||||
def additional_tests():
|
||||
suite = unittest.TestSuite()
|
||||
for mod in (proteus, proteus.config):
|
||||
suite.addTest(doctest.DocTestSuite(mod))
|
||||
if os.path.isfile(readme):
|
||||
suite.addTest(doctest.DocFileSuite(readme, module_relative=False,
|
||||
setUp=doctest_setup, tearDown=doctest_teardown,
|
||||
encoding='utf-8',
|
||||
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
|
||||
return suite
|
||||
|
||||
|
||||
def main():
|
||||
suite = test_suite()
|
||||
runner = unittest.TextTestRunner()
|
||||
return runner.run(suite)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(
|
||||
os.path.abspath(__file__)))))
|
||||
sys.exit(not main().wasSuccessful())
|
||||
@@ -0,0 +1,18 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from unittest import TestCase
|
||||
|
||||
from trytond.tests.test_tryton import db_exist, create_db
|
||||
|
||||
from proteus import config
|
||||
|
||||
|
||||
class ProteusTestCase(TestCase):
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
if not db_exist():
|
||||
create_db()
|
||||
|
||||
def setUp(self):
|
||||
self.config = config.set_trytond()
|
||||
@@ -0,0 +1,39 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import proteus.config
|
||||
from .common import ProteusTestCase
|
||||
|
||||
|
||||
class TestConfig(ProteusTestCase):
|
||||
|
||||
def test_proxy(self):
|
||||
config = proteus.config.get_config()
|
||||
user_proxy = config.get_proxy('res.user')
|
||||
user_id = user_proxy.search([('login', '=', 'admin')], 0, 1, None,
|
||||
config.context)[0]
|
||||
self.assertTrue(user_id == config.user)
|
||||
|
||||
def test_proxy_keyword(self):
|
||||
config = proteus.config.get_config()
|
||||
user_proxy = config.get_proxy('res.user')
|
||||
user_id, = user_proxy.search(
|
||||
[('login', '=', 'admin')], limit=1, context=config.context)
|
||||
self.assertTrue(user_id == config.user)
|
||||
|
||||
def test_proxy_methods(self):
|
||||
config = proteus.config.get_config()
|
||||
self.assertTrue('search' in config.get_proxy_methods('res.user'))
|
||||
|
||||
def test_trytond_config_eq(self):
|
||||
config1 = proteus.config.get_config()
|
||||
proteus.config.set_trytond()
|
||||
config2 = proteus.config.get_config()
|
||||
self.assertEqual(config1, config2)
|
||||
|
||||
self.assertRaises(NotImplementedError, config1.__eq__, None)
|
||||
|
||||
def test_repr(self):
|
||||
config = proteus.config.TrytondConfig('sqlite:///:memory:')
|
||||
self.assertEqual(repr(config),
|
||||
"proteus.config.TrytondConfig("
|
||||
"'sqlite:///:memory:', 'admin', config_file=None)")
|
||||
@@ -0,0 +1,16 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of this
|
||||
# repository contains the full copyright notices and license terms.
|
||||
from .common import ProteusTestCase
|
||||
|
||||
|
||||
class TestContext(ProteusTestCase):
|
||||
|
||||
def test_config(self):
|
||||
prev_ctx = self.config._context
|
||||
|
||||
with self.config.set_context({'a': 1}):
|
||||
self.assertEqual(self.config.context['a'], 1)
|
||||
for key, value in prev_ctx.items():
|
||||
self.assertEqual(self.config.context[key], value)
|
||||
|
||||
self.assertEqual(self.config.context, prev_ctx)
|
||||
@@ -0,0 +1,370 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from proteus import Model
|
||||
from .common import ProteusTestCase
|
||||
|
||||
|
||||
class TestModel(ProteusTestCase):
|
||||
|
||||
def test_class_cache(self):
|
||||
User1 = Model.get('res.user')
|
||||
User2 = Model.get('res.user')
|
||||
self.assertEqual(id(User1), id(User2))
|
||||
|
||||
Model.reset()
|
||||
User3 = Model.get('res.user')
|
||||
self.assertNotEqual(id(User1), id(User3))
|
||||
|
||||
def test_class_method(self):
|
||||
User = Model.get('res.user')
|
||||
self.assertTrue(len(User.search([('login', '=', 'admin')], {})))
|
||||
|
||||
def test_int(self):
|
||||
User = Model.get('res.user')
|
||||
admin = User.find([('login', '=', 'admin')])[0]
|
||||
self.assertEqual(int(admin), admin.id)
|
||||
|
||||
def test_id_zero(self):
|
||||
User = Model.get('res.user')
|
||||
root = User(0)
|
||||
self.assertEqual(root.login, 'root')
|
||||
|
||||
def test_find(self):
|
||||
User = Model.get('res.user')
|
||||
admin = User.find([('login', '=', 'admin')])[0]
|
||||
self.assertEqual(admin.login, 'admin')
|
||||
|
||||
def test_many2one(self):
|
||||
User = Model.get('res.user')
|
||||
admin = User.find([('login', '=', 'admin')])[0]
|
||||
self.assertTrue(isinstance(admin.create_uid, User))
|
||||
try:
|
||||
admin.create_uid = 'test'
|
||||
self.fail()
|
||||
except AssertionError:
|
||||
pass
|
||||
admin.create_uid = admin
|
||||
admin.create_uid = None
|
||||
|
||||
User(write_uid=None)
|
||||
|
||||
def test_one2many(self):
|
||||
Group = Model.get('res.group')
|
||||
administration = Group.find([('name', '=', 'Administration')])[0]
|
||||
self.assertTrue(isinstance(administration.model_access, list))
|
||||
self.assertTrue(isinstance(administration.model_access[0],
|
||||
Model.get('ir.model.access')))
|
||||
try:
|
||||
administration.model_access = []
|
||||
self.fail()
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
def test_many2many(self):
|
||||
User = Model.get('res.user')
|
||||
admin = User.find([('login', '=', 'admin')])[0]
|
||||
self.assertTrue(isinstance(admin.groups, list))
|
||||
self.assertTrue(isinstance(admin.groups[0],
|
||||
Model.get('res.group')))
|
||||
try:
|
||||
admin.groups = []
|
||||
self.fail()
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
# TODO test date
|
||||
|
||||
def test_reference(self):
|
||||
Attachment = Model.get('ir.attachment')
|
||||
User = Model.get('res.user')
|
||||
admin = User.find([('login', '=', 'admin')])[0]
|
||||
attachment = Attachment()
|
||||
attachment.name = 'Test'
|
||||
attachment.resource = admin
|
||||
attachment.save()
|
||||
self.assertEqual(attachment.resource, admin)
|
||||
|
||||
def test_id_counter(self):
|
||||
User = Model.get('res.user')
|
||||
test1 = User()
|
||||
self.assertTrue(test1.id < 0)
|
||||
test2 = User()
|
||||
self.assertTrue(test2.id < 0)
|
||||
self.assertNotEqual(test1.id, test2.id)
|
||||
|
||||
def test_init(self):
|
||||
User = Model.get('res.user')
|
||||
self.assertEqual(User(1).id, 1)
|
||||
self.assertEqual(User(name='Foo').name, 'Foo')
|
||||
|
||||
Lang = Model.get('ir.lang')
|
||||
en, = Lang.find([('code', '=', 'en')])
|
||||
self.assertEqual(User(language=en).language, en)
|
||||
self.assertEqual(User(language=en.id).language, en)
|
||||
|
||||
Group = Model.get('res.group')
|
||||
groups = Group.find()
|
||||
self.assertEqual(len(User(groups=groups).groups), len(groups))
|
||||
self.assertEqual(len(User(groups=[x.id for x in groups]).groups),
|
||||
len(groups))
|
||||
|
||||
def test_assign_unknown_field(self):
|
||||
"Test it is not allowed to assign unknown field"
|
||||
User = Model.get('res.user')
|
||||
user = User()
|
||||
|
||||
with self.assertRaises(AttributeError):
|
||||
user.unknown_field = 'foo'
|
||||
|
||||
def test_save(self):
|
||||
User = Model.get('res.user')
|
||||
test = User()
|
||||
test.name = 'Test'
|
||||
test.login = 'test'
|
||||
test.save()
|
||||
self.assertTrue(test.id > 0)
|
||||
|
||||
test = User(test.id)
|
||||
self.assertEqual(test.name, 'Test')
|
||||
self.assertEqual(test.login, 'test')
|
||||
self.assertTrue(test.active)
|
||||
|
||||
test.signature = 'Test signature'
|
||||
self.assertEqual(test.signature, 'Test signature')
|
||||
test.save()
|
||||
self.assertEqual(test.signature, 'Test signature')
|
||||
test = User(test.id)
|
||||
self.assertEqual(test.signature, 'Test signature')
|
||||
|
||||
Group = Model.get('res.group')
|
||||
test2 = User(name='Test 2', login='test2',
|
||||
groups=[Group(name='Test 2')])
|
||||
test2.save()
|
||||
self.assertTrue(test2.id > 0)
|
||||
self.assertEqual(test2.name, 'Test 2')
|
||||
self.assertEqual(test2.login, 'test2')
|
||||
|
||||
test.signature = 'classmethod save'
|
||||
test2.name = 'Test 2 classmethod'
|
||||
test3 = User(name='Test 3', login='test3')
|
||||
User.save([test, test2, test3])
|
||||
self.assertEqual(test.signature, 'classmethod save')
|
||||
self.assertEqual(test2.name, 'Test 2 classmethod')
|
||||
self.assertTrue(test3.id > 0)
|
||||
self.assertEqual(test3.name, 'Test 3')
|
||||
|
||||
def test_save_many2one(self):
|
||||
User = Model.get('res.user')
|
||||
test = User()
|
||||
test.name = 'Test save many2one'
|
||||
test.login = 'test_save_many2one'
|
||||
test.save()
|
||||
|
||||
Lang = Model.get('ir.lang')
|
||||
en, = Lang.find([('code', '=', 'en')])
|
||||
test.language = en
|
||||
test.save()
|
||||
self.assertEqual(test.language, en)
|
||||
|
||||
test.language = None
|
||||
test.save()
|
||||
self.assertFalse(test.language)
|
||||
|
||||
def test_save_one2many(self):
|
||||
Group = Model.get('res.group')
|
||||
group = Group()
|
||||
group.name = 'Test save one2many'
|
||||
group.save()
|
||||
|
||||
ModelAccess = Model.get('ir.model.access')
|
||||
Model_ = Model.get('ir.model')
|
||||
model_access = ModelAccess()
|
||||
model_access.model = Model_.find([('model', '=', 'res.group')])[0]
|
||||
model_access.perm_read = True
|
||||
model_access.perm_write = True
|
||||
model_access.perm_create = True
|
||||
model_access.perm_delete = True
|
||||
|
||||
group.model_access.append(model_access)
|
||||
group.save()
|
||||
self.assertEqual(len(group.model_access), 1)
|
||||
|
||||
model_access_id = group.model_access[0].id
|
||||
|
||||
group.name = 'Test save one2many bis'
|
||||
group.model_access[0].description = 'Test save one2many'
|
||||
group.save()
|
||||
self.assertEqual(group.model_access[0].description,
|
||||
'Test save one2many')
|
||||
|
||||
group.model_access.pop()
|
||||
group.save()
|
||||
self.assertEqual(group.model_access, [])
|
||||
self.assertEqual(len(ModelAccess.find([('id', '=', model_access_id)])),
|
||||
1)
|
||||
|
||||
group.model_access.append(ModelAccess(model_access_id))
|
||||
group.save()
|
||||
self.assertEqual(len(group.model_access), 1)
|
||||
|
||||
group.model_access.remove(group.model_access[0])
|
||||
group.save()
|
||||
self.assertEqual(group.model_access, [])
|
||||
self.assertEqual(len(ModelAccess.find([('id', '=', model_access_id)])),
|
||||
0)
|
||||
|
||||
def test_save_many2many(self):
|
||||
User = Model.get('res.user')
|
||||
test = User()
|
||||
test.name = 'Test save many2many'
|
||||
test.login = 'test_save_many2many'
|
||||
test.save()
|
||||
|
||||
Group = Model.get('res.group')
|
||||
group = Group()
|
||||
group.name = 'Test save many2many'
|
||||
group.save()
|
||||
|
||||
test.groups.append(group)
|
||||
test.save()
|
||||
self.assertEqual(len(test.groups), 1)
|
||||
|
||||
group_id = test.groups[0].id
|
||||
|
||||
test.name = 'Test save many2many bis'
|
||||
test.groups[0].name = 'Test save many2many bis'
|
||||
test.save()
|
||||
self.assertEqual(test.groups[0].name,
|
||||
'Test save many2many bis')
|
||||
|
||||
test.groups.pop()
|
||||
test.save()
|
||||
self.assertEqual(test.groups, [])
|
||||
self.assertEqual(len(Group.find([('id', '=', group_id)])), 1)
|
||||
|
||||
test.groups.append(Group(group_id))
|
||||
test.save()
|
||||
self.assertEqual(len(test.groups), 1)
|
||||
|
||||
test.groups.remove(test.groups[0])
|
||||
test.save()
|
||||
self.assertEqual(test.groups, [])
|
||||
self.assertEqual(len(Group.find([('id', '=', group_id)])), 0)
|
||||
|
||||
def test_eq(self):
|
||||
User = Model.get('res.user')
|
||||
test = User()
|
||||
test.name = 'Test eq'
|
||||
test.login = 'test_eq'
|
||||
test.save()
|
||||
admin1 = User.find([('login', '=', 'admin')])[0]
|
||||
admin2 = User.find([('login', '=', 'admin')])[0]
|
||||
|
||||
self.assertEqual(admin1, admin2)
|
||||
self.assertFalse(admin1 != admin2)
|
||||
self.assertNotEqual(admin1, test)
|
||||
self.assertFalse(admin1 == test)
|
||||
self.assertNotEqual(admin1, None)
|
||||
self.assertNotEqual(admin1, False)
|
||||
self.assertNotEqual(admin1, 1)
|
||||
|
||||
def test_default_set(self):
|
||||
User = Model.get('res.user')
|
||||
Group = Model.get('res.group')
|
||||
group_ids = [x.id for x in Group.find()]
|
||||
test = User()
|
||||
test._default_set({
|
||||
'name': 'Test',
|
||||
'groups': group_ids,
|
||||
})
|
||||
self.assertEqual(test.name, 'Test')
|
||||
self.assertEqual([x.id for x in test.groups], group_ids)
|
||||
|
||||
test = User()
|
||||
test._default_set({
|
||||
'name': 'Test',
|
||||
'groups': [
|
||||
{
|
||||
'name': 'Group 1',
|
||||
},
|
||||
{
|
||||
'name': 'Group 2',
|
||||
},
|
||||
],
|
||||
})
|
||||
self.assertEqual(test.name, 'Test')
|
||||
self.assertEqual([x.name for x in test.groups], ['Group 1', 'Group 2'])
|
||||
|
||||
def test_delete(self):
|
||||
Group = Model.get('res.group')
|
||||
test = Group()
|
||||
test.name = 'Test delete'
|
||||
test.save()
|
||||
test.delete()
|
||||
|
||||
def test_duplicate(self):
|
||||
User = Model.get('res.user')
|
||||
test = User()
|
||||
test.name = 'Test duplicate'
|
||||
test.login = 'test duplicate'
|
||||
test.save()
|
||||
copy, = User.duplicate([test], {'name': 'Test copy'})
|
||||
self.assertEqual(copy.name, 'Test copy')
|
||||
self.assertEqual(copy.login, 'test duplicate (copy)')
|
||||
self.assertNotEqual(copy.id, test.id)
|
||||
|
||||
def test_on_change(self):
|
||||
Trigger = Model.get('ir.trigger')
|
||||
|
||||
trigger = Trigger()
|
||||
|
||||
trigger.on_time = True
|
||||
self.assertEqual(trigger.on_create, False)
|
||||
|
||||
trigger.on_create = True
|
||||
self.assertEqual(trigger.on_time, False)
|
||||
|
||||
def test_on_change_with(self):
|
||||
Attachment = Model.get('ir.attachment')
|
||||
|
||||
attachment = Attachment()
|
||||
|
||||
attachment.description = 'Test'
|
||||
self.assertEqual(attachment.summary, 'Test')
|
||||
|
||||
def test_on_change_set(self):
|
||||
User = Model.get('res.user')
|
||||
Group = Model.get('res.group')
|
||||
|
||||
test = User()
|
||||
test._on_change_set('name', 'Test')
|
||||
self.assertEqual(test.name, 'Test')
|
||||
group_ids = [x.id for x in Group.find()]
|
||||
test._on_change_set('groups', group_ids)
|
||||
self.assertEqual([x.id for x in test.groups], group_ids)
|
||||
|
||||
test._on_change_set('groups', {'remove': [group_ids[0]]})
|
||||
self.assertEqual([x.id for x in test.groups], group_ids[1:])
|
||||
|
||||
test._on_change_set('groups', {'add': [(-1, {
|
||||
'name': 'Bar',
|
||||
})]})
|
||||
self.assertTrue([x for x in test.groups if x.name == 'Bar'])
|
||||
|
||||
test.groups.extend(Group.find())
|
||||
group = test.groups[0]
|
||||
test._on_change_set('groups', {'update': [{
|
||||
'id': group.id,
|
||||
'name': 'Foo',
|
||||
}]})
|
||||
self.assertTrue([x for x in test.groups if x.name == 'Foo'])
|
||||
|
||||
def test_model_list_find(self):
|
||||
User = Model.get('res.user')
|
||||
Group = Model.get('res.group')
|
||||
|
||||
test = User()
|
||||
groups = test.groups.find(order=[('id', 'ASC')])
|
||||
all_groups = Group.find([], order=[('id', 'ASC')])
|
||||
|
||||
self.assertListEqual(groups, all_groups)
|
||||
@@ -0,0 +1,27 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import unittest
|
||||
try:
|
||||
import pydot
|
||||
except ImportError:
|
||||
pydot = None
|
||||
|
||||
from proteus import Report, Model
|
||||
from .common import ProteusTestCase
|
||||
|
||||
|
||||
class TestReport(ProteusTestCase):
|
||||
|
||||
@unittest.skipIf(not pydot, 'requires pydot')
|
||||
def test_model_graph(self):
|
||||
IrModel = Model.get('ir.model')
|
||||
models = IrModel.find([])
|
||||
data = {
|
||||
'level': 1,
|
||||
'filter': '',
|
||||
}
|
||||
report = Report('ir.model.graph')
|
||||
type_, data, print_, name = report.execute(models, data)
|
||||
self.assertEqual(type_, 'png')
|
||||
self.assertEqual(print_, False)
|
||||
self.assertEqual(name, 'Graph')
|
||||
@@ -0,0 +1,53 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from proteus import Wizard, Model
|
||||
from .common import ProteusTestCase
|
||||
|
||||
|
||||
class TestWizard(ProteusTestCase):
|
||||
|
||||
def test_translation_clean(self):
|
||||
translation_clean = Wizard('ir.translation.clean')
|
||||
self.assertEqual(translation_clean.form.__class__.__name__,
|
||||
'ir.translation.clean.start')
|
||||
translation_clean.execute('clean')
|
||||
self.assertEqual(translation_clean.form.__class__.__name__,
|
||||
'ir.translation.clean.succeed')
|
||||
|
||||
def test_translation_export(self):
|
||||
Lang = Model.get('ir.lang')
|
||||
Module = Model.get('ir.module')
|
||||
translation_export = Wizard('ir.translation.export')
|
||||
translation_export.form.language, = Lang.find([('code', '=', 'en')])
|
||||
translation_export.form.module, = Module.find([('name', '=', 'ir')])
|
||||
translation_export.execute('export')
|
||||
self.assertTrue(translation_export.form.file)
|
||||
translation_export.execute('end')
|
||||
|
||||
def test_user_config(self):
|
||||
User = Model.get('res.user')
|
||||
|
||||
user_config = Wizard('res.user.config')
|
||||
user_config.execute('user')
|
||||
user_config.form.name = 'Foo'
|
||||
user_config.form.login = 'foo'
|
||||
user_config.execute('add')
|
||||
self.assertEqual(user_config.form.name, None)
|
||||
self.assertEqual(user_config.form.login, None)
|
||||
user_config.form.name = 'Bar'
|
||||
user_config.form.login = 'bar'
|
||||
user_config.execute('end')
|
||||
|
||||
self.assertTrue(User.find([('name', '=', 'Foo')]))
|
||||
self.assertFalse(User.find([('name', '=', 'Bar')]))
|
||||
|
||||
def test_translation_update(self):
|
||||
print_model_graph = Wizard('ir.translation.update')
|
||||
self.assertEqual(len(print_model_graph.actions), 0)
|
||||
print_model_graph.execute('update')
|
||||
self.assertEqual(len(print_model_graph.actions), 1)
|
||||
|
||||
def test_configuration_wizard(self):
|
||||
config_wizard = Wizard('ir.module.config_wizard')
|
||||
config_wizard.execute('action')
|
||||
self.assertTrue(config_wizard.actions)
|
||||
Executable
+112
@@ -0,0 +1,112 @@
|
||||
#!/usr/bin/env python3
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import io
|
||||
import os
|
||||
import re
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
|
||||
def read(fname):
|
||||
return io.open(
|
||||
os.path.join(os.path.dirname(__file__), fname),
|
||||
'r', encoding='utf-8').read()
|
||||
|
||||
|
||||
def get_version():
|
||||
init = read(os.path.join('proteus', '__init__.py'))
|
||||
return re.search('__version__ = "([0-9.]*)"', init).group(1)
|
||||
|
||||
|
||||
def get_require_version(name):
|
||||
if minor_version % 2:
|
||||
require = '%s >= %s.%s.dev0, < %s.%s'
|
||||
else:
|
||||
require = '%s >= %s.%s, < %s.%s'
|
||||
require %= (name, major_version, minor_version,
|
||||
major_version, minor_version + 1)
|
||||
return require
|
||||
|
||||
|
||||
name = 'proteus'
|
||||
version = get_version()
|
||||
major_version, minor_version, _ = version.split('.', 2)
|
||||
major_version = int(major_version)
|
||||
minor_version = int(minor_version)
|
||||
|
||||
download_url = 'http://downloads.tryton.org/%s.%s/' % (
|
||||
major_version, minor_version)
|
||||
if minor_version % 2:
|
||||
version = '%s.%s.dev0' % (major_version, minor_version)
|
||||
download_url = 'hg+http://hg.tryton.org/%s#egg=%s-%s' % (
|
||||
name, name, version)
|
||||
local_version = []
|
||||
if os.environ.get('CI_JOB_ID'):
|
||||
local_version.append(os.environ['CI_JOB_ID'])
|
||||
else:
|
||||
for build in ['CI_BUILD_NUMBER', 'CI_JOB_NUMBER']:
|
||||
if os.environ.get(build):
|
||||
local_version.append(os.environ[build])
|
||||
else:
|
||||
local_version = []
|
||||
break
|
||||
if local_version:
|
||||
version += '+' + '.'.join(local_version)
|
||||
|
||||
dependency_links = []
|
||||
if minor_version % 2:
|
||||
dependency_links.append(
|
||||
'https://trydevpi.tryton.org/?local_version='
|
||||
+ '.'.join(local_version))
|
||||
|
||||
setup(name=name,
|
||||
version=version,
|
||||
description='Library to access Tryton server as a client',
|
||||
long_description=read('README.rst'),
|
||||
author='Tryton',
|
||||
author_email='bugs@tryton.org',
|
||||
url='http://www.tryton.org/',
|
||||
download_url=download_url,
|
||||
project_urls={
|
||||
"Bug Tracker": 'https://bugs.tryton.org/',
|
||||
"Documentation": 'https://docs.tryton.org/',
|
||||
"Forum": 'https://www.tryton.org/forum',
|
||||
"Source Code": 'https://hg.tryton.org/proteus',
|
||||
},
|
||||
keywords='tryton library cli',
|
||||
packages=find_packages(),
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Plugins',
|
||||
'Framework :: Tryton',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Financial and Insurance Industry',
|
||||
'Intended Audience :: Legal Industry',
|
||||
'License :: OSI Approved :: '
|
||||
'GNU Library or Lesser General Public License (LGPL)',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
'Topic :: Office/Business',
|
||||
],
|
||||
platforms='any',
|
||||
license='LGPL-3',
|
||||
python_requires='>=3.6',
|
||||
install_requires=[
|
||||
'defusedxml',
|
||||
"python-dateutil",
|
||||
],
|
||||
extras_require={
|
||||
'trytond': [get_require_version('trytond')],
|
||||
},
|
||||
dependency_links=dependency_links,
|
||||
zip_safe=True,
|
||||
test_suite='proteus.tests',
|
||||
tests_require=[get_require_version('trytond'),
|
||||
get_require_version('trytond_party')],
|
||||
)
|
||||
@@ -0,0 +1,10 @@
|
||||
[tox]
|
||||
envlist = py36,py37,py38,py39,pypy3
|
||||
|
||||
[testenv]
|
||||
commands = {envpython} setup.py test
|
||||
deps =
|
||||
setenv =
|
||||
TRYTOND_DATABASE_URI={env:TRYTOND_DATBASE_URI:sqlite://}
|
||||
DB_NAME={env:DB_NAME::memory:}
|
||||
install_command = pip install --pre --find-links https://trydevpi.tryton.org/?local_version={env:CI_JOB_ID:{env:CI_BUILD_NUMBER}.{env:CI_JOB_NUMBER}} {opts} {packages}
|
||||
@@ -0,0 +1,126 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-accounting:
|
||||
|
||||
Accounting
|
||||
==========
|
||||
|
||||
`Account </projects/modules-account/en/6.0>`_
|
||||
Fundamentals for most accounting needs.
|
||||
|
||||
`Asset </projects/modules-account-asset/en/6.0>`_
|
||||
Depreciation of fixed assets.
|
||||
|
||||
`Belgian </projects/modules-account-be/en/6.0>`_
|
||||
Belgian accounting.
|
||||
|
||||
`Cash Rounding </projects/modules-account-cash-rounding/en/6.0>`_
|
||||
Round cash amounts.
|
||||
|
||||
`Credit Limit </projects/modules-account-credit-limit/en/6.0>`_
|
||||
Manages credit limit of parties.
|
||||
|
||||
`Deposit </projects/modules-account-deposit/en/6.0>`_
|
||||
Supports customer deposits.
|
||||
|
||||
`Dunning </projects/modules-account-dunning/en/6.0>`_
|
||||
Manages dunning on receivables.
|
||||
|
||||
`Dunning Email </projects/modules-account-dunning-email/en/6.0>`_
|
||||
Sends dunning emails.
|
||||
|
||||
`Dunning Fee </projects/modules-account-dunning-fee/en/6.0>`_
|
||||
Adds fees to dunnings.
|
||||
|
||||
`Dunning Letter </projects/modules-account-dunning-letter/en/6.0>`_
|
||||
Prints dunning letters.
|
||||
|
||||
`Spanish </projects/modules-account-es/en/6.0>`_
|
||||
Spanish accounting.
|
||||
|
||||
`Europe </projects/modules-account-eu/en/6.0>`_
|
||||
Common European requirements.
|
||||
|
||||
`French </projects/modules-account-fr/en/6.0>`_
|
||||
French accounting.
|
||||
|
||||
`French Chorus </projects/modules-account-fr-chorus/en/6.0>`_
|
||||
Sends invoices via Chorus Pro.
|
||||
|
||||
`German </projects/modules-account-de-skr03>`_
|
||||
German accounting.
|
||||
|
||||
`Invoice </projects/modules-account-invoice/en/6.0>`_
|
||||
Manages customer and supplier invoices.
|
||||
|
||||
`Invoice Correction </projects/modules-account-invoice-correction/en/6.0>`_
|
||||
Correct price on posted invoices.
|
||||
|
||||
`Invoice Defer </projects/modules-account-invoice-defer/en/6.0>`_
|
||||
Defer expense and revenue.
|
||||
|
||||
`Invoice History </projects/modules-account-invoice-history/en/6.0>`_
|
||||
Historize invoice.
|
||||
|
||||
`Invoice Line Standalone </projects/modules-account-invoice-line-standalone/en/6.0>`_
|
||||
Supports invoice line without invoice.
|
||||
|
||||
`Invoice Secondary Unit </projects/modules-account-invoice-secondary-unit/en/6.0>`_
|
||||
Adds a secondary unit of measure.
|
||||
|
||||
`Invoice Stock </projects/modules-account-invoice-stock/en/6.0>`_
|
||||
Links invoice lines and stock moves.
|
||||
|
||||
`Payment </projects/modules-account-payment/en/6.0>`_
|
||||
Manages payments.
|
||||
|
||||
`Payment Braintree </projects/modules-account-payment-braintree/en/6.0>`_
|
||||
Receives payment from Braintree.
|
||||
|
||||
`Payment Clearing </projects/modules-account-payment-clearing/en/6.0>`_
|
||||
Uses clearing account for payments.
|
||||
|
||||
`Payment SEPA </projects/modules-account-payment-sepa/en/6.0>`_
|
||||
Genrates SEPA messages for payments.
|
||||
|
||||
`Payment SEPA CFONB </projects/modules-account-payment-sepa-cfonb/en/6.0>`_
|
||||
Adds CFONB flavors to SEPA.
|
||||
|
||||
`Payment Stripe </projects/modules-account-payment-stripe/en/6.0>`_
|
||||
Receives payment from Stripe.
|
||||
|
||||
`Product </projects/modules-account-product/en/6.0>`_
|
||||
Adds accounting on product and category.
|
||||
|
||||
`Statement </projects/modules-account-statement/en/6.0>`_
|
||||
Books bank statement, cash day book etc.
|
||||
|
||||
`Statement AEB43 </projects/modules-account-statement-aeb43/en/6.0>`_
|
||||
Imports statements in AEB43 format.
|
||||
|
||||
`Statement CODA </projects/modules-account-statement-coda/en/6.0>`_
|
||||
Imports statements in CODA format.
|
||||
|
||||
`Statement OFX </projects/modules-account-statement-ofx/en/6.0>`_
|
||||
Imports statements in OFX format.
|
||||
|
||||
`Statement Rule </projects/modules-account-statement-rule/en/6.0>`_
|
||||
Applies rules on imported statements.
|
||||
|
||||
`Stock Anglo-Saxon </projects/modules-account-stock-anglo-saxon/en/6.0>`_
|
||||
Values stock using the anglo-saxon method.
|
||||
|
||||
`Stock Continental </projects/modules-account-stock-continental/en/6.0>`_
|
||||
Values stock using the continental method.
|
||||
|
||||
`Stock Landed Cost </projects/modules-account-stock-landed-cost/en/6.0>`_
|
||||
Allocates landed cost.
|
||||
|
||||
`Stock Landed Cost Weight </projects/modules-account-stock-landed-cost-weight/en/6.0>`_
|
||||
Allocates landed cost based on weight.
|
||||
|
||||
`Tax Cash </projects/modules-account-tax-cash/en/6.0>`_
|
||||
Reports tax on cash basis.
|
||||
|
||||
`Tax Rule Country </projects/modules-account-tax-rule-country/en/6.0>`_
|
||||
Applies taxes per country of origin and destination.
|
||||
@@ -0,0 +1,18 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-analytic-accounting:
|
||||
|
||||
Analytic Accounting
|
||||
===================
|
||||
|
||||
`Account </projects/modules-analytic-account/en/6.0>`_
|
||||
Fundamentals for analytic.
|
||||
|
||||
`Invoice </projects/modules-analytic-invoice/en/6.0>`_
|
||||
Adds analytic on invoice.
|
||||
|
||||
`Purchase </projects/modules-analytic-purchase/en/6.0>`_
|
||||
Adds analytic on purchase.
|
||||
|
||||
`Sale </projects/modules-analytic-sale/en/6.0>`_
|
||||
Adds analytic on sale.
|
||||
@@ -0,0 +1,12 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-authentication:
|
||||
|
||||
Authentication
|
||||
==============
|
||||
|
||||
`SMS </projects/modules-authentication-sms/en/6.0>`_
|
||||
Authentication per SMS.
|
||||
|
||||
`LDAP </projects/modules-ldap-authentication/en/6.0>`_
|
||||
Authentication per LDAP.
|
||||
@@ -0,0 +1,18 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-carrier:
|
||||
|
||||
Carrier
|
||||
=======
|
||||
|
||||
`Carrier </projects/modules-carrier/en/6.0>`_
|
||||
Fundamentals to manage carriers.
|
||||
|
||||
`Percentage </projects/modules-carrier-percentage/en/6.0>`_
|
||||
Computes cost based on percentage.
|
||||
|
||||
`Subdivision </projects/modules-carrier-subdivision/en/6.0>`_
|
||||
Restricts the usage of a carrier to subdivisions and ZIP codes.
|
||||
|
||||
`Weight </projects/modules-carrier-weight/en/6.0>`_
|
||||
Computes cost based on weight.
|
||||
@@ -0,0 +1,12 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-commission:
|
||||
|
||||
Commission
|
||||
==========
|
||||
|
||||
`Commission </projects/modules-commission/en/6.0>`_
|
||||
Fundamentals to commission sale's agents.
|
||||
|
||||
`Waiting </projects/modules-commission-waiting/en/6.0>`_
|
||||
Creates waiting account moves.
|
||||
@@ -0,0 +1,12 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-company:
|
||||
|
||||
Company
|
||||
=======
|
||||
|
||||
`Company </projects/modules-company/en/6.0>`_
|
||||
Defines company and employees.
|
||||
|
||||
`Work Time </projects/modules-company-work-time/en/6.0>`_
|
||||
Defines work time per company.
|
||||
@@ -0,0 +1,12 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-edocument:
|
||||
|
||||
Electronic Document
|
||||
===================
|
||||
|
||||
`UN/CEFACT </projects/modules-edocument-uncefact/en/6.0>`_
|
||||
Supports UN/CEFACT format.
|
||||
|
||||
`UNECE </projects/modules-edocument-unece/en/6.0>`_
|
||||
Adds UNECE codes.
|
||||
@@ -0,0 +1,117 @@
|
||||
====================
|
||||
Tryton Documentation
|
||||
====================
|
||||
|
||||
Main
|
||||
----
|
||||
|
||||
`Server </projects/server/en/6.0>`_
|
||||
The main application.
|
||||
|
||||
`Desktop Client </projects/client-desktop/en/6.0>`_
|
||||
The application to connect to the server.
|
||||
|
||||
`Scripting Client </projects/client-library/en/6.0>`_
|
||||
The library to access models, wizards and reports like a client.
|
||||
|
||||
Backend
|
||||
-------
|
||||
|
||||
`GIS </projects/backend-gis/en/6.0>`_
|
||||
Adds GIS support.
|
||||
|
||||
Modules
|
||||
-------
|
||||
|
||||
Operational
|
||||
^^^^^^^^^^^
|
||||
|
||||
:ref:`Financial Accounting <index-accounting>`
|
||||
Reports all transactions of your chart of accounts.
|
||||
|
||||
:ref:`Analytic Accounting <index-analytic-accounting>`
|
||||
Analyze your accounts.
|
||||
|
||||
`Attendance </projects/modules-attendance/en/6.0>`_
|
||||
Track presences.
|
||||
|
||||
:ref:`Commission <index-commission>`
|
||||
Commission sale's agents.
|
||||
|
||||
:ref:`EDocument <index-edocument>`
|
||||
Electronic document format.
|
||||
|
||||
:ref:`Marketing <index-marketing>`
|
||||
Communicates with your customers.
|
||||
|
||||
:ref:`Production <index-production>`
|
||||
Transforms raw materials into finished products.
|
||||
|
||||
:ref:`Project <index-project>`
|
||||
Checks the profitability of projects.
|
||||
|
||||
:ref:`Purchase <index-purchase>`
|
||||
Follows your purchases.
|
||||
|
||||
:ref:`Sale <index-sale>`
|
||||
Follows sale orders.
|
||||
|
||||
:ref:`Sale Subscription <index-sale_subscription>`
|
||||
Subscribes to recurring service.
|
||||
|
||||
:ref:`Stock <index-stock>`
|
||||
Tracks goods in your warehouses.
|
||||
|
||||
:ref:`Timesheet <index-timesheet>`
|
||||
Tracks time spend.
|
||||
|
||||
Referential
|
||||
^^^^^^^^^^^
|
||||
|
||||
`Banking </projects/modules-bank/en/6.0>`_
|
||||
Adds bank and account.
|
||||
|
||||
:ref:`Company <index-company>`
|
||||
Structure of the company.
|
||||
|
||||
:ref:`Carrier <index-carrier>`
|
||||
To ship.
|
||||
|
||||
`Country </projects/modules-country/en/6.0>`_
|
||||
ISO 3166 list of countries and subdivisions.
|
||||
|
||||
`Currency </projects/modules-currency/en/6.0>`_
|
||||
ISO 4217 list of currencies.
|
||||
|
||||
`Customs </projects/modules-customs/en/6.0>`_
|
||||
Defines customs duty per tariff code.
|
||||
|
||||
`Dashboard </projects/modules-dashboard/en/6.0>`_
|
||||
Customized dashboard.
|
||||
|
||||
`Google Maps </projects/modules-google-maps/en/6.0>`_
|
||||
Links address to Google map.
|
||||
|
||||
`Incoterm </projects/modules-incoterm/en/6.0>`_
|
||||
Defines incoterms.
|
||||
|
||||
:ref:`Party <index-party>`
|
||||
Identify parties.
|
||||
|
||||
:ref:`Product <index-product>`
|
||||
Manages products.
|
||||
|
||||
Administration
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
:ref:`Authentication <index-authentication>`
|
||||
Extends authentication mechanism.
|
||||
|
||||
`Notification Email </projects/modules-notification-email/en/6.0>`_
|
||||
Sends email.
|
||||
|
||||
`User Role </projects/modules-user-role/en/6.0>`_
|
||||
Manage user groups with roles.
|
||||
|
||||
:ref:`Web <index-web>`
|
||||
Manage web features.
|
||||
@@ -0,0 +1,15 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-marketing:
|
||||
|
||||
Marketing
|
||||
=========
|
||||
|
||||
`Marketing </projects/modules-marketing/en/6.0>`_
|
||||
Fundamentals for marketing.
|
||||
|
||||
`Automation </projects/modules-marketing-automation/en/6.0>`_
|
||||
Uses scenario.
|
||||
|
||||
`E-mail </projects/modules-marketing-email/en/6.0>`_
|
||||
Manage mailing lists.
|
||||
@@ -0,0 +1,18 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-party:
|
||||
|
||||
Party
|
||||
=====
|
||||
|
||||
`Party </projects/modules-party/en/6.0>`_
|
||||
Fundamentals to store parties.
|
||||
|
||||
`Avatar </projects/modules-party-avatar/en/6.0>`_
|
||||
Adds avatar.
|
||||
|
||||
`Relationship </projects/modules-party-relationship/en/6.0>`_
|
||||
Defines relation between parties.
|
||||
|
||||
`SIRET </projects/modules-party-siret/en/6.0>`_
|
||||
Adds SIRET and SIREN.
|
||||
@@ -0,0 +1,42 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-product:
|
||||
|
||||
Product
|
||||
=======
|
||||
|
||||
`Product </projects/modules-product/en/6.0>`_
|
||||
Fundamentals to manage products.
|
||||
|
||||
`Attribute </projects/modules-product-attribute/en/6.0>`_
|
||||
Adds attributes to products.
|
||||
|
||||
`Classification </projects/modules-product-classification/en/6.0>`_
|
||||
Classifies products.
|
||||
|
||||
`Classification Taxonomic </projects/modules-product-classification-taxonomic/en/6.0>`_
|
||||
Uses Taxonomic classification.
|
||||
|
||||
`Cost FIFO </projects/modules-product-cost-fifo/en/6.0>`_
|
||||
Adds FIFO cost method.
|
||||
|
||||
`Cost History </projects/modules-product-cost-history/en/6.0>`_
|
||||
Historize the cost.
|
||||
|
||||
`Cost Warehouse </projects/modules-product-cost-warehouse/en/6.0>`_
|
||||
Calculate cost prices per warehouse.
|
||||
|
||||
`Measurements </projects/modules-product-measurements/en/6.0>`_
|
||||
Adds measurements to products.
|
||||
|
||||
`Price List </projects/modules-product-price-list/en/6.0>`_
|
||||
Computes price.
|
||||
|
||||
`Price List Dates </projects/modules-product-price-list-dates/en/6.0>`_
|
||||
Sets start and end date on price lists.
|
||||
|
||||
`Price List Parent </projects/modules-product-price-list-parent/en/6.0>`_
|
||||
Adds price list cascading.
|
||||
|
||||
`Kit </projects/modules-product-kit/en/6.0>`_
|
||||
Add support for product kits.
|
||||
@@ -0,0 +1,24 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-production:
|
||||
|
||||
Production
|
||||
==========
|
||||
|
||||
`Production </projects/modules-production/en/6.0>`_
|
||||
Fundamentals for production management.
|
||||
|
||||
`Outsourcing </projects/modules-production-outsourcing/en/6.0>`_
|
||||
Outsources the production.
|
||||
|
||||
`Routing </projects/modules-production-routing/en/6.0>`_
|
||||
Defines routings.
|
||||
|
||||
`Split </projects/modules-production-split/en/6.0>`_
|
||||
Split production orders.
|
||||
|
||||
`Work </projects/modules-production-work/en/6.0>`_
|
||||
Manage work order for each production.
|
||||
|
||||
`Work Timesheet </projects/modules-production-work-timesheet/en/6.0>`_
|
||||
Track time per work.
|
||||
@@ -0,0 +1,18 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-project:
|
||||
|
||||
Project
|
||||
=======
|
||||
|
||||
`Project </projects/modules-project/en/6.0>`_
|
||||
Fundamentals for project management.
|
||||
|
||||
`Invoice </projects/modules-project-invoice/en/6.0>`_
|
||||
Invoices the projects.
|
||||
|
||||
`Plan </projects/modules-project-plan/en/6.0>`_
|
||||
Plans the projects.
|
||||
|
||||
`Revenue </projects/modules-project-revenue/en/6.0>`_
|
||||
Follows cost and revenue of projects.
|
||||
@@ -0,0 +1,36 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-purchase:
|
||||
|
||||
Purchase
|
||||
========
|
||||
|
||||
`Purchase </projects/modules-purchase/en/6.0>`_
|
||||
Fundamentals to follow purchases.
|
||||
|
||||
`Amendment </projects/modules-purchase-amendment/en/6.0>`_
|
||||
Amend purchases in processing.
|
||||
|
||||
`History </projects/modules-purchase-history/en/6.0>`_
|
||||
Manages revisions.
|
||||
|
||||
`Invoice Line Standalone </projects/modules-purchase-invoice-line-standalone/en/6.0>`_
|
||||
Generates invoice lines.
|
||||
|
||||
`Price List </projects/modules-purchase-price-list/en/6.0>`_
|
||||
Applies price list.
|
||||
|
||||
`Request </projects/modules-purchase-request/en/6.0>`_
|
||||
Collects the purchase requests.
|
||||
|
||||
`Request Quotation </projects/modules-purchase-request-quotation/en/6.0>`_
|
||||
Asks quotation for the purchase requests.
|
||||
|
||||
`Requisition </projects/modules-purchase-requisition/en/6.0>`_
|
||||
Requires purchase by employees.
|
||||
|
||||
`Secondary Unit </projects/modules-purchase-secondary-unit/en/6.0>`_
|
||||
Adds a secondary unit of measure.
|
||||
|
||||
`Shipment Cost </projects/modules-purchase-shipment-cost/en/6.0>`_
|
||||
Computes shipment cost.
|
||||
@@ -0,0 +1,78 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-sale:
|
||||
|
||||
Sale
|
||||
====
|
||||
|
||||
`Sale </projects/modules-sale/en/6.0>`_
|
||||
Fundamentals to follow sales.
|
||||
|
||||
`Advance Payment </projects/modules-sale-advance-payment/en/6.0>`_
|
||||
Manage advance payment on sale.
|
||||
|
||||
`Amendment </projects/modules-sale-amendment/en/6.0>`_
|
||||
Amend sales in processing.
|
||||
|
||||
`Complaint </projects/modules-sale-complaint/en/6.0>`_
|
||||
Solves customer complaints.
|
||||
|
||||
`Credit Limit </projects/modules-sale-credit-limit/en/6.0>`_
|
||||
Adds sales to the credit limit.
|
||||
|
||||
`Discount </projects/modules-sale-discount/en/6.0>`_
|
||||
Adds discount on lines.
|
||||
|
||||
`Extra </projects/modules-sale-extra/en/6.0>`_
|
||||
Add extra lines.
|
||||
|
||||
`Gift Card </projects/modules-sale-gift-card/en/6.0>`_
|
||||
Sales gift cards.
|
||||
|
||||
`History </projects/modules-sale-history/en/6.0>`_
|
||||
Manages revisions.
|
||||
|
||||
`Invoice Grouping </projects/modules-sale-invoice-grouping/en/6.0>`_
|
||||
Groups invoices.
|
||||
|
||||
`Opportunity </projects/modules-sale-opportunity/en/6.0>`_
|
||||
Tracks leads and opportunities.
|
||||
|
||||
`Payment </projects/modules-sale-payment/en/6.0>`_
|
||||
Pays sales before posting the invoice.
|
||||
|
||||
`Price List </projects/modules-sale-price-list/en/6.0>`_
|
||||
Applies price list.
|
||||
|
||||
`Product Customer </projects/modules-sale-product-customer/en/6.0>`_
|
||||
Adds customer's name and code for product.
|
||||
|
||||
`Promotion </projects/modules-sale-promotion/en/6.0>`_
|
||||
Applies promotions.
|
||||
|
||||
`Promotion Coupon </projects/modules-sale-promotion-coupon/en/6.0>`_
|
||||
Applies promotions with coupons.
|
||||
|
||||
`Shipment Cost </projects/modules-sale-shipment-cost/en/6.0>`_
|
||||
Computes shipment cost.
|
||||
|
||||
`Shipment Grouping </projects/modules-sale-shipment-grouping/en/6.0>`_
|
||||
Groups shipments.
|
||||
|
||||
`Shipment Tolerance </projects/modules-sale-shipment-tolerance/en/6.0>`_
|
||||
Define tolerance for under and over shipment.
|
||||
|
||||
`Secondary Unit </projects/modules-sale-secondary-unit/en/6.0>`_
|
||||
Adds a secondary unit of measure.
|
||||
|
||||
`Stock Quantity </projects/modules-sale-stock-quantity/en/6.0>`_
|
||||
Checks stock level.
|
||||
|
||||
`Supply </projects/modules-sale-supply/en/6.0>`_
|
||||
Supplies from the sale.
|
||||
|
||||
`Supply Drop Shipment </projects/modules-sale-supply-drop-shipment/en/6.0>`_
|
||||
Supplies with drop shipment.
|
||||
|
||||
`Supply Production </projects/modules-sale-supply-production/en/6.0>`_
|
||||
Supplies with production.
|
||||
@@ -0,0 +1,12 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-sale_subscription:
|
||||
|
||||
Sale Subscription
|
||||
=================
|
||||
|
||||
`Subscription </projects/modules-sale-subscription/en/6.0>`_
|
||||
Fundamentals to manage subscriptions.
|
||||
|
||||
`Asset </projects/modules-sale-subscription-asset/en/6.0>`_
|
||||
Add asset to subscribed service.
|
||||
@@ -0,0 +1,81 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-stock:
|
||||
|
||||
Stock
|
||||
=====
|
||||
|
||||
`Stock </projects/modules-stock/en/6.0>`_
|
||||
Fundamentals to manage warehouses.
|
||||
|
||||
`Assign Manual </projects/modules-stock-assign-manual/en/6.0>`_
|
||||
Manually decide where to pick products.
|
||||
|
||||
`Consignment </projects/modules-stock-consignment/en/6.0>`_
|
||||
Manages consignment stock from supplier or at customer warehouse.
|
||||
|
||||
`Forecast </projects/modules-stock-forecast/en/6.0>`_
|
||||
Forecast the stock levels.
|
||||
|
||||
`Inventory Location </projects/modules-stock-inventory-location/en/6.0>`_
|
||||
Creates inventories for many locations.
|
||||
|
||||
`Location Move </projects/modules-stock-location-move/en/6.0>`_
|
||||
Makes location movable.
|
||||
|
||||
`Location Sequence </projects/modules-stock-location-sequence/en/6.0>`_
|
||||
Orders locations.
|
||||
|
||||
`Lot </projects/modules-stock-lot/en/6.0>`_
|
||||
Track products with lot.
|
||||
|
||||
`Lot Shelf Life Expiration Date </projects/modules-stock-lot-sled/en/6.0>`_
|
||||
Manages expiration dates.
|
||||
|
||||
`Lot Unit </projects/modules-stock-lot-unit/en/6.0>`_
|
||||
Defines unit and quantity per lot.
|
||||
|
||||
`Package </projects/modules-stock-package/en/6.0>`_
|
||||
Store packaging on shipments.
|
||||
|
||||
`Package Shipping </projects/modules-stock-package-shipping/en/6.0>`_
|
||||
Fundamentals to interact with shipping services.
|
||||
|
||||
`Package Shipping DPD </projects/modules-stock-package-shipping-dpd/en/6.0>`_
|
||||
Connects with DPD shipping service.
|
||||
|
||||
`Package Shipping UPS </projects/modules-stock-package-shipping-ups/en/6.0>`_
|
||||
Connects with UPS shipping service.
|
||||
|
||||
`Product Location </projects/modules-stock-product-location/en/6.0>`_
|
||||
Defines preferred locations for products.
|
||||
|
||||
`Quantity Early Planning </projects/modules-stock-quantity-early-planning/en/6.0>`_
|
||||
Consume earlier stock.
|
||||
|
||||
`Quantity Issue </projects/modules-stock-quantity-issue/en/6.0>`_
|
||||
Reports quantity issues.
|
||||
|
||||
`Secondary Unit </projects/modules-stock-secondary-unit/en/6.0>`_
|
||||
Adds a secondary unit of measure.
|
||||
|
||||
`Shipment Cost </projects/modules-stock-shipment-cost/en/6.0>`_
|
||||
Adds shipment costs to outgoing moves.
|
||||
|
||||
`Shipment Measurements </projects/modules-stock-shipment-measurements/en/6.0>`_
|
||||
Adds measurements to shipments.
|
||||
|
||||
`Split </projects/modules-stock-split/en/6.0>`_
|
||||
Splits moves and shipments.
|
||||
|
||||
`Supply </projects/modules-stock-supply/en/6.0>`_
|
||||
Supplies warehouses.
|
||||
|
||||
`Supply Forecast </projects/modules-stock-supply-forecast/en/6.0>`_
|
||||
Uses forecast to supply warehouses.
|
||||
|
||||
`Supply Day </projects/modules-stock-supply-day/en/6.0>`_
|
||||
Compute supply date per week day.
|
||||
|
||||
`Supply Production </projects/modules-stock-supply-production/en/6.0>`_
|
||||
Supplies warehouses with production orders.
|
||||
@@ -0,0 +1,12 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-timesheet:
|
||||
|
||||
Timesheet
|
||||
=========
|
||||
|
||||
`Timesheet </projects/modules-timesheet/en/6.0>`_
|
||||
Fundamentals to track time spend.
|
||||
|
||||
`Cost </projects/modules-timesheet-cost/en/6.0>`_
|
||||
Tracks employee cost.
|
||||
@@ -0,0 +1,21 @@
|
||||
:orphan:
|
||||
|
||||
.. _index-web:
|
||||
|
||||
Web
|
||||
===
|
||||
|
||||
`Shop </projects/modules-web-shop/en/6.0>`_
|
||||
Fundamentals to sale online.
|
||||
|
||||
`Shop Vue Storefront </projects/modules-web-shop-vue-storefront/en/6.0>`_
|
||||
Integration with Vue Storefront.
|
||||
|
||||
`Shop Vue Storefront Stripe </projects/modules-web-shop-vue-storefront-stripe/en/6.0>`_
|
||||
Support of Stripe Payment for Vue Storefront.
|
||||
|
||||
`Shortener </projects/modules-web-shortener/en/6.0>`_
|
||||
Shortens URL and connects them to actions.
|
||||
|
||||
`User </projects/modules-web-user/en/6.0>`_
|
||||
Manages external users.
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
echo '{ "allow_root": true }' > ~/.bowerrc
|
||||
@@ -0,0 +1,17 @@
|
||||
clone:
|
||||
hg:
|
||||
image: plugins/hg
|
||||
environment:
|
||||
- HG_SHARE_POOL=/root/.cache/hg
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
|
||||
pipeline:
|
||||
npm:
|
||||
image: tryton/sao-test
|
||||
commands:
|
||||
- sh .bower_allow_root.sh
|
||||
- npm -s install --unsafe-perm --legacy-peer-deps
|
||||
- npm test
|
||||
volumes:
|
||||
- cache-npm:/root/.npm
|
||||
+274
@@ -0,0 +1,274 @@
|
||||
Version 6.0.24 - 2022-12-06
|
||||
---------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.23 - 2022-11-05
|
||||
---------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.22 - 2022-10-17
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.21 - 2022-08-17
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.20 - 2022-07-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.19 - 2022-06-15
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.18 - 2022-06-03
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.17 - 2022-05-06
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.16 - 2022-04-15
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.15 - 2022-03-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.14 - 2022-02-16
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.13 - 2022-02-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.12 - 2022-01-15
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.11 - 2022-01-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.10 - 2021-12-03
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.9 - 2021-11-04
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.8 - 2021-10-15
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.7 - 2021-10-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.6 - 2021-09-16
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.5 - 2021-09-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.4 - 2021-08-05
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.3 - 2021-07-21
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.2 - 2021-07-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.1 - 2021-06-17
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.0 - 2021-05-03
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Use appropriate types for email and url widgets
|
||||
* Add completion on xxx2Many and Dict
|
||||
* Add attachment preview
|
||||
* Support document widget
|
||||
* Support icon of type URL
|
||||
* Allow sending email with existing attachments
|
||||
* Add paths and model context to action data
|
||||
* Add indentation in CSV export of tree
|
||||
* Manage which records to use for actions
|
||||
* Add drag and drop on CSV export and import
|
||||
* Remove tempusdominus dependency
|
||||
* Handle device cookie
|
||||
* Add breadcrumb as title of window form
|
||||
* Manage help for each selection
|
||||
* Display revision on dialog
|
||||
* Support empty value for timedelta converter
|
||||
* Unify PYSON string format
|
||||
|
||||
Version 5.8.0 - 2020-11-02
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Format timedelta in CSV export
|
||||
* Manage symbol widget
|
||||
* Fallback to model name as title
|
||||
* Set treeview footer sticky on bottom
|
||||
* Add get, in_ and contains methods to PYSON
|
||||
* Manage deletable and writable state
|
||||
* Support e-mail template
|
||||
* Always encode CSV export in UTF-8
|
||||
* Use tempusdominus and Popper for date time picker
|
||||
* Support PYSON comparison of date and datetime
|
||||
* Customize bootstrap default style
|
||||
* Set field's name as input's name attribute
|
||||
* Position copied records based on order
|
||||
* Sanitize translated RichtText fields content (issue9453)
|
||||
* Allow configuration of default colors for graph and calendar
|
||||
* Sanitize RichtText fields content (issue9405)
|
||||
* Escape external string (issue9394)
|
||||
* Keep context in sessionStorage
|
||||
* Use existing context for get_preferences
|
||||
* Escape external strings (issue9351)
|
||||
* Add context to export URL
|
||||
* Allow changes to editable tree checkboxes without first selecting the line
|
||||
|
||||
Version 5.6.0 - 2020-05-04
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Support link button on form
|
||||
* Add URL for the current export
|
||||
* Add option to export listed records
|
||||
* Set treeview header sticky on top
|
||||
* Add noreferrer noopener to external URL (issue9089)
|
||||
* Manage readonly dates in calendar view
|
||||
* Manage editable on calendar view
|
||||
* Manage named separator as label
|
||||
* Add MultiSelection entry to Dict field
|
||||
* Position new record based on order
|
||||
* Reset display_size of TreeView when group is cleared or changed
|
||||
* Allow relation field to be selected in CSV export
|
||||
* Hide empty cell on small screen
|
||||
* Support validate attribute of wizard's Button
|
||||
* Add infinite scroll
|
||||
|
||||
Version 5.4.0 - 2019-11-04
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Support visual context on tree view
|
||||
* Support multiselection field
|
||||
* Support dot notation on PYSON Eval
|
||||
* Manage sequence
|
||||
* Add drag and drop on tree views
|
||||
* Support expand on column
|
||||
* Set minimal width for columns
|
||||
* Order Dict keys by sequence
|
||||
* Support relation fields in domain parser
|
||||
* Add view modified
|
||||
* Add Dict widget for tree view
|
||||
|
||||
Version 5.2.0 - 2019-05-06
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add domain inversion for reference fields
|
||||
* Add list-form view
|
||||
* Support HTML widget
|
||||
* Use locale format for data export
|
||||
* Add day view on calendar
|
||||
* Add CSV exports into print toolbar
|
||||
* Display unread and total of notes
|
||||
* Use resources method
|
||||
* Rename roundup.url configuration to bug.url
|
||||
* Use separate XML parser in Views
|
||||
* Add range selection with Shift-click
|
||||
* Use between numbers in filter box
|
||||
* Fill 'to' with 'from' value on filter box
|
||||
* Add tab domain in URL
|
||||
* Use properties
|
||||
* Allow sao classes to use javascript properties
|
||||
* Improve layout of CSV import/export
|
||||
* Add support for height and width on notebook
|
||||
* Use tab key for tab navigation
|
||||
* Use record and field properties of widget instead of method arguments
|
||||
* Reduce offset when no search result
|
||||
* Add support for plugins
|
||||
* Add support for expand, height and width attributes
|
||||
* Add drag & drop support on attachment button
|
||||
|
||||
Version 5.0.0 - 2018-10-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Prevent similar tab
|
||||
* Remove dialog for input file
|
||||
* Use dropdown for attachment
|
||||
* Manage icons in input
|
||||
* Support RTL language direction
|
||||
* Apply factor on domain parser
|
||||
* Use tab name in CSV Export/Import
|
||||
* Add bus management
|
||||
* Load custom CSS and Javascript
|
||||
* New icons
|
||||
* Support timestamp field
|
||||
* Validate dictionary items
|
||||
* Add (i)like support to domain inversion
|
||||
* Improve loading strategy by using views
|
||||
* Add support of width attribute on tree view
|
||||
* Use non conflicting keyboard shortcuts
|
||||
* Use the context to get the suffix of window name
|
||||
* Call on_change methods after setting default dtstart on calendar view
|
||||
* Allow to open in new tab Many2One and Reference with CTRL key
|
||||
* Store session in browser storage
|
||||
* Increase the space available for tab list
|
||||
* Allow to toggle menu on large screen
|
||||
* Manage URL and history
|
||||
|
||||
Version 4.8.0 - 2018-04-23
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Manage active field on search widget
|
||||
* Add position and length on list view
|
||||
* Reset record to its original state when discarding the popup window
|
||||
* Add support of expand attribute on group tag
|
||||
* Add the context model name in the screen context
|
||||
* Add sum of records on list view
|
||||
* Add shortcuts to Date and DateTime widgets
|
||||
* Use limit to expand tree
|
||||
* Use spellcheck and lang attributes for textbox widget
|
||||
* Support icon on page
|
||||
* Add keyword attribute to button tag
|
||||
* Support field name on image tag
|
||||
* Use input number and toLocaleString for numeric fields
|
||||
* Show related record names for all windows
|
||||
* Allow to edit Many2One from tree view
|
||||
* Use translated values when exporting Reference and Selection fields
|
||||
|
||||
Version 4.6.0 - 2017-10-30
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Allow to export model and record name of Reference fields
|
||||
* Re-position buttons on Binary/Image widget
|
||||
* Set focus on first visible input when modal is shown
|
||||
* Improve treeview headers
|
||||
* Add keyboard shortcuts
|
||||
* Update states of both toolbar and menu
|
||||
* Improve toolbar order
|
||||
* Use login details in title
|
||||
|
||||
Version 4.4.0 - 2017-05-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Manage help attribute on tree views
|
||||
* Manage color attribute on graph view
|
||||
* Add support for size on Many2Many
|
||||
* Allow to show plain text in password field
|
||||
|
||||
Version 4.2.0 - 2016-11-28
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add PYSON Widget
|
||||
* Add CSV Import/Export
|
||||
* Manage translated field
|
||||
* Add favorites menu
|
||||
* Show records names in wizard title
|
||||
* Add support for datetime_field to Many2One, Reference
|
||||
* Add calendar view
|
||||
* Move info-bar to the top
|
||||
* Add noeval to PYSONDecoder
|
||||
* Add support for pyson_order on action window
|
||||
* Make datetimepicker locale aware
|
||||
* Restore tab default order when no manual change
|
||||
* Add support for column sorting
|
||||
* Manage confirm attribute on buttons
|
||||
* Call autocompletion when setting record value
|
||||
* Limit readonly state for xxx2Many
|
||||
* Simplify login with single database
|
||||
* Show records names in relate window title
|
||||
* Add support for count on Action Window Domains
|
||||
* Manage custom login process
|
||||
* Add erase on Many2One
|
||||
* Re-position icons on Many2One widget
|
||||
|
||||
Version 4.0.0 - 2016-05-02
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Timedelta uses 30 days for month
|
||||
* Manage context model of ir.action.act_window
|
||||
* Add Note
|
||||
|
||||
Version 3.8.0 - 2015-11-02
|
||||
* Initial release
|
||||
@@ -0,0 +1,21 @@
|
||||
Copyright (C) 2012-2022 Nicolas Évrard.
|
||||
Copyright (C) 2012-2022 Cédric Krier.
|
||||
Copyright (C) 2012-2014 Bertrand Chenal.
|
||||
Copyright (C) 2012-2022 B2CK SPRL.
|
||||
Copyright (C) 2019 Jitbit.
|
||||
Copyright (C) 2013 Thomas Park
|
||||
Copyright (C) 2020-2021 Maxime Richez
|
||||
Copyright (C) 2020-2021 SALUC SA
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@@ -0,0 +1,182 @@
|
||||
module.exports = function(grunt) {
|
||||
|
||||
var _ = grunt.util._;
|
||||
var locales = ["bg", "ca", "cs", "de", "es", "es_419", "fr", "fa", "hu",
|
||||
"it", "lo", "lt", "nl", "pl", "pt", "ru", "sl", "zh_CN"];
|
||||
var jsfiles = [
|
||||
'src/sao.js',
|
||||
'src/rpc.js',
|
||||
'src/pyson.js',
|
||||
'src/session.js',
|
||||
'src/common.js',
|
||||
'src/model.js',
|
||||
'src/tab.js',
|
||||
'src/screen.js',
|
||||
'src/view.js',
|
||||
'src/view/form.js',
|
||||
'src/view/tree.js',
|
||||
'src/view/graph.js',
|
||||
'src/view/calendar.js',
|
||||
'src/view/list_form.js',
|
||||
'src/action.js',
|
||||
'src/window.js',
|
||||
'src/wizard.js',
|
||||
'src/board.js',
|
||||
'src/bus.js',
|
||||
'src/plugins.js',
|
||||
'src/html_sanitizer.js'
|
||||
];
|
||||
var less_paths = [
|
||||
'src',
|
||||
'bower_components',
|
||||
'bower_components/bootstrap',
|
||||
'bower_components/bootstrap/less',
|
||||
'bower_components/bootstrap-rtl-ondemand/less',
|
||||
];
|
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
xgettext: {
|
||||
locale: {
|
||||
files: {
|
||||
javascript: jsfiles
|
||||
},
|
||||
options: {
|
||||
functionName: "Sao.i18n.gettext",
|
||||
potFile: "locale/messages.pot"
|
||||
},
|
||||
}
|
||||
},
|
||||
shell: {
|
||||
options: {
|
||||
failOnError: true
|
||||
},
|
||||
msgmerge: {
|
||||
command: _.map(locales, function(locale) {
|
||||
var po = "locale/" + locale + ".po";
|
||||
return "msgmerge -U " + po + " locale/messages.pot;";
|
||||
}).join("")
|
||||
}
|
||||
},
|
||||
po2json: {
|
||||
options: {
|
||||
format: 'raw'
|
||||
},
|
||||
all: {
|
||||
src: ['locale/*.po'],
|
||||
dest: 'locale/'
|
||||
}
|
||||
},
|
||||
concat: {
|
||||
dist: {
|
||||
src: jsfiles,
|
||||
dest: 'dist/<%= pkg.name %>.js'
|
||||
}
|
||||
},
|
||||
jshint: {
|
||||
dist: {
|
||||
options: {
|
||||
jshintrc: 'src/.jshintrc'
|
||||
},
|
||||
src: ['dist/<%= pkg.name %>.js']
|
||||
},
|
||||
grunt: {
|
||||
src: ['Gruntfile.js']
|
||||
},
|
||||
tests: {
|
||||
options: {
|
||||
jshintrc: 'tests/.jshintrc'
|
||||
},
|
||||
src: ['tests/*.js']
|
||||
}
|
||||
},
|
||||
uglify: {
|
||||
options: {
|
||||
banner: '/*! <%= pkg.name %>-<%= pkg.version %> | GPL-3\n' +
|
||||
'This file is part of Tryton. ' +
|
||||
'The COPYRIGHT file at the top level of\n' +
|
||||
'this repository contains the full copyright notices ' +
|
||||
'and license terms. */\n'
|
||||
},
|
||||
dist: {
|
||||
src: 'dist/<%= pkg.name %>.js',
|
||||
dest: 'dist/<%= pkg.name %>.min.js'
|
||||
}
|
||||
},
|
||||
less: {
|
||||
dev: {
|
||||
options: {
|
||||
paths: less_paths,
|
||||
},
|
||||
files: {
|
||||
'dist/<%= pkg.name %>.css': 'src/sao.less'
|
||||
}
|
||||
},
|
||||
'default': {
|
||||
options: {
|
||||
paths: less_paths,
|
||||
yuicompress: true
|
||||
},
|
||||
files: {
|
||||
'dist/<%= pkg.name %>.min.css': 'src/sao.less'
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
scripts: {
|
||||
files: ['src/**/*.js'],
|
||||
tasks: ['concat', 'jshint']
|
||||
},
|
||||
styles: {
|
||||
files: ['src/*.less'],
|
||||
tasks: 'less:dev'
|
||||
}
|
||||
},
|
||||
qunit: {
|
||||
options: {
|
||||
timeout: 300000,
|
||||
puppeteer: {
|
||||
headless: true,
|
||||
args: [
|
||||
'--no-sandbox',
|
||||
],
|
||||
env: {
|
||||
TZ: 'UTC',
|
||||
},
|
||||
},
|
||||
},
|
||||
all: ['tests/*.html']
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-less');
|
||||
grunt.loadNpmTasks('grunt-po2json');
|
||||
|
||||
grunt.registerTask('default', 'Build for production.', function() {
|
||||
grunt.task.run(['concat', 'jshint', 'uglify', 'less', 'po2json']);
|
||||
});
|
||||
grunt.registerTask('dev', 'Build for development.', function() {
|
||||
grunt.task.run(['concat', 'jshint', 'less:dev']);
|
||||
});
|
||||
grunt.registerTask('devwatch', 'Watch development', function() {
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.task.run(['watch']);
|
||||
});
|
||||
grunt.registerTask('msgmerge', 'Update locale messages.', function() {
|
||||
grunt.loadNpmTasks('grunt-shell');
|
||||
grunt.task.run(['shell:msgmerge']);
|
||||
});
|
||||
grunt.registerTask('xgettext', ' Extracts translatable messages', function() {
|
||||
grunt.loadNpmTasks('grunt-xgettext');
|
||||
grunt.task.run(['xgettext']);
|
||||
});
|
||||
grunt.registerTask('test', 'Run tests', function() {
|
||||
grunt.loadNpmTasks('grunt-contrib-qunit');
|
||||
grunt.task.run(['concat', 'jshint', 'less:dev', 'qunit']);
|
||||
});
|
||||
|
||||
};
|
||||
+674
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,29 @@
|
||||
sao
|
||||
===
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
* Node.js 0.8.0 or later (http://nodejs.org/)
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Once you've downloaded and unpacked the sao source release, enter the directory
|
||||
where the archive was unpacked, and run:
|
||||
|
||||
$ npm install --production --legacy-peer-deps
|
||||
|
||||
Development
|
||||
...........
|
||||
|
||||
For development, you have to run instead:
|
||||
|
||||
$ npm install --legacy-peer-deps
|
||||
$ grunt dev
|
||||
|
||||
Setup
|
||||
-----
|
||||
|
||||
Note that the entry `root` in the section `[web]` of `trytond.conf` must be set
|
||||
to the directory where the package was unpacked.
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "sao",
|
||||
"version": "0.0.0",
|
||||
"authors": [
|
||||
"Tryton"
|
||||
],
|
||||
"description": "Web client for Tryton",
|
||||
"license": "GPL",
|
||||
"homepage": "http://www.tryton.org/",
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"bower_components",
|
||||
"test",
|
||||
"tests"
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": "^3",
|
||||
"bootstrap": "^3.3.7",
|
||||
"moment": "^2.10",
|
||||
"gettext.js": "^0.7",
|
||||
"c3": "^0.7",
|
||||
"papaparse": "^5.0",
|
||||
"fullcalendar": "^3.10.2",
|
||||
"mousetrap": "^1.6",
|
||||
"bootstrap-rtl-ondemand": "^3.3.4-ondemand",
|
||||
"Sortable": "sortablejs#^1.8.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"qunit": "^1.18"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 185 B |
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<path d="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 382 B |
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
||||
<path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"/>
|
||||
<path fill="none" d="M0,0h24v24H0V0z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 481 B |
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
||||
<path d="M15.41,16.59L10.83,12l4.58-4.59L14,6l-6,6l6,6L15.41,16.59z"/>
|
||||
<path fill="none" d="M0,0h24v24H0V0z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 483 B |
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
||||
<path d="M8.59,16.59L13.17,12L8.59,7.41L10,6l6,6l-6,6L8.59,16.59z"/>
|
||||
<path fill="none" d="M0,0h24v24H0V0z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 481 B |
Loaded 100 of 986 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user