Changes between Version 16 and Version 17 of WebInterface


Ignore:
Timestamp:
May 24, 2012, 1:33:43 PM (13 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebInterface

    v16 v17  
    5656  The web interface allows database operations. The root directory for those operations can be set with this parameter. 
    5757 
    58  * {{{images dir IDIR}}} 
     58 * {{{images_dir IDIR}}} 
    5959 
    6060  Path of the directory where the generated images (visualisation of dependency examinations) will be placed. 
     61 
     62 * {{{restricted_mode RMODE}}} 
     63 
     64  If set the interface starts in restricted mode, which means some features are blocked for non-admin users. 
     65 
    6166 
    6267=== Startup: referl script 
     
    7277           -browser_root /Users/V/erlang 
    7378           -images_dir /Users/V/graph_images 
     79           -restricted_mode 
    7480}}} 
    7581 
     
    8692    {yaws_port,"8000"}, 
    8793    {browser_root,"/Users/V/erlang"}, 
    88     {images_dir,"/Users/V/graph_images"}]). 
     94    {images_dir,"/Users/V/graph_images"} 
     95    {restricted_mode,true}]). 
    8996}}} 
    9097 
     
    97104== Logging in 
    98105 
    99 In your favourite browser, navigate to the server address defined by the configuration (the default is {{{http://localhost:8001}}}) after the web server has been successfully started. Services are allowed only to authorized people, so first you have to log in with a username (passwords are not supported yet). The browser will be redirected to the ''queries'' page. 
     106In your favourite browser, navigate to the server address defined by the configuration (the default is {{{http://localhost:8001}}}) after the web server has been successfully started. Services are allowed only to authorized people, so first you have to log in with a username. If restricted_mode is on, using the username 'admin' will require you to provide a password. The browser will be redirected to the ''queries'' page. 
    100107 
    101108== Database operations and environment nodes 
    102109 
    103 This service is available under the "Files" tab. It only works correctly if the server process has the appropriate access to files and directories. The file browser panel is located at the left side of the page. You can either browse files which are located on the server ("Browse server"), or which had been loaded into the database ("Browse loaded files"). You can switch between these two options from the drop-down located at the top of the tab. 
     110This service is available under the "Files" tab. In restricted mode, this service is not available for non-admin users. It only works correctly if the server process has the appropriate access to files and directories. The file browser panel is located at the left side of the page. You can either browse files which are located on the server ("Browse server"), or which had been loaded into the database ("Browse loaded files"). You can switch between these two options from the drop-down located at the top of the tab. 
    104111 
    105112=== Browsing files on the server 
     
    130137== Errors 
    131138 
    132 This service is available under the "Errors" tab.  
     139This service is available under the "Errors" tab. 
    133140 
    134141If the database contains file(s) with error form(s), the list of errors will be displayed in a table. Each row in the table shows an error. Clicking the file name shows the file and highlights the position of the error. 
     
    140147See [wiki:WebInterface/DependencyExaminations Dependency examinations]. 
    141148 
     149== Code duplicates 
     150 
     151See [wiki:WebInterface/CodeDuplicates Code duplicates]. 
    142152 
    143153== Logging out