Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
148
Issues
148
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
6657d05a
Commit
6657d05a
authored
Jan 02, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] API upload
parent
7c370a12
Pipeline
#3510
passed with stage
in 92 minutes and 52 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
CHANGELOG.md
CHANGELOG.md
+1
-0
gargantext.cabal
gargantext.cabal
+1
-1
Social.hs
src/Gargantext/Core/Text/List/Social.hs
+4
-4
No files found.
CHANGELOG.md
View file @
6657d05a
...
...
@@ -3,6 +3,7 @@
*
[
FRONT
][
FIX
][
Editor codtype change (#145)
](
https://gitlab.iscpif.fr/gargantext/purescript-gargantext/issues/145
)
*
[
BACK
][
FIX
][
Conduit insert with batch of documents in db (#161)
](
https://gitlab.iscpif.fr/gargantext/haskell-gargantext/issues/161
)
*
[
BACK
][
FIX
]
API: HAL, PUBMED
*
[
BACK
][
FIX
]
API: Upload file with options
## Version 0.0.6.8.5.9.3
...
...
gargantext.cabal
View file @
6657d05a
...
...
@@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack
name: gargantext
version: 0.0.6.8.5.9.4
version:
0.0.6.8.5.9.4
synopsis: Search, map, share
description: Please see README.md
category: Data
...
...
src/Gargantext/Core/Text/List/Social.hs
View file @
6657d05a
...
...
@@ -76,15 +76,15 @@ instance ToSchema FlowSocialListWith where
declareNamedSchema
=
genericDeclareNamedSchema
defaultSchemaOptions
instance
FromHttpApiData
FlowSocialListWith
where
parseUrlPiece
"My
ListsF
irst"
=
pure
$
FlowSocialListWithPriority
{
fslw_priority
=
MySelfFirst
}
parseUrlPiece
"Other
ListsF
irst"
=
pure
$
FlowSocialListWithPriority
{
fslw_priority
=
OthersFirst
}
parseUrlPiece
"My
lists f
irst"
=
pure
$
FlowSocialListWithPriority
{
fslw_priority
=
MySelfFirst
}
parseUrlPiece
"Other
s lists f
irst"
=
pure
$
FlowSocialListWithPriority
{
fslw_priority
=
OthersFirst
}
parseUrlPiece
"NoList"
=
pure
$
NoList
True
parseUrlPiece
_
=
panic
"[G.C.T.L.Social] TODO FromHttpApiData FlowSocialListWith"
parseUrlPiece
x
=
panic
$
"[G.C.T.L.Social] TODO FromHttpApiData FlowSocialListWith error: "
<>
(
cs
$
show
x
)
instance
ToHttpApiData
FlowSocialListWith
where
toUrlPiece
(
FlowSocialListWithPriority
MySelfFirst
)
=
"MySelfFirst"
toUrlPiece
(
FlowSocialListWithPriority
OthersFirst
)
=
"OtherListsFirst"
toUrlPiece
(
NoList
_
)
=
"NoList"
toUrlPiece
(
NoList
_
)
=
"NoList"
toUrlPiece
(
FlowSocialListWithLists
_
)
=
panic
"[G.C.T.L.Social] TODO ToHttpApiData FlowSocialListWith"
data
FlowSocialListPriority
=
MySelfFirst
|
OthersFirst
...
...
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