Commit ed758424 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

Merge branch 'dev' into dev-ilike-search-fix

parents f3720b35 2f8e3065
...@@ -6,10 +6,10 @@ DATE="2018-03-08 07:18:18" ...@@ -6,10 +6,10 @@ DATE="2018-03-08 07:18:18"
# use tutoriel code # use tutoriel code
#tmux -d video #tmux -d video
xterm -e "tutoriel" #xterm -e "tutoriel"
gource --start-date $DATE ../gargantext-hs & gource --start-date $DATE ../gargantext-hs &
gource --start-date $DATE gargantext-hs/purescript-gargantext gource --start-date $DATE ../gargantext-hs/purescript-gargantext
#tmux -a video #tmux -a video
# Share video ? # Share video ?
......
#!/bin/bash #!/bin/bash
stack install --profile --test --fast # --haddock stack install --nix --profile --test --fast # --haddock
## ##
## GargantText serveur configuration
## Authors: team@gargantext.org
## Licence CNRS/AGPLv3-MIT/CECILL-INRIA
#
# Fee free to improve it
# Thanks for sharing to all community
# Specific NGINX informations
#
# You should look at the following URL's in order to grasp a solid understanding # You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx. # of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls # http://wiki.nginx.org/Pitfalls
...@@ -43,8 +33,8 @@ server { ...@@ -43,8 +33,8 @@ server {
# Comment this for maintenance only # Comment this for maintenance only
server { server {
#server_name v4.gargantext.org; server_name v4.gargantext.org;
server_name maintenanceOnly.gargantext.org; #server_name maintenanceOnly.gargantext.org;
add_header Cache-Control "no-cache"; add_header Cache-Control "no-cache";
......
name: gargantext name: gargantext
version: '0.0.3.7' version: '0.0.3.9'
synopsis: Search, map, share synopsis: Search, map, share
description: Please see README.md description: Please see README.md
category: Data category: Data
......
...@@ -24,6 +24,7 @@ import Gargantext.Database.Prelude (Cmd, execPGSQuery) ...@@ -24,6 +24,7 @@ import Gargantext.Database.Prelude (Cmd, execPGSQuery)
import Gargantext.Prelude import Gargantext.Prelude
import qualified Database.PostgreSQL.Simple as DPS import qualified Database.PostgreSQL.Simple as DPS
triggerSearchUpdate :: HasDBid NodeType => Cmd err Int64 triggerSearchUpdate :: HasDBid NodeType => Cmd err Int64
triggerSearchUpdate = execPGSQuery query ( toDBid NodeDocument triggerSearchUpdate = execPGSQuery query ( toDBid NodeDocument
, toDBid NodeDocument , toDBid NodeDocument
......
...@@ -73,9 +73,6 @@ import Gargantext.Database.Prelude ...@@ -73,9 +73,6 @@ import Gargantext.Database.Prelude
import Gargantext.Database.Schema.Node import Gargantext.Database.Schema.Node
import Gargantext.Prelude (printDebug) import Gargantext.Prelude (printDebug)
--import qualified Opaleye.Internal.Column as C
--import qualified Opaleye.Internal.HaskellDB.PrimQuery as HPQ
------------------------------------------------------------------------ ------------------------------------------------------------------------
-- | DocFacet -- | DocFacet
...@@ -321,7 +318,6 @@ runViewDocuments cId t o l order query = do ...@@ -321,7 +318,6 @@ runViewDocuments cId t o l order query = do
printDebug "[runViewDocuments] sqlQuery" $ showSql sqlQuery printDebug "[runViewDocuments] sqlQuery" $ showSql sqlQuery
runOpaQuery $ filterWith o l order sqlQuery runOpaQuery $ filterWith o l order sqlQuery
where where
ntId :: Int
ntId = toDBid NodeDocument ntId = toDBid NodeDocument
sqlQuery = viewDocuments cId t ntId query sqlQuery = viewDocuments cId t ntId query
-- viewDocuments' :: DPS.Query -- viewDocuments' :: DPS.Query
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment