Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - WiZaxx

Pages: 1 [2] 3 4 5
16
I got this in my notes for a few years now, but can't remember where I got it from.
It relies on the .htaccess file so you need access to the server with high credentials.

This will not prevent to upload files, but will rename the files making them unusable online.

Quote
The technique supplied here will work for a variety of different file types once you understand why it works. In particular, you want to prevent PHP files from being uploaded, because these files might contain malicious code.

Code: [Select]
RewiteEngine On
RewriteCond %{REQUEST_METHOD} ^PUT$ [OR]
RewriteCond %{REQUEST_METHOD} ^MOVE$
RewriteRule ^/files/(.*)\.php /files/$1.nophp

Files that are uploaded to the /files section of our website (you’ll need to modify this to point to whatever portion of your site where you’re permitting upload) with a .php file extension are created instead with a .nophp file extension, rendering them inoperable. Likewise, if someone attempts to rename an existing file to have a .php extension, this rename operation will result in the file being renamed to have a .nophp extension instead. Many well-known exploits involve this type of two-step attack, where a file is first uploaded and then executed. Preventing the initial upload goes a long way toward completely blocking these types of attacks.

17
Installation problems / Re: initial install problem
« on: May 24, 2010, 07:17:39 pm »
Could you share more about your system, both server and browser?

Cheers
Wz

18
Everyone:
Please feel step in and help !!

Let me try to share how I use it....

I'm not in the web designing business, but I will change the wording to accommodate an example that may help you.

So...I have a  contract with ACME Inc to deliver a new website, so I create a work-space called ACMEinc.

Now... I have a few departments, each following one part of the project(s). Lets say:
  • Graphics
  • Codes
  • Testing
  • Drafts


So I created one workspace for each department inside the ACMEinc.

Now let's say I have three groups of people working on graphics, one group is working on the GUI another group is working on the content and another group integrates the work of both.
So I create 2 work-spaces inside Graphics
  • GUI
  • Artwork

Now I create the users.
  • John and Paul are working on the GUI so I assign them to the GUI workspace only.
  • Tony, Bill and Jim are working on the content, so I assign them to the Artwork workspace.
  • Mary is in charge of the whole look 'n feel and I assign her account to the Graphics workspace (that is higher so by default she has access to all its content)

...and I would do the same for each department.

Now I have a draft of the website and I want to have it approved by my client: ACME Inc. So I create a new client company and assign it to the DRAFTS workspace inside the ACMEinc workspace.

I now copy all the drafts to be approved( including links to demo, etc.) in the DRAFTS workspace.

I now assign a task (approve draft) to the client from withing the DRAFTS workspace and send notification. When the client logs in, he will only be able to see the content of the its own DRAFTS.

Although you can simplify the structure, I would make a template of it and use it for each project.

I hope this helps,
Wz

19
Ideas / Really-real-time editing and chatting
« on: May 24, 2010, 03:12:40 pm »
Google bought-out the developing team of etherpad www.etherpad.org to further develop its own googledocs and (interestingly enough) released the "before purchase" code as open source.  8)

I'm currently installing it under a tab, but I believe it would require a better integration in FO to be a real success (access credentials et all)

Interesting features:
Open and/or protected documents (perhaps we could use this feature to protect documents on a workspace basis and leave the open for all)
Chat Pad. It seems as in protected documents it is by-invitation-only, which could be a cool feature to have.

Drawbacks
Installation requires a good amount of tweaking on the linux server so perhaps having it as part of FO requires some additional steps/tools ???

BTW:
I called mine SharePad ...  :D


20
Development / Re: How to make flowcharts (work in progress)
« on: May 22, 2010, 04:29:43 pm »
Yes I'm trying to upload a 102Kb jpg file and I'm getting this:

Quote
The upload folder is full. Please try a smaller file and/or contact an administrator.

Glad if you can help.
M

21
Development / Screenshot and files
« on: May 22, 2010, 05:06:25 am »
Here is a screenshot of the application wrapped in fengoffice with a theme close to FO's one.

All you need is in the attached file.
I will update the attachment to reflect the latest release from the community.

I have modified the icon to match FO and you will find it (in few sizes) in images/

Cheers,
Wz

22
Development / How to make flowcharts [WORKING]
« on: May 22, 2010, 04:51:25 am »
Description:
I have found this W.I.P. vector graphic editor that is really good for creating flowcharts, as well as any other graphics. It saves both .png and pure .svg

You can find more info here: http://code.google.com/p/svg-edit/

I have slightly edited the .css to match FO color scheme, cleaned a little the files and packed all in a zip file for easy installation. I chose the nightly build as it has many more features and it seems quite stable too.

Skills:
Minimal
Knowledge of the "Hello World" patch (search this forum if you are unfamiliar with it)

