Commit Graph

54 Commits

Author SHA1 Message Date
Matt Pass
5ad36122d5 Lock icon moves with FM width change, setting serverMessages
File Manager lock now moves as the width changes (via setLayout)
serverMessages block now displays message when creating, saving, deleting, loading and renaming
Function to handle display of server messages incl fade in/out
2012-03-12 17:48:05 +00:00
Matt Pass
ee3da0dd7c serverMessage class additions
Added CSS for serverMessage DIV box which fades in/out on demand
Shows as partly transparent white block over files in file manager
2012-03-12 17:45:03 +00:00
Matt Pass
1dd630dbac Removed fake 404 page, added serverMessage
Fake 404 page idea removed, now redirects to domain root
Added DIV for serverMessages
2012-03-12 17:44:01 +00:00
Matt Pass
4884c32fa8 Removed problematic $ownerInfo, simplify file info, extended $restrictedFiles to folders
$ownerInfo var previous available, based on posix_getpwuid
However, this isn't available on all servers, so removed
File attributes now no longer show as lock, just CHMOD info next to filename
If you're not logged in though, you see lock with alert message via onClick
$restrictedFiles now covers folders too
Removed redundant code for files when you're restricted no need for if clause
2012-03-12 17:43:08 +00:00
Matt Pass
083da878b9 Updated details on installation
Updated details as setup & usage is now simpler
2012-03-12 17:39:28 +00:00
Matt Pass
ce20b4349f Syntax fix & extra comment
Fix to var'ing within ternary expression. Oops.
2012-03-09 07:58:08 +00:00
Matt Pass
c03be66c78 Code Assist, Removing Upload, New Vars
New vars added for codeAssist, mouseDown and draggingFilesW
Upload references removed
Standalong & chars only replaced if Code Assist is on
New function to resize the file manager width on click-drag
scrollTop removed from function to determine mouse x & y pos
However, new dragCursorTest function triggered from the function
Function added to toggle Code Assist var on/off
2012-03-09 07:45:48 +00:00
Matt Pass
62d8370681 Mouse events added & changed
moving mouse now triggers function to get mouse position x & y pos in html tag not body
also detects if we can resize file manager width
new event states added to detect if mouse is down or not and set bool of mouseDown
2012-03-09 07:32:23 +00:00
Matt Pass
d215bb7a26 Mouse events & removing Upload area
moving the mouse now triggers a function to get the mouse x & y pos
also detects if we can maybe resize the file managers width
mouseDown var added as a bool on mouse down & update
Upload area removed
Code Assist function added
2012-03-09 07:29:53 +00:00
Matt Pass
c8cb61149c User select, upload, tabsBar and Code Assist updates
user0-select: none and the prefixes applied to body to stop elem highlighting on click-drag
upload classes removed as upload area is now removed
tabsBar now has a 0.2s transition on the BG image for fancy animed colouring
new classes for Code Assist function
2012-03-09 07:27:32 +00:00
Matt Pass
1eee476e0b Update to v 0.5.7
Update of version number only
2012-03-09 07:24:29 +00:00
Matt Pass
4ab18803fc Rename tab only if it's a new name
If we have a new filename redo the tab, otherwise don't
2012-03-09 07:24:00 +00:00
Matt Pass
4b0110b671 Keyup works with Code Assist
Only if Code Assist is on will the keyup event allow help with coding
2012-03-09 07:22:44 +00:00
Matt Pass
7467e793c1 File removed as no longer needed 2012-03-09 07:20:44 +00:00
Matt Pass
5a1b10ed22 Improvement to File Manager
Adding, editing or removing file or folders now triggers function to update manager
Previously it reloaded the file manager, but this is no longer needed
Overall result is that it works much faster, you don't lose your opened tree structure etc
2012-03-02 15:24:20 +00:00
Matt Pass
d649f1e1d4 Improvements to File Manager, setLayout & contentCleanUp & other minor fixes
File Manager now 250px wide by default
Also locked by default
setLayout function now allows partial set mode to set structure while waiting for FM to load
contentCleanUp now replaces via regex to handle multiple replacement of & and textarea
New Folder prompt now relative to location
Huge updateFileManager function to allow adding, editing & removing of files to reflect immediately in FM
2012-03-02 15:23:36 +00:00
Matt Pass
160c19397a Matching text function avail plus improvements & fixes to CM display
2 x JS scripts loaded from Code Mirrors lib plus the call to allow selected text matching
Different styling for visible & hidden classes
These classes mean not only faster tab switching but also fixes render problems on some computers
2012-03-02 15:11:05 +00:00
Matt Pass
a4a7527e82 fullPath var, FM open by default and partially triggering setLayout
new variable to allow JS to know what the servers full path is
File Manager pane open and locked by default
Opacity of it is 0 until loaded, then it shows
Layout set at end of this file to sort structure until FM is loaded
(Of course when fully loaded, a full setLayout is called)
2012-03-02 15:07:54 +00:00
Matt Pass
5e74b4cb9d Temporary fixes to $ownerInfo
ICE coder simply not showing on some servers
Temporarily removed this until a better solution can be implemented
2012-03-02 15:04:37 +00:00
Matt Pass
34a30c01d1 File Manager Open by Default
File manager is now set to 250px wide instead of 15px on load
This means it's now open by default
2012-03-02 15:02:52 +00:00
Matt Pass
9635ad18fb Theme styling improvements
Used the Monokai theme a bit more, but my own version
Better selected text colour (was black, now blue)
New classes for matched text
2012-03-02 15:01:48 +00:00
Matt Pass
ab573a51f6 Using new CodeMirror version & adjustment of banned & restricted files
Upgrade version to v0.5.6
Using Code Mirror v2.22
wp- (Wordpress files) now restricted rather than banned
2012-03-02 15:00:08 +00:00
Matt Pass
b962fe2562 Code Mirror 2.22 Upgrade 2012-03-02 14:53:56 +00:00
Matt Pass
224456ecdf Removed CodeMirror 2.21, upgrade to 2.22 2012-03-02 14:52:04 +00:00
Matt Pass
9925fc7692 Login now via POST instead of GET & password field
Login is now done over a POST for improved security
Password box replaces text box, again for security
2012-02-23 18:15:12 +00:00
Matt Pass
7eef976619 Shift key, Save As and loading mask
shiftKeyDown now detected
Loading mask hidden on load
Setting ctrlKeyDown to false on all functions to avoid stickiness
Same for shiftKeyDown
Save As functionality added
Window no longer opens on CTRL+Enter if it's a new file
2012-02-23 18:14:01 +00:00
Matt Pass
25a05027b5 Save As added to file control system
saveType var passed through on saving to start a save or save as routine
2012-02-23 18:11:50 +00:00
Matt Pass
29569ac7d1 Styles for loading screen & login area
CSS added for progress bar & spinning circles
CSS added for login area above file manager
2012-02-23 18:10:12 +00:00
Matt Pass
94ab671089 Loading screen & login area
New loading screen (progress bar & spinning circles on black BG) available to use
Login area added above file manager
2012-02-23 18:09:00 +00:00
Matt Pass
4cf6dac5f9 New functions & Some Removals
Removed code realting to idea of slow clicking to begin rename process
New File function added
New Folder function added
Altered rename function to work with single file
Altered delete function to display better path in prompt
File Manager Menu positioning & display function
Mouse X & Y position function added to enable positioning
2012-02-12 14:35:03 +00:00
Matt Pass
31f634b395 File Manager Menu Added
Few extra bits to enable new file manager menu to display & function
2012-02-12 14:31:55 +00:00
Matt Pass
994025567d File Manager Menu Added
New file manager menu which appears on right click
Provides functionality for:
- new folder
- new file
- rename file/folder
- delete file/folder
- view webpage
2012-02-12 14:30:53 +00:00
Matt Pass
85b8e6d997 New styles for file manager menu & settings screen
Classes added to cover these new things
2012-02-12 14:29:23 +00:00
Matt Pass
a0cd251df0 New folder functionality
Extra code added to allow creation of new folders
Minor fix to delete function by adding action var
2012-02-12 14:28:29 +00:00
Matt Pass
19c34c8e18 Password Improvements
New password screen shown on first use
Password hashing now instead of plain text
Auto logs you in upon setting the password
2012-02-12 14:27:11 +00:00
Matt Pass
82c350444a Alterations to work with dynamic CM instances
Various functions updates to work with dynamically generated CM instances
New variables added to track the CM instance refs & next avail number
CTRL+G now focuses on go to line box
A few lines of now useless code removed
2012-02-09 07:53:59 +00:00
Matt Pass
3202cfe0dd Alterations to active line
Now works with dynamic CM created instances
New loadingFile var to indicate the start & end of file load sequence
2012-02-09 07:50:28 +00:00
Matt Pass
3caf4bdddb Fix & improvement to user level & password
Setting user password now works as session is started correctly
Account password now set in a variable
2012-02-09 07:49:07 +00:00
Matt Pass
20ae2296d3 CodeMirror now created as dynamic object
No longer creates 10 x instances
Instead creates CM objects (& cMActiveLine) on demand
All hardcoded refs from 1-10 removed, now dynamic
Additional code to stop it seeing just loaded files as changed
li tags are now also inline
2012-02-09 07:47:20 +00:00
Matt Pass
0d56181f5e Version no update
Now at v0.5.2
2012-02-03 08:03:47 +00:00
Matt Pass
3d7980a148 </textarea> in loaded content fix
PHP will now load content into textarea container, but replacing </textarea> with altered tag
This ensures the actual textarea container isn't escpaed early
This replacement is reversed back to the original by the contentCleanup function
2012-02-03 08:03:19 +00:00
Matt Pass
94785e6a3d Selected text now using CSS style
Fix to incorrect CSS ref (- .span) to make selected text highlight as intended
2012-02-03 08:00:55 +00:00
Matt Pass
0e28213c86 </textarea> in content fix
Reverse the string replacement to ensure </textarea> is shown in content as intended
2012-02-03 07:59:05 +00:00
Matt Pass
0772190fdd Span & H1-H7 end tags now appended inline
Span tags are now appended inline rather than with line feeds, to represent their default inline styling nature
H1-H7 tags now also appended inline
2012-02-03 07:57:59 +00:00
Matt Pass
a620e1b275 Lots of great updates!
contentCleanUp function repurposed
(No longer removes tabs & spaces & sets tabbing, new purpose is some HTML encoding of chars such as & to &amp;)
(Also won't clean up loaded JS or CSS files anymore)
CTRL+Enter will now open webpage in new tab
ESC will now toggle comments for that line in a context aware way
Navigation expands contracts using JS instead of CSS (fixes issue #2)
New rename tab function added
Content type also determined by filename ext being .js or .css
Multiple new tabs can be opened now, instead of just 1
ShortURL established for renameFile function, fixes problem
lineCommentToggle function added
2012-01-28 17:01:47 +00:00
Matt Pass
d814f55ecb Version No Updates
Update to v0.5.1 and CM to v2.21
2012-01-28 16:44:57 +00:00
Matt Pass
74aedb9668 Rename & active line
Tab now renamed on saving file under new name
Clear history moved to a repurposed contentCleanUp function in JS file
Clear & set active line class to line 1
2012-01-28 16:42:32 +00:00
Matt Pass
dcedb0c119 New dark theme
Default theme is now dark with coloured elements
Shows code structure much better
2012-01-28 16:39:51 +00:00
Matt Pass
41b2b04c21 All CSS3 transitions removed
This is now handled by JS as number rounding was causing issues
Fixed issue #2
2012-01-28 16:38:38 +00:00
Matt Pass
813dd75bef ActiveLine & JS, CSS restrictions on code assist
ActiveLine CSS class added, shows this on cursor activity
Improvement to avoid doing this out on highlighting of text
Will no longer append end tags if in a JS or CSS file
a tags are also now appended inline, no line returns
2012-01-28 16:35:02 +00:00