Commit Graph

40 Commits

Author SHA1 Message Date
Michael Kaufmann (d00p)
95efc2f3a7 trim path before checking, fixes #927
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2013-04-04 16:10:17 +02:00
Michael Kaufmann (d00p)
12e57c5f10 fix maildirExists() function to check also 'old' maildir layout, refs #1103
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2013-03-07 09:13:20 +01:00
Arnold Bechtoldt
601bf68d09 Implementing the whole template system using Smarty. This commit includes movements of ROOT/js, ROOT/images, etc. to theme specific directories like templates/<THEME>/. If you are attemping to use your own templates you won't need to modify Froxlor's core files. This commit may require additional work.
Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com>
2012-08-14 23:08:25 +02:00
Fabrício Zimmerer Murta
432e898318 Additional modifications to domain/user/Maildir email file structure
- Added email settings' option to specify Maildir directory (depending
  on postfix version this is ./Maildir/, .maildir/ or, optionally, one
  can choose to leave Maildir file structure directly on user's
  directory.
- Fixed database 'insert' command to describe the new structure using
  specified Maildir directory into new accounts.
- Fixed maildirExists function to the new file structure
- Fixed older bug that email exclusions that were scheduled (task 7)
  were not being displayed on overview.
- Added entries on 'english' language file for the new entries on panel
- Changed task id 6 (delete customer) behavior on scrips/jobs/cron_tasks.php
  to assure email account is owned to mail uid/gid and the target is an
  actual directory before zapping it.
- Fixed task id 7 (delete customer mail data) behavior on script above
  to correctly fill and find Maildir and also do additional paranoid
  checks before zapping the mail account directory. Notice this is not
  the same from above directory-wise: here we erase a single account's
  data, while in task id a entire customer set of accounts and domains
  are eliminated.
