Commit Graph

2388 Commits

Author SHA1 Message Date
hallgren
a0cd2c232b minibar: add a button to display word alignment 2011-03-03 19:18:09 +00:00
hallgren
affdcf421e GF shell restricted mode
By setting the environment variable GF_RESTRICTED before starting GF, the shell
will be run in restricted mode. This will prevent the GF shell from starting
arbitrary system commands (most uses of System.Cmd.system are blocked) and
writing arbitrary files (most commands that use writeFile et al are blocked).

Restricted mode is intended minimize the potential security risks involved
in allowing public access to the GF shell over the internet. It should be used
in conjuction with system level protection mechanisms (e.g. file permissions)
to make sure that a publicly acessible GF shell does not give access to parts
of the system that should not be publicly accessible.
2011-03-03 15:42:57 +00:00
aarne
9b26957785 overloaded opers included in sorting of judgements 2011-03-03 15:10:31 +00:00
aarne
93987ee869 print lexicon in Xerox LEXC format: pg -lexc 2011-03-03 08:31:15 +00:00
aarne
3e2d906888 corrected help for l command 2011-03-01 16:15:20 +00:00
hallgren
da740b51c2 minibar/support.js: recognize relative URLs as locations on the same server
This means that the relative grammar directory location in the default
configuration will result in AJAX requests rather than the less efficient
JSONP requests.
2011-03-01 14:47:20 +00:00
hallgren
a27f58d6ae minibar: make the feedback form work in the generic minibar
It is still disabled by default, since some manual configuraiton of
feedback.cgi is required.
2011-03-01 13:46:00 +00:00
hallgren
aad6e864b9 gfse: fix missing startcat flag bug + documentation updates 2011-02-28 16:47:25 +00:00
hallgren
fe9eaf0ddd gfse: fix persmission problem in upload.cgi 2011-02-28 15:46:42 +00:00
hallgren
164018b6c0 gfse: include a -path flag to find rgl modules 2011-02-28 15:45:55 +00:00
hallgren
10f2f3e7d7 gfse: support for opening RGL modules 2011-02-28 14:18:20 +00:00
hallgren
fc1471717c gfse: minor documentation and style improvements 2011-02-28 12:41:05 +00:00
aarne
a786f1c809 the command show_operations to inspect opers in scope 2011-02-28 13:31:04 +00:00
aarne
5536c31585 removed message showing what modules are read unless in verbose mode 2011-02-26 10:25:09 +00:00
aarne
dd937731f6 Predef.error surfaces as error message in compilation and cc command 2011-02-25 17:01:10 +00:00
aarne
ffc78017b2 command ga moved to option 'aw -giza' 2011-02-25 12:55:36 +00:00
hallgren
b2917c5652 gfse: allow definitions to be reordered by drad-and-drop 2011-02-22 16:04:49 +00:00
hallgren
6173291ec1 gfse: fix typos 2011-02-18 14:51:06 +00:00
hallgren
e2096fef35 gfse: document that grammars can be uploaded and tested in the GF shell, the minibar and the translation quiz 2011-02-18 14:47:20 +00:00
hallgren
f0a80d0ea6 gfse: updated screen shots 2011-02-18 14:46:18 +00:00
hallgren
1ee4844fca gfse: support for linking to the translation quiz 2011-02-18 11:44:05 +00:00
hallgren
69e7262286 gfse: some small fixes
+ 'make install' to copy all required files to the server
+ configuration options and error checks in upload.cgi
2011-02-17 17:35:22 +00:00
hallgren
1715f683dc Adding the prototype GF editor for simple multilingual grammars 2011-02-17 14:43:41 +00:00
hallgren
b7e13dafa1 Adding the prototype GF editor for simple multilingual grammars 2011-02-17 14:42:16 +00:00
hallgren
60980e40e4 Adding the prototype GF editor for simple multilingual grammars 2011-02-17 14:38:46 +00:00
aarne
e4eccba450 a simple clitic analysis command 'ca' 2011-02-06 16:19:24 +00:00
aarne
d661d45b1e corrections to ancientgreek encoding by Hans Leiss 2011-01-31 08:06:42 +00:00
aarne
37ace15733 started CompilerAPI, still dummy 2011-01-28 15:28:05 +00:00
hallgren
bfc91294e1 minibar: a small change to make easy to select an alternate grammar directory 2011-01-27 22:23:15 +00:00
hallgren
2ebf3649cf minibar: update my home page link (cs->cse) 2011-01-11 13:18:19 +00:00
hallgren
b8c1a09896 The name of the fastcgi executable has changed back to pgf-service 2011-01-09 15:32:17 +00:00
krasimir
adbe9cd94d fix the computation of abstract expressions in the presence of implicit arguments 2011-01-08 20:55:58 +00:00
krasimir
e41df3c873 bugfix in the handling of implicit arguments in the typechecker 2011-01-08 12:55:50 +00:00
krasimir
cdebaef7ef The GF editor now lets the user to upload his/her own grammars 2010-12-28 16:26:10 +00:00
hallgren
da4f5cf607 gf-server.cabal: changes to stop cabal from demanding hsql even when content-server is not going to be built 2010-12-23 17:02:13 +00:00
hallgren
0a52aaf81d PGF web service: make the generated index.html for pgf-http a bit more informative 2010-12-22 15:06:02 +00:00
hallgren
18338b0ee4 gf-server.cabal: update description of fastcgi flag 2010-12-22 15:05:10 +00:00
hallgren
a5b661700b gf-server.cabal: make hsql-mysql optional like fastcgi
content-service depends on hsql-mysql, which depends on a C library, so like
fastcgi, only compile it if you ask for it explicitly with -ffastcgi.
2010-12-22 14:59:49 +00:00
hallgren
5dd58dfca6 gf-server.cabal: Change the default for the flag fastcgi to False
If you want the fastcgi server, use cabal install -ffastcgi.

This is to avoid problems when you only want to compile pgf-http and the
fastcgi library fails to install, which it usually does, since it depends on
a C library which is not installed automatically with cabal.
2010-12-22 14:49:17 +00:00
hallgren
681c5d25dd PGF web service: Use Content-Type text/javascript from JSON output
The Content-Type used to be text/json, but this caused warning messages in
some web browers.
2010-12-22 14:47:35 +00:00
krasimir
9b9dbfb1d6 added GrammarsPanel in the GF editor 2010-12-22 13:51:26 +00:00
krasimir
9ae3a7b30d tweak gf-server.cabal 2010-12-22 12:32:13 +00:00
krasimir
01d05b6736 more clear LICENSE file for GF 2010-12-21 10:57:54 +00:00
hallgren
0374f327d6 minibar.html: omit explicit grammars_url option
The grammars will then by default be fetched from the same server as
minibar.html. This means that everything will be served locally when accessing
minibar through a locally running pgf-http.
2010-12-17 16:43:11 +00:00
hallgren
fb807d307c minibar/support.js: fix comment typos and add links 2010-12-17 16:42:08 +00:00
hallgren
c9d9db121a pgf-http now uses $datadir/www instead of ./www as the document root
Along with the changes to Setup.hs it should now be enough to do

	cabal install
	pgf-http
	open http://localhost:41296/

to run the PGF service locally and play with some example grammars in minibar.
2010-12-17 16:35:59 +00:00
hallgren
31c09c8846 RunHTTP.hs: remove hardcoded document root
The document root is now part of the arguments passed to runHTTP.
2010-12-17 16:33:54 +00:00
hallgren
72148feeb9 Install minibar and some example grammars along with pgf-http
Together with the changes to pgf-http, this should make it much easier to run
the PGF service and minibar locally.
2010-12-17 16:29:22 +00:00
krasimir
2262c105ab bugfix: GeneratePMCFG should initialize the lexicon to empty 2010-12-17 09:11:04 +00:00
krasimir
e52f8dda61 bugfix: setProbabilities should be more robust when there are missing probabilities for some functions or categories 2010-12-17 09:09:07 +00:00