File tree
11 files changed
+39
-33
lines changed11 files changed
+39
-33
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 | 25 |
| |
30 | 26 |
| |
31 | 27 |
| |
|
+4-6
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
27 |
| - | |
| 26 | + | |
28 | 27 |
| |
29 | 28 |
| |
30 | 29 |
| |
| |||
64 | 63 |
| |
65 | 64 |
| |
66 | 65 |
| |
67 |
| - | |
68 |
| - | |
| 66 | + | |
69 | 67 |
| |
70 | 68 |
| |
71 | 69 |
| |
72 |
| - | |
| 70 | + | |
73 | 71 |
|
- .env_file.example+4
- .gitignore+1
- .gitlab-ci.yml+22
- app/__init__.py+8-6
- app/main/__init__.py+25
- app/main/config.py+16-12
- app/main/controller/glossary_controller.py+2-5
- app/main/controller/image_similarity_controller.py+59
- app/main/controller/langid_controller.py+2-3
- app/main/controller/similarity_controller.py+8-12
- app/main/controller/translation_controller.py+4-5
- app/main/controller/wordvec_controller.py-1
- app/main/lib/elasticsearch.py
- app/main/lib/fields.py+1-1
- app/main/lib/imagehash.py+100
- app/main/model/image.py+34
- app/test/data/lenna-256.png
- app/test/data/lenna-512.jpg
- app/test/data/lenna-512.png
- app/test/data/spacy.json-58
- app/test/test_config.py-48
- app/test/test_glossary.py+3-3
- app/test/test_image_similarity.py+98
- app/test/test_langid.py+8-8
- app/test/test_similarity.py+21-21
- app/test/test_translation.py+7-7
- app/test/test_wordvec.py+5-5
- docker-compose.yml+12-10
- docker-entrypoint.sh-18
- elasticsearch/Dockerfile+8-4
- elasticsearch/es-script-cosine-scoring/src/main/java/org/elasticsearch/meedan/cosinescript/CosineScriptPlugin.java+1-1
- kibana/Dockerfile.production+1-1
- manage.py+11-2
- requirements.txt+5
Submodule check-web updated 1160 files
+27-12
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
13 | 15 |
| |
14 | 16 |
| |
15 | 17 |
| |
16 |
| - | |
| 18 | + | |
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
| |||
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
| 31 | + | |
| 32 | + | |
29 | 33 |
| |
30 | 34 |
| |
31 | 35 |
| |
| |||
36 | 40 |
| |
37 | 41 |
| |
38 | 42 |
| |
| 43 | + | |
| 44 | + | |
39 | 45 |
| |
40 | 46 |
| |
41 | 47 |
| |
42 | 48 |
| |
43 | 49 |
| |
44 | 50 |
| |
| 51 | + | |
| 52 | + | |
45 | 53 |
| |
46 | 54 |
| |
47 | 55 |
| |
| |||
52 | 60 |
| |
53 | 61 |
| |
54 | 62 |
| |
| 63 | + | |
| 64 | + | |
55 | 65 |
| |
56 | 66 |
| |
57 | 67 |
| |
| |||
63 | 73 |
| |
64 | 74 |
| |
65 | 75 |
| |
66 |
| - | |
67 | 76 |
| |
68 | 77 |
| |
69 | 78 |
| |
70 | 79 |
| |
71 | 80 |
| |
| 81 | + | |
| 82 | + | |
72 | 83 |
| |
73 | 84 |
| |
74 | 85 |
| |
| |||
79 | 90 |
| |
80 | 91 |
| |
81 | 92 |
| |
| 93 | + | |
| 94 | + | |
82 | 95 |
| |
83 | 96 |
| |
84 | 97 |
| |
| |||
93 | 106 |
| |
94 | 107 |
| |
95 | 108 |
| |
| 109 | + | |
| 110 | + | |
96 | 111 |
| |
97 | 112 |
| |
98 | 113 |
| |
| |||
104 | 119 |
| |
105 | 120 |
| |
106 | 121 |
| |
| 122 | + | |
| 123 | + | |
107 | 124 |
| |
108 | 125 |
| |
109 | 126 |
| |
| |||
119 | 136 |
| |
120 | 137 |
| |
121 | 138 |
| |
| 139 | + | |
| 140 | + | |
122 | 141 |
| |
123 | 142 |
| |
124 | 143 |
| |
| |||
127 | 146 |
| |
128 | 147 |
| |
129 | 148 |
| |
| 149 | + | |
| 150 | + | |
130 | 151 |
| |
131 | 152 |
| |
132 | 153 |
| |
| |||
140 | 161 |
| |
141 | 162 |
| |
142 | 163 |
| |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
| 164 | + | |
| 165 | + | |
153 | 166 |
| |
154 | 167 |
| |
155 | 168 |
| |
| |||
162 | 175 |
| |
163 | 176 |
| |
164 | 177 |
| |
| 178 | + | |
| 179 | + |
+3-4
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 |
| |
3 | 6 |
| |
4 | 7 |
| |
| |||
39 | 42 |
| |
40 | 43 |
| |
41 | 44 |
| |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 | 10 |
| |
12 | 11 |
| |
13 | 12 |
| |
|
- .gitlab-ci.yml+2-55
- .rubocop.yml+2-2
- Dockerfile+4-4
- Dockerfile.production+13-40
- Dockerfile.production.aws-70
- Gemfile+2-1
- Gemfile.lock+9-3
- app/helpers/medias_helper.rb+26
- app/models/concerns/media_archiver.rb+1-30
- app/models/concerns/media_bridge_item.rb-38
- app/models/concerns/media_facebook_engagement_metrics.rb+38
- app/models/concerns/media_instagram_item.rb+37-11
- app/models/concerns/media_instagram_profile.rb+2-2
- app/models/concerns/media_metrics.rb+22
- app/models/concerns/media_oembed_item.rb+3-4
- app/models/concerns/media_perma_cc_archiver.rb+1-1
- app/models/concerns/media_tiktok_item.rb+47
- app/models/concerns/media_tiktok_profile.rb+30
- app/models/media.rb+46-13
- config/config.yml.example+6-3
- config/initializers/honeycomb.rb+14
- docker-entrypoint.sh+8-14
- lib/sample_data.rb+1-1
- lib/tasks/aws.rake-36
- production/Procfile-3
- production/bin/find_and_link_config_files.sh-33
- production/bin/start.sh+17-37
- production/bin/start_background.sh+11-1
- production/nginx.conf-27
- production/run.sh-25
- production/shell.sh-3
- test/controllers/base_api_controller_test.rb+20-2
- test/controllers/medias_controller_test.rb+3-2
- test/helpers/medias_test.rb+2-2
- test/models/archiver_test.rb+18
- test/models/facebook_profile_test.rb-10
- test/models/instagram_test.rb+33
- test/models/media_test.rb+90-28
- test/models/tiktok_test.rb+31
- test/test_helper.rb+1-2
-1
This file was deleted.
0 commit comments