Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
14cfbd1c
Commit
14cfbd1c
authored
Feb 07, 2017
by
delanoe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'testing' into stable
parents
581d04bd
119a0990
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
18 deletions
+16
-18
views.py
annotations/views.py
+6
-7
requirements.txt
install/gargamelle/requirements.txt
+9
-10
menu.html
templates/pages/menu.html
+1
-1
No files found.
annotations/views.py
View file @
14cfbd1c
...
@@ -2,7 +2,7 @@ from urllib.parse import urljoin
...
@@ -2,7 +2,7 @@ from urllib.parse import urljoin
import
json
import
json
import
datetime
import
datetime
from
django.shortcuts
import
render
_to_response
from
django.shortcuts
import
render
from
django.template
import
RequestContext
from
django.template
import
RequestContext
from
django.contrib.auth.decorators
import
login_required
from
django.contrib.auth.decorators
import
login_required
...
@@ -25,12 +25,11 @@ def main(request, project_id, corpus_id, document_id, optional_focus_ngram):
...
@@ -25,12 +25,11 @@ def main(request, project_id, corpus_id, document_id, optional_focus_ngram):
NB: url params are NOT used here (angular has its own url regex in app.js)
NB: url params are NOT used here (angular has its own url regex in app.js)
"""
"""
return
render_to_response
(
'annotations/main.html'
,
{
context
=
{
'api_url'
:
urljoin
(
request
.
get_host
(),
'/annotations/'
)
# TODO use reverse()
,
'garg_url'
:
request
.
get_host
()
'api_url'
:
urljoin
(
request
.
get_host
(),
'/annotations/'
),
,
'nodes_api_url'
:
urljoin
(
request
.
get_host
(),
'/api/'
)
'garg_url'
:
request
.
get_host
(),
}
'nodes_api_url'
:
urljoin
(
request
.
get_host
(),
'/api/'
),
return
render
(
request
,
'annotations/main.html'
,
context
)
},
context_instance
=
RequestContext
(
request
))
class
NgramList
(
APIView
):
class
NgramList
(
APIView
):
"""Read the lists of ngrams (terms) that will become annotations"""
"""Read the lists of ngrams (terms) that will become annotations"""
...
...
install/gargamelle/requirements.txt
View file @
14cfbd1c
# try bottleneck
# try bottleneck
amqp==1.4.9
amqp==1.4.9
anyjson==0.3.3
anyjson==0.3.3
billiard==3.3.0.2
2 # multiprocessing fork
billiard==3.3.0.2
3
celery==3.1.2
0
celery==3.1.2
5
chardet==2.3.0
chardet==2.3.0
dateparser==0.3.5
dateparser==0.3.5
Django==1.
9.2
Django==1.
10.5
django-celery==3.
1.17
django-celery==3.
2.1
django-pgfields==1.4.4
django-pgfields==1.4.4
django-pgjsonb==0.0.
16
django-pgjsonb==0.0.
23
djangorestframework==3.
3.2
djangorestframework==3.
5.3
html5lib==0.9999999
html5lib==0.9999999
python-igraph>=0.7.1
python-igraph>=0.7.1
jdatetime==1.7.2
jdatetime==1.7.2
kombu==3.0.3
3
# messaging
kombu==3.0.3
7
# messaging
langdetect==1.0.6 #detectinglanguage
langdetect==1.0.6 #detectinglanguage
nltk==3.1
nltk==3.1
numpy==1.10.4
numpy==1.10.4
psycopg2==2.6.
1
psycopg2==2.6.
2
pycountry==1.20
pycountry==1.20
python-dateutil==2.4.2
python-dateutil==2.4.2
pytz==201
5.7
# timezones
pytz==201
6.10
# timezones
PyYAML==3.11
PyYAML==3.11
RandomWords==0.1.12
RandomWords==0.1.12
ujson==1.35
ujson==1.35
umalqurra==0.2 # arabic calendars (?? why use ??)
umalqurra==0.2 # arabic calendars (?? why use ??)
wheel==0.29.0
networkx==1.11
networkx==1.11
pandas==0.18.0
pandas==0.18.0
six==1.10.0
six==1.10.0
...
...
templates/pages/menu.html
View file @
14cfbd1c
...
@@ -367,7 +367,7 @@
...
@@ -367,7 +367,7 @@
<p>
<p>
Gargantext
Gargantext
<span
class=
"glyphicon glyphicon-registration-mark"
aria-hidden=
"true"
></span>
<span
class=
"glyphicon glyphicon-registration-mark"
aria-hidden=
"true"
></span>
, version 3.0.6.
5
,
, version 3.0.6.
6
,
<a
href=
"http://www.cnrs.fr"
target=
"blank"
title=
"Institution that enables this project."
>
<a
href=
"http://www.cnrs.fr"
target=
"blank"
title=
"Institution that enables this project."
>
Copyrights
Copyrights
<span
class=
"glyphicon glyphicon-copyright-mark"
aria-hidden=
"true"
></span>
<span
class=
"glyphicon glyphicon-copyright-mark"
aria-hidden=
"true"
></span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment