Changes between Version 16 and Version 17 of WebInterface
- Timestamp:
- May 24, 2012, 1:33:43 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebInterface
v16 v17 56 56 The web interface allows database operations. The root directory for those operations can be set with this parameter. 57 57 58 * {{{images 58 * {{{images_dir IDIR}}} 59 59 60 60 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 61 66 62 67 === Startup: referl script … … 72 77 -browser_root /Users/V/erlang 73 78 -images_dir /Users/V/graph_images 79 -restricted_mode 74 80 }}} 75 81 … … 86 92 {yaws_port,"8000"}, 87 93 {browser_root,"/Users/V/erlang"}, 88 {images_dir,"/Users/V/graph_images"}]). 94 {images_dir,"/Users/V/graph_images"} 95 {restricted_mode,true}]). 89 96 }}} 90 97 … … 97 104 == Logging in 98 105 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.106 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. 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. 100 107 101 108 == Database operations and environment nodes 102 109 103 This service is available under the "Files" tab. I t 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.110 This 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. 104 111 105 112 === Browsing files on the server … … 130 137 == Errors 131 138 132 This service is available under the "Errors" tab. 139 This service is available under the "Errors" tab. 133 140 134 141 If 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. … … 140 147 See [wiki:WebInterface/DependencyExaminations Dependency examinations]. 141 148 149 == Code duplicates 150 151 See [wiki:WebInterface/CodeDuplicates Code duplicates]. 142 152 143 153 == Logging out