Project

General

Profile

Notes » History » Version 1

Redmine Admin, 01/04/2017 05:28 PM

1 1 Redmine Admin
h1. Notes
2
3
h2. FCS
4
5
Out of the box FCS (run.cgi/fcs) is not working due to following reasons:
6
7
* Fixed setting of default corpus in @lib/actions.py@:
8
<pre>
9
@@ -2215,7 +2218,7 @@ class Actions(ConcCGI):
10
 
11
         # default values
12
         self._headers['Content-Type'] = 'application/XML'
13
-        corpname = 'brown'
14
+        corpname = 'susanne'
15
         numberOfRecords = 0
16
         current_version = 1.2
17
         # supported parameters for all operations
18
</pre>
19
* Unauthorized action @fcs@ in @lib/conccgi.py@:
20
<pre>
21
@@ -291,7 +291,7 @@ class ConcCGI(CGIPublisher):
22
                 'gdexconf', 'refs_up', 'shuffle', 'kwicleftctx', 'kwicrightctx', 'ctxunit', 'cup_hl')
23
 
24
     def _requires_corpus_access(self, action):
25
-        return action not in ('login', 'loginx', 'logoutx')
26
+        return action not in ('login', 'loginx', 'logoutx', 'fcs')
27
 
28
     def _init_default_settings(self, options):
29
         if 'shuffle' not in options:
30
</pre>
31
* Missing template @templates/fcs.tmpl@
32
* Missing xslt file @public/files/xsl/fcs2html.xsl@