Matt Pass
ffef82fe76
GitHub manager to add, edit/remove and choose
...
Establish local and remote paths plus get settings file contents
If we're choosing a path pair, get the number and the 2 chosen paths
(local and remote). Paths are not valid until checked if exist. Prior to
that, a mkdir is attempted if it doesn't with error reporting if that
doesn't happen.
If valid, set the new root path and reload the file manager
Adding and editing of local and remote array paths on postback also
handled
Page displays form & table so you can manage repo pairs along with
providing usage info
2014-06-03 09:10:55 +01:00
Matt Pass
3a98c3a457
Couple of code tweaks and new repPosEnd
...
Need to rtrim off the last comma and forgot to add table row start & end
tags
The end cut point is now githubLocalPaths, not previousFiles
2014-06-03 08:45:24 +01:00
Matt Pass
dabb9ba79c
githubManager added
...
Now accessable from the file manager menu option
Clicking this sets the content of the mediaContainer popup display to be
an iFrame loading the GitHub manager and shows the blackMask
2014-06-03 08:43:48 +01:00
Matt Pass
f5cd2b46b9
Else & if conds added to get GitHub repo
...
Added an else condition to work with empty folders, establishes local
and remote paths and works out of the $iceRoot is one of our local paths
If so, inform the user their folder is empty and ask the user if they'd
like to clone the repo
If so, show the loading mask and call our GitHub script to begin the
process
2014-06-03 08:40:48 +01:00
Matt Pass
5e792b80a9
New arrays for GitHub paths
2014-06-03 08:20:15 +01:00
Matt Pass
020a95bd80
Slightly smaller logo
2014-06-03 08:19:19 +01:00
Matt Pass
13d63575f6
New logo added
2014-05-22 07:52:48 +01:00
Matt Pass
4870fe9560
Changes to fit in with CodeMirror 4.2
...
setLine is now replaceRange
New namespacing on folding
replaceSelection needs "around" param
removeLine deprecated, using execCommand('deleteLine') now
cursor.end set to 1000000 for consistency
2014-05-22 07:32:36 +01:00
Matt Pass
882e026f76
onkeyup own event now and fold changes
...
onKeyEvent is no longer a param function, now something set in an 'on'
event function
setLine now replaceRange
doFold is the new fold function, "brace" or "xml" string passed to it,
not an object now
codeFoldTag and codeFoldBrace vars no longer needed now
2014-05-22 07:26:00 +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
fa97918684
Use doFold now, pass string instead of object
2014-05-22 07:07:39 +01:00
Matt Pass
05daab79c1
Rename function doFold and new namespace
...
doFold seems a better name, so renamed and rangeFinder var now foldType
New namespace convention on folding, also specifying type by foldType
2014-05-22 07:05:44 +01:00
Matt Pass
57a789f046
Use CodeMirror 4.2 dir
2014-05-22 07:00:18 +01:00
Matt Pass
61cc4b82f0
Update to CodeMirror 4.2
2014-05-22 06:56:32 +01:00
Matt Pass
a8168fed86
Include this lib file only once
...
Is called from headers.php also now, so don't want to error by calling
again (clashing function names etc)
2014-05-20 07:26:05 +01:00
Matt Pass
47af30e0b6
Include common settings and xssClean output
...
inlcude_once the settings-common.php file so we have the xssClean
function
Set $req to the xssClean'd value or blank
Also xssClean other strings that are output
2014-05-20 07:25:15 +01:00
Matt Pass
277dc67243
printCode function added
...
Prints current tab, though code flows off the page horizontally, needs
tweak to something.
2014-05-16 09:18:14 +01:00
Matt Pass
0e48b8d5a3
Only show this button text if enabled reg
2014-05-16 08:21:06 +01:00
Matt Pass
3bc4deac68
Merge pull request #397 from RelaxedArcher/master
...
Fixed an issue affecting registration in multi-user mode
2014-05-16 07:49:44 +01:00
RelaxedArcher
6a50c1ce2b
Fixed an issue that caused registration to be always available while in multi-user mode
2014-05-10 02:30:22 +03:00
Matt Pass
55def4402a
Version 4.0
v4.0
2014-05-03 15:01:19 +01:00
Matt Pass
b23e2fe40b
onClick show menu can begin
2014-05-03 14:36:20 +01:00
Matt Pass
8133adeab8
!isset($_REQUEST["csrf"]) is extra fail cond
2014-05-03 14:19:24 +01:00
Matt Pass
a470daf9f5
No need for other chars to be replaced
...
Impossible to output an XSS without < or > alone
2014-05-03 14:13:48 +01:00
Matt Pass
1a85a1ddc3
Display a more helpful & useful error message
2014-05-03 14:09:09 +01:00
Matt Pass
ab8ad37467
strClean $_GET value first
2014-05-03 12:08:30 +01:00
Matt Pass
b811cfe92f
strClean $_GET['plugin'] and use that
2014-04-28 08:00:22 +01:00
Matt Pass
fa40d9dad7
Also attempt to get over https, then http
...
Supresses warnings on https attempt with @
2014-04-26 16:55:55 +01:00
Matt Pass
16c7e5d010
Attempt to get over https, then http
...
Supress warnings with @ on https attempt
Explode what we have afterwards
2014-04-26 16:54:11 +01:00
Matt Pass
d5e6fb041f
Reverting to use http: instead of https: for now
...
file_get_contents won't get https: data for now
Need to look at resolving this
2014-04-26 16:14:27 +01:00
Matt Pass
f00686c679
If we have GET QS params, add &crsf=xyz to end
2014-04-26 16:12:55 +01:00
Matt Pass
45fef223ce
Removed list of people, now on website
2014-04-26 14:59:53 +01:00
Matt Pass
89c811d140
Darker side text, blue links
2014-04-26 14:59:18 +01:00
Matt Pass
17ec5f517c
Turn SSL verify peer off
...
https over CURL Won't work locally otherwise
2014-04-26 13:19:33 +01:00
Matt Pass
56511b66bb
fileNavH not as tall anymore
2014-04-26 12:40:11 +01:00
Matt Pass
4f5ed727f0
https used and drop IGG crowdfund link
2014-04-26 12:25:32 +01:00
Matt Pass
75885aecf5
strClean now replaces javascript:
...
htmlentities doesn't cover : and str_replace on : is too vague
regex is case insensitive
2014-04-26 12:25:12 +01:00
Matt Pass
fa48d0d2f0
Strip ../ so we don't have dir traversal vuln
2014-04-26 12:24:01 +01:00
Matt Pass
ec44407e25
xssClean the displayed file/folder name
...
Using html filter
2014-04-26 12:23:29 +01:00
Matt Pass
394067ff07
Need <b> and <br> after cleaning and https used
2014-04-26 12:23:04 +01:00
Matt Pass
ed800a01ce
https: used
2014-04-26 12:22:31 +01:00
Matt Pass
599af8d96b
https: used and revised git command
2014-04-26 12:21:06 +01:00
Matt Pass
9a2881cd7b
Remove comma
2014-04-24 12:10:17 +01:00
Matt Pass
6e7612d3ec
Inform user they can't delete the root
...
Stops the root accidentally being deleted
2014-04-23 08:22:44 +01:00
Matt Pass
0413ec4414
xssClean using 'html' filter
2014-04-23 07:43:17 +01:00
Matt Pass
c88d4f46e3
Rewrite of xssClean function to be neater
2014-04-23 07:41:30 +01:00
Matt Pass
1306853e1e
Cannot use $_REQUEST, should be $_GET || $_POST
...
$_REQUEST appears to contain other system info, need to check on the
existence of $_GET or $_POST data
2014-04-23 07:23:02 +01:00
Matt Pass
078068e252
Don't allow directory traversal
2014-04-23 07:12:13 +01:00
Matt Pass
69d8ddce77
Need to target on top.ICEcoder.xssClean
2014-04-22 09:25:18 +01:00
Matt Pass
3926d4468c
xssClean function added & used by serverMessage
...
Replaces 5 x based HTML chars
2014-04-22 08:55:09 +01:00