organizing some files

Esse commit está contido em:
Felipe Nascimento de Moura
2011-01-23 00:40:29 -02:00
commit b20d4d39e8
10 arquivos alterados com 4531 adições e 9 exclusões
+3 -8
Ver Arquivo
@@ -1,15 +1,10 @@
Requires:
PHP 5.3
PHP 5.3+
PHP-cli
Your HTTPServer's user must have permission to read and write on its folder
In your console, run:
In your console, run the following command into this directory:
sudo php mind install
After the Ok message, go to:
[yourMindDir]/mind3rd/SQLite
and set the permission to the "mind" file due to allow the PHPUser
to access the database.
You're good to go
Great! Now you're good to go
+4
Ver Arquivo
@@ -1,6 +1,10 @@
See INSTALL.txt file to see how to install it.
For now, only working on mac and Linux
To perform some examples and tests, see
in your browser
http://[yourMindDir]/docs/ide
http://thewebmind.org
http://docs.thewebmind.org
contact@thewebmind.org
Arquivo executável
+127
Ver Arquivo
@@ -0,0 +1,127 @@
<script src='scripts/jquery.js'></script>
<body>
<div id='result' style='white-space:pre;'></div>
<br/>
<input type='button' value='autenticate' onclick="autenticate()"/>
<input type='button' value='run test' onclick="runTest()"/>
<input type='button' value='run info' onclick="runInfo()"/>
<input type='button' value='show projects' onclick="showProjects()"/>
<input type='button' value='show users' onclick="showUsers()"/>
<input type='button' value='analyze project x' onclick="analyze()"/>
<input type='button' value='logoff' onclick="logoff()"/>
</body>
<script>
function autenticate(){
$.ajax({
type:'POST',
url:'http://localhost/mind/',
data:{
program:'auth',
login:"admin",
pwd:'admin'
},
success: function(ret){
document.getElementById('result').innerHTML= ret
}
});
}
function runTest()
{
$.ajax({
type:'POST',
url:'http://localhost/mind/',
data:{
program:'test'
},
success: function(ret){
document.getElementById('result').innerHTML= ret
}
});
}
function runInfo()
{
$.ajax({
type:'POST',
url:'http://localhost/mind/',
data:{
program: 'info'
},
success: function(ret){
document.getElementById('result').innerHTML= ret
}
});
}
function showProjects()
{
$.ajax({
type:'POST',
url:'http://localhost/mind/',
data:{
program:'show',
what:'projects',
detailed:'1'
},
success: function(ret){
document.getElementById('result').innerHTML= ret
}
});
}
function showUsers()
{
$.ajax({
type:'POST',
url:'http://localhost/mind/',
data:{
program:'show',
what:'users',
detailed:'1'
},
success: function(ret){
document.getElementById('result').innerHTML= ret
}
});
}
function analyze()
{
$.ajax({
type:'POST',
url:'http://localhost/mind/',
data:{
program:'use',
what:'project',
name:'x'
},
success: function(ret){
document.getElementById('result').innerHTML= "<br/>"+ret
$.ajax({
type:'POST',
url:'http://localhost/mind/',
data:{
program:'analyze'
},
success: function(ret){
document.getElementById('result').innerHTML+= "<br/>"+ret
}
});
}
});
}
function logoff()
{
$.ajax({
type:'POST',
url:'http://localhost/mind/',
data:{
program:'exit'
},
success: function(ret){
document.getElementById('result').innerHTML= ret
}
});
}
</script>
externo Arquivo executável
+4377
Ver Arquivo
Diferenças do arquivo suprimidas por serem muito extensas Carregar Diff
Ver Arquivo
Arquivo executável
+19
Ver Arquivo
@@ -0,0 +1,19 @@
Copyright 2008-2010 Alistair Kearney, Allen Chang, Scott Hughes
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Arquivo binário não exibido.