Requirements:
  • Fengoffice installed (1.6 and 1.7rc works well; I can't tell about earlier vers)
  • FTP access to your server will be enough although SSH terminal will be faster
  • The SVG-editor that you will find attached to the next post (I will update for newer rel.)
  • Firefox 3.6+ is the only browser that allows for insert/open local files

Howto:

  • Download the SVGeditor.zip
  • create a new folder in the fengoffice root (yourdomain.com/fengoffice/svgedit)
  • Upload and unzip the SVGeditor into the new folder
  • At this point you should have a fully functional installation of the SVG-editor at .../svgedit/svg-editor.html

The only thing left is to follow the instructions for the "hello worlds" to add a tab and get your the editor to work from inside FO.

I have added this block to mydomain\fengofficeroot\public\assets\javascript\og\layout.js:

Code: [Select]
//The SVG edit tab
og.panels.lab = new og.ContentPanel({
title: lang('svgedit'),
id: 'svg-panel',
iconCls: 'ico-svg',
refreshOnWorkspaceChange: false,
defaultContent: {
type: "html",
notbar: true,
data: '<iframe style="width:100%;height:100%;border:0" src="http://mydomain/svgedit/svg-editor.html"></iframe>'
}

Good luck

23
Installation problems / Re: Stuck in loop on step 3
« on: May 14, 2010, 04:07:44 pm »
I had the same problem once, but had to do with permissions.

A little more details may help the community to help you though.
Cheers,

24
Community Contributions / Re: Self assigning tasks
« on: May 14, 2010, 04:01:27 pm »
@pedja
don't get me wrong, the fact that I never came across the need of it, does't mean it is useless.
I actually believe it is a cool feature that I never had to use or seen before; and as such I hope someone can help you figure out what you are missing.

Cheers,

25
Feature requests / Re: Mobile devices - Sponsorship opportunity
« on: May 13, 2010, 11:10:42 am »
I have found this:
"Mooha is free open-source SyncML server written in PHP.
It means that you can run in along with your website on simple hosting with PHP and MySQL only!

You can synchronize your data from the website with your mobile device, and many other mobile devices and desktop applications and sync data between them all - as you wish......"

You ca read the rest here: http://drupal.org/project/mooha_server and here:http://mooha.net/

I have contacted the developer and he is available to modify his plugin to run with fengoffice. The estimated cost is $800.00 for 1 week work.
The sync relies on a client such Funamol,

There you go: a solid roadmap and price estimate, can you guys match it?
Oh, and yes count me in for 100$

Cheers.
P.S. reading through the thread I realize that collectively we almost have the 800$, so can fengoffice add the remaining and include it in the core??

26
The description of this tool seems very interesting:

"A reverse-engineering package that scans PHP files and directories, and delivers an UML/XMI representation of the classes and packages found."

It is here http://pear.php.net/package/PHP_UML/

Hope it helps

27
Community Contributions / Re: Self assigning tasks
« on: May 11, 2010, 10:37:21 am »
I'm afraid I can't see the possibility of self-assigning a task in fengoffice. But for that matter, I never came across an app that let me do it.

Usually one needs to have ownership or high privileges in the system to be able to modify assigniment (as the word say) it is an assignment after all  :D


28
Development / How to add ZENphoto (gallery) to FO
« on: May 10, 2010, 02:12:50 pm »
I needed a bitmap viewer and now I have it.
Not only, I can play FLV files and a number of other formats using zenphoto.

Skills:
Minimal, believe me, if I can do it.....
Knowledge of the "Hello World" patch (search this forum if you are unfamiliar with it)

Requirements:
Fengoffice installed (1.6 and 1.7rc works well; I can't tell about earlier vers)
FTP access to your server will be enough although SSH terminal will be faster
Access to create MySQL database/user

Howto:
  • Download zenphoto here: http://www.zenphoto.org/
  • Familiarize yourself with the requirements http://www.zenphoto.org/2008/08/installation-and-upgrading/
  • Create the database with MySQL
  • Create a user to access the database
  • Create a new place for the gallery (I opted for a folder in the FO root .../zenphoto/)
  • Upload the files
  • Rename the file .../zenphoto/config.php.source to config.php
  • Edit the config.php file to include your own database details
  • Create an empty .htaccess file in the .../zenphoto/ folder
  • Create an empy robots.txt file in the .../zenphoto/ folder
  • Run the .../zenphoto/zp-core/setup.php and follow the instructions given by the resulting page (I had to run it many times before I got all green checks
  • Once all checks out, run the "GO" button to create the tables and finalize the installation
  • The setup will take you to create an admin account

At this point you should have a fully functional installation of the zenphoto gallery at .../zenphoto/index.php and you should have an admin access at .../zenphoto/zp-core/admin.php

The only thing left is to follow the instructions for the "hello worlds" to add a tab and get your gallery to run inside fengoffice.

Good luck

29
More on my findings... I ran FO and Tine20 in parallel for a few days now and I have to admit that the speed performance of FO is way superior, that keeps me hooked :)

@ cabeza:
Unfortunately I'm not a programmer (actually I label myself as a "code challenged" person), so I can't help at all on that side, but I'm a software designer and I have designed and deployed CRM to over 3000 users; analysis softwares for all kind of dashboards and GUIs for over 20 years. So I may be able to help in the spec-out process, perhaps?

IMHO:
- asking for sponsorship on a core feature is pretending a bit too much, and counting on it will delay the development even further.
- Providing customization to the community will bring in a larger base that in turns will bring in a larger number of apps, that in turns will bring more to offer to your customers. Although there will be work to do to stabilize the community work ;)

Glad that you find it a necessity and looking forward to what's coming...


30
Allow me to make an example:
I want to have an image viewer to allow us to upload and view bitmaps, so I decided to try to embed a photo gallery.

It should be simple, right? Just add a new tab with a wrap module. Then enable/disable it as you deem fit.

Well... not really!
At the end I managed to get the bitmat viewer but it took me hours to get it to work.  For whom is interested I opted for http://www.zenphoto.org/ (Also because FENG & ZEN sounded good together :D)

Doing things like this should just be matter of a few clicks in my opinion.

Please give us some customization tools.

Cheers.

Pages: 1 [2] 3 4 5