Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

2433 commits

Auteur SHA1 Message Date
kilo
5fbc8cca47 f to lang 2017-07-05 01:17:01 +02:00
kilo
d8e3720ccd &f to &lang 2017-07-05 01:15:49 +02:00
akuma06
14ac34adcc Merge pull request #1086 from NyaaPantsu/second-batch
Second batch of changes [done]
2017-07-05 00:43:47 +02:00
akuma06
487060c1a4 Forgot the login form test modification 2017-07-04 03:10:46 +02:00
akuma06
1e39f7df6b Fixed csrf in mod 2017-07-04 03:09:12 +02:00
akuma06
fb6bcc68d7 Fixed torrentRequest function 2017-07-04 03:05:00 +02:00
akuma06
920e4069a1 Modified img size of error pages 2017-07-04 03:02:19 +02:00
akuma06
c3b3542bad Changed Mark as Hidden
Strings need to be retranslated
2017-07-04 02:57:47 +02:00
akuma06
e4d4878d64 Added Missing test 2017-07-04 02:54:43 +02:00
akuma06
d74d337c25 Adding redirecto when login 2017-07-04 02:48:20 +02:00
akuma06
d4c245e256 Fixing torrent edit for user&admin 2017-07-04 02:40:54 +02:00
akuma06
330ab06597 Adding upload of multi lang full support 2017-07-04 02:07:25 +02:00
akuma06
1796538c36 typo -_-" 2017-07-04 01:23:17 +02:00
akuma06
2a0c2be105 Forgot to add a test 2017-07-04 01:22:12 +02:00
akuma06
e2f3507069 Some html fixes 2017-07-04 01:15:43 +02:00
kilo
089d898b76 Update search.jet.html 2017-07-03 17:41:42 +02:00
kilo
ada9c3c8fb add flag search in search refiner 2017-07-03 17:17:34 +02:00
akuma06
c23a86413d Update listing.jet.html 2017-07-03 17:02:12 +02:00
kilo
fcb4499fd0 make comma disappear at the end 2017-07-03 16:36:08 +02:00
kilo
6d5181a024 Update main.css 2017-07-03 16:32:30 +02:00
kilo
7f1069167a Update listing.jet.html 2017-07-03 16:29:15 +02:00
akuma06
d16871d91a Fix rss magnet link 2017-07-03 02:37:36 +02:00
akuma06
5feec8748b Profile edit page works now 2017-07-03 02:31:17 +02:00
akuma06
b2e00dce1f Removing debug message 2017-07-03 02:19:37 +02:00
akuma06
929bf0e71b Fixing profile_edit 2017-07-03 02:16:39 +02:00
akuma06
1ca1f364a0 Fixing log in 2017-07-03 02:03:57 +02:00
akuma06
d84c294c1b Binding requirements for gin 2017-07-03 01:47:31 +02:00
akuma06
f3a323d7b8 Fixing html flags rendering 2017-07-03 01:30:06 +02:00
akuma06
caa7e499f3 Final fix for nil pointer 2017-07-03 01:22:54 +02:00
akuma06
baccce78e2 Added some check on User variable
User is now a pointer, so doing User.xxx will make an error nil pointer dereference. So we have to check that User is not nil
2017-07-03 01:11:45 +02:00
akuma06
5794704961 Another fix for nil pointer 2017-07-03 01:04:14 +02:00
akuma06
a02976ef57 Fixed pointer dereference
Limiting number of languages to 1 in listing view
2017-07-03 00:59:59 +02:00
akuma06
b10d5e32b5 Merge branch 'refactor' into second-batch 2017-07-03 00:44:50 +02:00
akuma06
b11c02e54e Fixed templates with new functions 2017-07-03 00:34:18 +02:00
akuma06
5b92c69cb8 Updated dependencies
Removed govalidator
Added validator
2017-07-02 23:56:53 +02:00
akuma06
47e1fd2169 Removed errors, changing old functions to new ones 2017-07-02 23:53:23 +02:00
akuma06
7846d999ff No errors on api controllers 2017-07-02 18:00:12 +02:00
akuma06
97b3a1d7ea Remove common package
Common is no more a thing
Use of TorrentParam instead of SearchParam now
Common structs for search are exported in utils/search/structs
Util has been renamed utils
2017-07-02 16:54:55 +02:00
kilo
716ca543a4 remove old list 2017-07-01 23:25:44 +02:00
akuma06
188c196fd3 Removed some unused dependencies 2017-07-01 23:23:15 +02:00
akuma06
205daea027 Finally services are nearly empty 👍
Moved api services. All validations are now in validator util and all upload functions are in upload util
2017-07-01 23:09:35 +02:00
akuma06
1316062c9a Refactored user forms struct + tests 2017-07-01 19:44:36 +02:00
kilo
d1f5fe99e6 margin for flags in view.html 2017-07-01 14:15:38 +02:00
akuma06
b142ee75a4 The validator work
Tests are passed
2017-07-01 02:59:39 +02:00
kilo
2ecc6d7019 change width: 45% to max-width: 470px 2017-07-01 02:25:30 +02:00
kilo
8a3a7f9946 more css changes 2017-07-01 02:18:11 +02:00
akuma06
946f02d0fc Use of validator pkg now
Use of validator pkg replacing modelHelper.

ValidateForm adds translated errors in messages context. To know if we have errors, we have to call messages.HasErrors() after the validation check.

New translation strings for some field check. I didn't add every tag as an error since it seems we won't use them (isbn, ...). This would overload the translation files that are already big.
2017-07-01 01:25:11 +02:00
kilo
5c108eadd5 position improvements 2017-06-30 23:05:39 +02:00
kilo
7cb2d8d8a0 changes to make it into label HTML 2017-06-30 22:46:31 +02:00
kilo
789f97d26b change pictures to label (CSS) 2017-06-30 22:43:02 +02:00