2012-07-09 23:46:51 -03:00
Andreas Burchert (scarya)
c0d2d2dddd Small fix in makeChownWithNewStats().
Signed-off-by: Andreas Burchert (scarya) <scarya@froxlor.org>
2012-01-17 18:42:02 +01:00
Andreas Burchert (scarya)
8e07768996 Fixes 'unknown user' for disabled accounts (traffic overview), fixes #791
Thanks to monotek
2011-09-19 11:07:09 +02:00
Andreas Burchert (scarya)
51a83d8b09 Removed @version in file header. This isn't used by git. 2011-05-04 11:59:20 +02:00
Michael Kaufmann (d00p)
2f0a717241 don't prepend a slash to the domains 'path' value if it's a hostname, fixes #657 2011-03-14 07:58:32 +01:00
Michael Kaufmann (d00p)
20b2b1c399 add missing validator-parameters for setting-formfields
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2011-03-11 12:56:41 +01:00
Michael Kaufmann (d00p)
f02a8d73c7 fix check for path-value to avoid double-slash output, fixes #648
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2011-03-09 16:36:29 +01:00
Michael Kaufmann (d00p)
b5124b8274 fix output of default path-value if path-select-mode is 'Manual', fixes #642
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2011-03-08 11:48:05 +01:00
Michael Kaufmann (d00p)
13bde22344 - updated outdated domains_add & domains_edit templates in Classic-theme
- fixed formfield when path-mode is 'Manual'
fixes #620

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2011-03-01 10:31:38 +01:00
Florian Aders (EleRas)
a7a8c51c18 Merged brach redesign to master
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
2011-02-27 13:06:31 +01:00
Michael Kaufmann (d00p)
50ae198164 check whether directory is executable for the webserver user, fixes #612
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2011-02-25 16:38:34 +01:00
Michael Kaufmann (d00p)
c6afcc57d9 - in function findDirs() just skip if a directory cannot be read instead of returning the list till this dir, fixes #611
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2011-02-25 08:00:06 +01:00
Michael Kaufmann (d00p)
393a5ce570 - let makePathfield return usable values for the formfield (dynamically changing between select, text and hidden, depending on settings)
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
2011-02-24 10:50:59 +01:00
Michael Kaufmann (d00p)
ffe49e8acd outsource makeChownWithNewStats function to lib/functions/ because it is now also used outside the cron-area, refs #258 2010-10-24 20:59:52 +00:00
Michael Kaufmann (d00p)
cf2dabc714 - use correct function to validate directory, fixes #385 2010-08-20 14:45:37 +00:00
Michael Kaufmann (d00p)
599d179c4d - fix returnvalue of _getImmutableFunction() 2010-08-10 08:20:20 +00:00
Michael Kaufmann (d00p)
4b84d978d1 - check for 'chattr' command, and use 'chflags' (FreeBSD) if not found, fixes #339
- add license-header to function.storeDefaultIndex.php
2010-08-10 07:57:48 +00:00
Michael Kaufmann (d00p)
ced78ac6f7 - use correct table-field for email deletion, refs #245 2010-07-24 19:42:03 +00:00
Michael Kaufmann (d00p)
51673f3569 - only show checkbox for e-mail file deletion if there really is some data on the filesystem 2010-07-24 17:26:24 +00:00
Michael Kaufmann (d00p)
cc5c30cc69 - check for defined variable in makeCorrectFile as an undefined may return unwanted values 2010-06-28 08:23:11 +00:00
Michael Kaufmann (d00p)
323e2210c3 - don't create absolut paths additionally as relative paths in customers docroot, fixes #259 2010-06-04 05:50:23 +00:00
Michael Kaufmann (d00p)
a5cf1a0ac9 - pre-select correct domain-path on domain-edit (customer-panel), fixes #225 2010-05-11 11:16:14 +00:00
Michael Kaufmann (d00p)
a7041e0399 - don't spam "PHP Warning: readdir() expects parameter 1 to be resource, boolean given" when webserver-configuration-directories do not exist in wipeOutOldConfigs 2010-04-28 07:04:01 +00:00
Michael Kaufmann (d00p)
368e6a5c50 - improved 'edit ftp-account', fixes #116 2010-04-07 06:08:09 +00:00
Florian Aders (EleRas)
43595df977 Deactivating limitation of commands in safe_exec, we'll just check if there are redirects and stuff like that
The original reason for safe_exec is already allowed: rm
2010-04-05 13:03:58 +00:00
Michael Kaufmann (d00p)
9b843a8ad5 merging awstats branch to trunk, fixes #57, fixes #58 2010-03-22 12:36:59 +00:00
Michael Kaufmann (d00p)
55aab4004c create default index-file also in subfolders if newly created (and enabled), needs testing, fixes #68 2010-03-17 12:20:14 +00:00
Michael Kaufmann (d00p)
ee7f83aede - correcting safe_exec check in function.safe_exec.php, fixes #56 2010-03-10 12:19:20 +00:00
Michael Kaufmann (d00p)
e8de3d45e5 - removed some undefined variables
- fixed function openRootDB
- fixed realtime-function (it's now a tcp connection), fixes #24
- fixed missing $-sign befor variable in makePathfield
2010-02-21 21:09:48 +00:00
Robert Foerster (Dessa)
883963d2e2 svn:eol-style got murdered on some files for whatever reason so it gets resurrected now, also set some svn:keywords 2010-01-27 08:54:31 +00:00
Michael Kaufmann (d00p)
f82b611b0a more work on the new cronhandling 2010-01-25 15:32:36 +00:00
Michael Kaufmann (d00p)
6e5746a598 prepare for more cronjob-mess :) 2010-01-25 13:40:17 +00:00
Michael Kaufmann (d00p)
632c7051fc changing file-headers;
fixing $needrootdb in cron_init.php (why was this disabled?);
2010-01-25 10:06:34 +00:00
Florian Aders (EleRas)
66ac89698f Set svn:keywords "Id" on every file except images and configfiles 2010-01-25 09:11:52 +00:00
Michael Kaufmann (d00p)
b3f9303f87 fixed dir-listing: don't error when dir is unreadable & if more than 100 dirs fall back to manual dir-selection; fixed #2 2010-01-24 15:05:21 +00:00
Michael Kaufmann (d00p)
9a91825f70 fixing syscp-feature-request #1236 (cron doesnt delete user directories) 2010-01-24 11:30:15 +00:00
Michael Kaufmann (d00p)
9907afe630 ininitial froxlor commit;
'reverted' old-style update-process;
removed billing-classes, -functions and -templates;
some sql-fixes;
2010-01-20 09:12:52 +00:00