Matt Pass
35c7116ed9
MicroPython added as a file extension
2020-01-11 13:23:59 +00:00
Matt Pass
fdecc45f41
Prefix array key with working dir prefix
2019-10-15 22:50:52 +01:00
Matt Pass
63b056e8bc
Get contents of changed files at git head
2019-10-15 22:26:43 +01:00
root
6cdcbbf355
Output datetime, extract code outside of block
2019-10-06 15:57:16 +00:00
Matt Pass
433e169f06
Lock off file from http, git diff -> MD5 to rescan
2019-10-06 15:54:06 +01:00
Matt Pass
fc0a9bb6e8
Keep running process with delays between of 2 secs
2019-10-06 14:06:31 +01:00
Matt Pass
158ab19268
POC of system.php routine
2019-10-06 12:27:55 +01:00
Matt Pass
0519cde4df
JS new user process example added
2019-09-21 23:42:50 +01:00
Matt Pass
f25b5f225e
JS user logout process example added
2019-09-21 23:42:28 +01:00
Matt Pass
9a1ad5d369
JS user login fail process example added
2019-09-21 23:41:59 +01:00
Matt Pass
8b8d626f05
JS user login process example added
2019-09-21 23:41:36 +01:00
Matt Pass
542da8bc92
JS new dir process example added
2019-09-21 23:41:09 +01:00
Matt Pass
b8d145fd04
JS got remote file process example added
2019-09-21 23:40:41 +01:00
Matt Pass
7a2bcf1d25
JS uploaded process example added
2019-09-21 23:40:11 +01:00
Matt Pass
47d886d7b1
JS saved process example added
2019-09-21 23:39:43 +01:00
Matt Pass
e2ce0a0f14
JS replace text process example added
2019-09-21 23:39:14 +01:00
Matt Pass
fcc33197fd
JS load process example added
2019-09-21 23:38:48 +01:00
Matt Pass
e656082ef3
JS renamed process example added
2019-09-21 23:38:21 +01:00
Matt Pass
efb454cb2d
JS perms change process example added
2019-09-21 23:37:49 +01:00
Matt Pass
883d4d20ef
JS paste process example added
2019-09-21 23:37:15 +01:00
Matt Pass
b01584d21f
JS move process example added
2019-09-21 23:36:49 +01:00
Matt Pass
3ee07b979e
JS delete process example added
2019-09-21 23:36:24 +01:00
Rafael Rotelok
51ab472142
PSR-2 Compliance, removing the closing tag ( ?> ) on php only files
...
inserting a blank line on the end of php only files
2018-06-16 00:19:49 -03:00
Matt Pass
e0101a3837
TypeScript added, CoffeeScript commenting fixed
2017-05-13 16:20:01 +01:00
Matt Pass
410ef385d5
Load partial JS file in now
2016-08-19 12:44:09 +01:00
Matt Pass
1266f73f64
Unescape short PHP and ASP tags
...
They are interpreted otherwise and JS modified to produce false
positive.
2016-08-09 09:55:31 +01:00
Matt Pass
444e7ef6b4
Dropped support for Rust
...
CodeMirror doesn't seem to work with this mode after minification and so
has been dropped.
2016-04-02 14:23:41 +01:00
Matt Pass
d9393bf059
Only set mode if it's different to what is set
...
Avoids recoloring code
2016-04-02 13:18:29 +01:00
Matt Pass
3c370d8ec7
ino is now alias for C++ language
2015-06-26 08:55:36 +01:00
Matt Pass
d72c8a46d5
Improved commenting system
...
Simpler code and now able to easily add new language commenting syntax
plus tweaks & fixes
2014-11-18 13:22:32 +00:00
Matt Pass
7fc5c23b50
Fixes to comment based on cursor pos
...
Identify CSS <style> blocks
Only if we didn't identify caretLocType and have a fileName do we go by
file extension
2014-11-17 15:20:41 +00:00
Matt Pass
fa2478f2f7
Remove getNestLocationSub function
2014-10-29 16:17:42 +00:00
Matt Pass
bafe89a7f3
Also lint diff pane on JS/JSON mode
2014-10-27 16:27:36 +00:00
Matt Pass
084269bf35
JSON highlighting also & set lint: true if JS/JSON
2014-10-22 12:20:45 +01:00
Matt Pass
f411370e32
New processes added
...
To cover all actions in file-control now
2014-10-18 22:16:43 +01:00
Matt Pass
2ea0ae8793
Die if not logged in to protect files
...
Avoids risk of them being run by visiting URL when not logged in
2014-10-18 21:09:32 +01:00
Matt Pass
15eba478ac
Slice 4 chars from end (for less and scss)
...
The char position used by $fileNameExtPos is actually from the
beginning, not end, so is useless here
However, we know that 'less' and 'scss' are 4 chars, so we can just
slice off those 4 chars always
2014-10-18 20:38:31 +01:00
Matt Pass
114b7e5d10
Set mode on both main & diff panes
2014-10-11 15:17:41 +01:00
Matt Pass
d348191a37
Handling split panes
...
Establish panes and which one we are looking at when running these
functions
Note: May need to not do this for switchMode, as the diff pane should
fall in line with the main pane
2014-10-11 12:58:03 +01:00
Matt Pass
746b133a9a
Filetype identification fixes & improvements
...
Look to fileExt to determine the file type by extension rather than
string in fileName which is the path. This means .c isn't mistakenly
picked up in paths such as /httpdocs/mydomain.com/file.rb
Simplified code with 2 improved ternary statements
2014-09-26 14:38:59 +01:00
Matt Pass
2409bc19c2
Compile Sass and LESS on save if plugins available
2014-09-24 12:28:59 +01:00
Matt Pass
5aa5dc82bb
className gone, need to use type
...
className dropped by CodeMirror, need to pick up "error" from type
As it may not be there, we need to test for its existence and it's also
be part of a string eg "tag brackets error", so indexOf is needed
2014-06-18 16:52:01 +01:00
Matt Pass
5f051baeca
Process file added to be run on file save
2014-06-18 07:06:34 +01:00
Matt Pass
2136ad1955
setLine now replaceRange, around on getSelection
...
setLine deprecated, now need to use replaceRange and pass 2 objects for
start & end (line & ch)
getSelection needs "around" param as default is now "end"
2014-05-22 07:13:30 +01:00
Matt Pass
dff16e9b3f
8 new languages added
...
C, C++, C#, Go, Lua, Perl, Rust and Sass added
Perl has # comments (single & block)
Lua has --[[xyz]] for block, and -- for single lines
2014-04-10 10:04:29 +01:00
Matt Pass
12ced2c7fc
Commenting on Erlang, Julia, Java and YAML
...
Using commentChar now to handle char used on commenting (# or % for
Erlang)
Erlang, Julia, Java and YAML commenting covered
Include Python also as forgotten
adjustCursor to be set to 1 on single chars, overriding 2
Cursor adjusting done here now, not in parent function anymore as
adjustCursor value not available from that scope
2014-03-20 14:36:39 +00:00
Matt Pass
686813e6be
4 new lanuages added
...
Erlang, Java, Julia and YAML
Need to handle commenting
2014-03-19 18:47:37 +00:00
Matt Pass
29e5dc0eae
Language related items moved to seperate files
...
Makes it easier for users to customise languages supported
2014-03-15 14:09:06 +00:00
Matt Pass
f5be67675b
New process available on bug check
...
This is called after results are established.
$results and $status available for use and example shows logging them to
a file
2014-02-28 12:19:59 +00:00
Matt Pass
95dbad842d
Processes added
...
Files added to put custom processes into, including events for:
load, login fail, login, logout and new user
2013-05-31 20:14:54 +01:00