71 Commits

Author SHA1 Message Date
mattpass
e720ba5d5a Dynamic assets path, tweak and fix in settings, ignore .idea 2022-06-11 21:53:45 +01:00
mattpass
2a00f7e8ea Regex simplification and not working with _perms 2021-07-25 20:06:01 +01:00
mattpass
fcd2e51c45 Fixed filename links to work, regex find & replace bold, simpler code 2021-07-25 19:22:41 +01:00
mattpass
94438fa34f Skip dirs in multiple results, close dir handle when done 2021-07-25 17:06:39 +01:00
mattpass
e8ba59fe46 Finishing updating multple results info items on task done 2021-07-01 21:34:00 +01:00
mattpass
d92c3b00c3 Now displaying Replaced text when successfully replaced 2021-07-01 21:13:30 +01:00
mattpass
dfb40255a9 Fix clickable filenames, don't show perms 2021-07-01 19:06:33 +01:00
mattpass
21d6ae0f2a XSS and usage fixes on multiple-results.php 2021-06-25 21:22:25 +01:00
mattpass
da88db20fb Scroll speed & find on input settings, fix tab sticking on close 2021-04-11 10:34:58 +01:00
mattpass
01df964ac7 Updates to JS and multiple results to handle more regex 2021-04-09 16:07:41 +01:00
mattpass
65bc11cd48 selectedfiles needs an empty array fallback 2021-03-04 14:26:50 +00:00
mattpass
74fcd33c97 Add demo mode indicator to panes 2020-09-26 08:33:12 +01:00
mattpass
501d9f048d item 0 removed when deleting from serverQueue, dont lowercase filename replace in modal, exclude findFilesExclude 2020-07-20 22:22:12 +01:00
mattpass
df5d148ac5 Improved working with OS for serverType 2020-06-27 16:27:25 +01:00
mattpass
eb3adee9fc Find & replace on filenames now working and case insensitive 2020-06-19 10:06:42 +01:00
mattpass
92cff73c3a Find & replace case insensitive 2020-06-19 09:37:52 +01:00
mattpass
c742e9db8a index.php and lib/multiple-results.up updates re find & replace 2020-06-19 07:20:50 +01:00
mattpass
6a6ada2020 multiple-results.php using function not elem click 2020-06-17 22:37:14 +01:00
mattpass
c7a218fc7c multiple-results.php using function not elem click 2020-06-17 22:35:33 +01:00
mattpass
22f80d04b1 multiple-results.php using function not elem click 2020-06-17 22:32:11 +01:00
mattpass
adde401420 multiple-results.php using function not elem click 2020-06-17 22:14:10 +01:00
mattpass
45733b52b8 multiple-results.php using function not elem click 2020-06-17 22:12:42 +01:00
mattpass
79c0aba340 multiple-results.php updated 2020-05-17 10:14:20 +01:00
mattpass
e7034bd30d Asset path changes in 6 x lib files 2020-03-21 08:06:12 +00:00
mattpass
0ce5fc0bd2 Use onkeyup, handle top level for manual and generally 2020-03-14 11:26:31 +00:00
mattpass
e666f38124 ID selectors added to iFrames in mediaContainer, can Enter or Esc 2020-03-14 10:58:10 +00:00
mattpass
2257343a32 Remove top. from multiple results 2020-02-28 17:14:17 +00:00
mattpass
de9e6f95ab Remove use of strClean 2020-02-01 15:41:52 +00:00
Matt Pass
3d8644ae4c Using getData function now 2016-08-25 14:44:18 +01:00
Matt Pass
2727bcb3e8 Replace * when analysing bannedFiles list 2016-04-24 11:14:18 +01:00
Matt Pass
caa9fab5b4 Don't change to lowercase here 2015-01-30 08:06:54 +00:00
Matt Pass
b65a7a690e Microtime all CSS and JS paths to help stop caching 2015-01-23 08:22:41 +00:00
Matt Pass
bf997fba42 Call new function every 20ms after clicking name
Will check if the item we wanted to open is now the selected tab and if
so, change find/replace options to find in selected file and clear
interval
2014-10-31 14:41:37 +00:00
Matt Pass
f82914207d $t needed in function to display text 2014-09-05 22:36:01 +01:00
Matt Pass
21ab41e677 Placeholder vars added for more lang pieces 2014-08-10 21:07:42 +01:00
Matt Pass
a3c0243772 Include headers lib & csrf hidden form field
To help protect against CSRF and clickjacking
Also include hidden form field containing this for postback
top.ICEcoder.csrf also set
2014-04-18 17:57:54 +01:00
Matt Pass
58e7c5ec42 preg_replace to remove full path prefix
Use preg_replace to only replace the first instance on a full path to
make it local
Avoids str_replace replacing all instances in the string
2014-01-15 10:39:31 +00:00
Matt Pass
eb634555df Exclude the dir ICEcoder is running from
After globalling $docRoot and $ICEcodeDir, work out a $localPath for the
file we have a result for
If our results match, we are looking in the ICEcoder dir and should
exclude as a result
2014-01-11 17:43:17 +00:00
Matt Pass
fd8b77a9df Use get function where possible 2013-07-07 15:38:58 +01:00
Matt Pass
2f85371738 Need to global context to be usable 2013-05-29 08:54:45 +01:00
Matt Pass
f436aa835d Set a stream context timeout for file reading
Add a context array to all instances of file_get_contents(). This is so
we don't end up with a timeout too early if the system is set to
something short (ie, 15 secs) and we try to open a large file that takes
longer than this short limit.
2013-05-23 17:45:00 +01:00
Matt Pass
fabfcbd742 Test against converted UTF8 no BOM content
Convert content to UTF8 with no BOM before testing matches against it
2013-05-22 13:00:19 +01:00
Matt Pass
aaa7be7bff Identify path slashes differently & drop PHP_EOL
Windows may use backslahes as it's dir seperator, but under some PHP
installs it uses the Linux forward slash instead. We could use the
directory seperator PHP var, but I've heard mixed opinions on this and
would rather just detect by looking at what $path, which contains
$docRoot, which is from the $_SERVER variable as this would be more
reliable.
It also wasn't showing the replace button due to a PHP_EOL which ended
the JS string with quote termination.
2013-03-04 16:58:35 +00:00
Matt Pass
aa9f1074bd Fomatting fix, removed tabs 2013-03-02 16:59:47 +00:00
Matt Pass
3f1801ef2b Postfix comparison to check path
Establish a stringExtra value of a slash or nothing depending on wether
we are considering the root level or not
When comparing the folder against the selectedFile array value, postfix
both with a slash (could be any char though). This is to eliminate path
mismatches.
2013-01-13 13:46:59 +00:00
Matt Pass
14053fbfdd Fixed banned & selected finding issues
Remove old echo test message
Added new $foundInSelFile var
Both this and bFile are false to begin with
Testing on not false of bannedFile in strpos
If we find our matching item is one of our selected files, set
$foundInSelFile to true
Only if we don't have a banned file and either we have no selected
files, or we do have some and have a match, push to array etc
PHP_EOL's to make source easier to read
2012-12-30 19:24:17 +00:00
Matt Pass
3937d733f0 QS var cleaning, removing test logs and /
strClean on GET var selectedFiles
Remove 2 x console.logs
Remove commented text
2 x areas need first slash removing and ending with a slash
Need to var thisWidth to avoid global
2012-12-20 17:15:26 +00:00
Matt Pass
24f05a1c03 Meta robots noindex, nofollow
Don't allow ICEcoder installations to be indexed by search engines
Remove a couple of console logs from testing.
2012-12-17 08:50:11 +00:00
Matt Pass
1b04504617 Find in selectedFiles & fix to find in filenames
Get an array of selectedFiles if there is one
Fix by resetting foundInSelected on each loop
targetURL is now lowercase as standard
Only provide results if it's a file
Also only provide results if the beginning of the path matches and
either the targetURL is the same or if it forms the beginning
Set $bFile = true if the file which contains our match doesn't match the
selected file
2012-12-17 08:40:37 +00:00
Matt Pass
4aa0260399 Extending case insensitive find & replace
Checking if we have a $_GET['target'] before use to avoid PHP notices
findText is converted to lowercase
Global case insensitive searching with regex in open documents
Find/replace in filenames now compares in a case insensitive way
Split the resultsDisplay generation onto 3 lines to make it easier to
read
Fixed issue with showing 'replace with xxx' when you're actually just
finding
2012-10-30 17:50:34 +00:00