Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 11th, 2006, 9:52 PM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,799
Rep Power: 5 Sane will become famous soon enough
Thumbs up OnlineTextEditor.Com!

I have created an online text editor... after the bug testing and any added features, I will register the domain name: OnlineTextEditor.com, put it on a real server, and away we go!

I have set up an account for you guys to help test with:

Username: PFO
Password: beta

http://saney.ath.cx:8080/OnlineTextEditor.com/

If you don't feel like using that account, you can just remain logged in to your IP address as the default.

All input is thoroughly appreciated. Especially detailed input about how to solve certain problems (not just like... "oooh, it's over-crowded").

And now for my spew about the text editor ...



OnlineTextEditor.Com
The Fastest And Easiest Way To Write And Share Text Online

Do you need...
- A quick way to send a link of a text file to someone?
- A place to store your homework so you can work on it at school?
- Somewhere to store programming snippets to retrieve at ANY time?
- A place to backup and password protect some old documents?

Then this is the web site for you!

This is a free text editor that you may use, online, for all purposes! You get unlimited space allocated to your IP address for text files, and you don't even need to sign up!

You may password protect your text files, choose to let only your IP address edit, and restrict who can see the document!

The password that you choose is sha-1 encrypted, and the files are always secured by the privileges that you set.

You may save/rename/delete your files, save other files as a new file under your own account, upload files directly from your computer, and download them at any time!

For information on how to use these functions, and the specific rules, please read on.

Table Of Contents

1 - Getting Started

2 - Functionality
2.1 - Open File
2.2 - Save
2.3 - Rename
2.4 - Delete
2.5 - Save As
2.6 - Upload & Save

3 - Extra Features
3.1 - Popout
3.2 - Direct Link
3.3 - Download File
3.4 - Close File
3.5 - Signing Up

4 - Terms Of Service
4.1 - Server Spamming
4.2 - File Types

5 - Frequently Asked Questions
5.1 - Why Is It Free?
5.2 - What Is An IP Address?
5.3 - Help! My IP Address Changed!
5.4 - How Can I Give Someone a Direct Link To My File?

6 - Miscellaneous
6.1 - Bug/Misuse Report
6.2 - Program Information
6.3 - Copyright


1 - Getting Started

If you are reading this, then that means you must have visited
http://OnlineTextEditor.com/

When you accessed this link, you were prompted to log in. If you chose not to, you are by default logged in using your IP address. A folder was automatically created with your IP address (see section 5.1) as its name. Then "untitled.txt", the file you are currently reading, was loaded.

From now on, any files that you decide to "save as", will be located inside this folder. The next time you visit this site with the same IP address, this folder will automatically be loaded and you will see all of your text files.

If you logged in under an account, the folder's name was your username instead. See section 3.5 for more information.

To learn how to use the functions of the Online Text Editor, please read on.


2 - Functionality

2.1 - Open File

You may use the top-left box, labelled "Open File", to open files. Here, you can browse and open yours and other people's text files.

Currently, you have been placed inside your own personally reserved folder. To see the root directory, click "Up One Level".

To enter a folder, single click it. To open a file, click one of the files and press okay. Some files you may not open because the author restricted the read access.

2.2 - Save

When you click save (in the tray of icons at the top), the file that is currently open will be automatically overwritten with the changes you have made.

If the file you are trying to save does not exist (IE untitled.txt), you will not be able to save. Try "save as" first (see section 2.5).

You may access this feature when you have a file open, and have write permissions to this file. If it is your own file that you have open, you automatically have permissions to this feature.

2.3 - Rename

When you click rename (in the tray of icons at the top), you will be prompted with a dialog box for a new filename. Enter in a new name and press okay (cancel to quit). The file will be automatically renamed to the file name you have chosen, and then immediately re-opened.

You may access this feature when you have a file open, and have write permissions to this file. If it is your own file that you have open, you automatically have permissions to this feature.

2.4 - Delete

When you click delete (in the tray of icons at the top), the file that is currently open will be automatically deleted. The text for the document still remains inside this window. In case you did not mean to delete the file, you can click "Save As" right after to save a new copy.

You may access this feature when you have a file open, and have write permissions to this file. If it is your own file that you have open, you automatically have permissions to this feature.

2.5 - Save As

The options for Save As (located inside the second box from the bottom-left), are as follows...

- File name - This is what the new file's name will be.

- Password - Add a password to restrict editing privileges to those who know the password. If "editable by other computers" has been checked off, then all people who know the password can edit. If not, then only you need to know the password.

- Viewable - Check this off to allow anyone to open your text file. If it is unchecked, only your IP address can access the file (see section 5.3).

- Editable - Check this off to allow anyone to save/rename/delete your text file. If a password has been specified, then no one can edit it without knowing the password. If this is unchecked and a password has been specified, then only you need to know the password.

For example, if you wanted to have it editable at both home and at school/work, by only you. You would set a password, check "viewable" and check "editable".

When you click "save as", (in the tray of icons at the top), it will save the currently open file to your own folder and apply these settings. Your folder will then be automatically reloaded along with the newly saved text file.

You do not need write permissions to the text file that is currently open to "save as". If the filename you are specifying already exists, you will not be able to overwrite using "save as".

2.6 - Upload & Save

In the bottom-left box, you may locate any file on your computer's hard drive, and save it to your own folder. Your folder will then be reloaded and the text file automatically displayed.


3 - Extra Features

3.1 - Popout

Clicking the arrow icon (in the tray of icons at the top), will pop out the window to contain no scroll bar or toolbar.

3.2 - Direct Link

You may retrieve a direct link to your file by clicking the "copy link" icon (in the tray of icons at the top). This will copy the link of the currently open text file to your clipboard. To display the link, press "ctrl+v" or select "edit, paste" from the window's menubar.

Accessing this link will bring you directly back to the text file you have currently open.

3.3 - Download File

Clicking the "download to hard drive" icon (in the tray of icons at the top), will open a save dialog box to download the currently open text file to your computer.

3.4 - Close File

Clicking the "close file" icon (in the tray of icons at the top), will close the current file after prompting, and open up "untitled.txt".

3.5 - Signing Up

You may sign up to identify your files with a username and password rather then your IP address. This solves the problems imposed by a dynamic IP address, and gives you a folder name of your choice.

A link to register will be added at a later time.


4 - Terms Of Service

4.1 - Server Spamming

Server spammers are those who blatantly try to load the server by requesting an unecessary amount of functions. These are usually run by automated programs, with the purpose of over-loading a server. If you are using this text editor regularly, do not worry about it. It is those who are trying to crash the server who are at fault.

IP addresses of these users can be blocked. If you see anyone purposefully misusing this text editor, please read section 6.1 and report them immediately.

Restrictions are already imposed to prevent such spamming. Files can not be saved more frequently then every thirty seconds.

4.2 - File Types

You are not allowed to save any other types then text files. Those uploading picture files, executables, and any other file types are not allowed. If you see anyone purposefully doing this, please read section 6.1 and report them immediately.


5 - Frequently Asked Questions

5.1 - Why Is It Free?

The hosting for this service is paid solely by advertising revenue.

5.2 - What Is An IP Address?

"An IP address can also be thought of as the equivalent of a street address or a phone number for a computer or other network device on the internet. Just as each street address and phone number uniquely identifies a building or telephone, an IP address can uniquely identify a specific computer or other network device on a network."

~ Wikipedia - The Free Encyclopedia
http://en.wikipedia.org/wiki/IP_Address


5.3 - Help! My IP Address Changed!

If your IP address has changed, which amounts to viewing/editing conflicts imposed by your file restrictions, then I am sorry. If you have a dynamic IP address, be careful that this does not happen. You may want to password protect your files, instead of restricting access to only your IP address.

See section 3.5 if you wish to register for an account rather than a username.

5.4 - How Can I Give Someone a Direct Link To My File?

See section 3.2.


6 - Miscellaneous

6.1 - Bug/Misuse Report

If you find any bugs, or misuse in this text editor, please file a detailed report to: dr.sane@gmail.com

6.2 - Program Information

This program uses...

- Validated XHTML (Display)
- Validated CSS (Design)
- Javascript (Interface to Active X)
- Active X (Means of using XML)
- XML (Communicating with PHP)
- PHP (Processing requests)

And was developed June 10th 2006, by Aaron Voelker.
For more about Aaron Voelker, his resume, and his contact information, visit: http://saney.ath.cx/

6.3 - Copyright

OnlineTextEditor.com is Copyright © Aaron Voelker 2006.

All content saved on this site is copyright of their original authors and may not be redistributed without permission therein.
Sane is offline   Reply With Quote
Old Jun 11th, 2006, 10:48 PM   #2
splinter9x
Hobbyist Programmer
 
splinter9x's Avatar
 
Join Date: Jun 2006
Posts: 137
Rep Power: 0 splinter9x is an unknown quantity at this point
I don't recomend having the login the users IP address, as some people have static IP's. When the IP I am using changes, and of course it will becouse I'm on dial-up right now, then I wont be able to access the files that I stored when I was on this IP...
__________________
Visit my Blog
I support WINDOWS...
splinter9x is offline   Reply With Quote
Old Jun 11th, 2006, 10:59 PM   #3
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Quote:
Originally Posted by splinter9x
I don't recomend having the login the users IP address, as some people have static IP's. When the IP I am using changes, and of course it will becouse I'm on dial-up right now, then I wont be able to access the files that I stored when I was on this IP...
Hence why he said:

Quote:
5.3 - Help! My IP Address Changed!
[edit] You may want to password protect your files, instead of restricting access to only your IP address.
@Sane

Looks cool, not sure I would use it though. Just a note: Say, just SAY that you get hacked. If someone were to manage to get into your server (whether it be through a code hole, or server hole) what could happen? The thing that crosses my mind is that if they were able to get access to any folder (which is being stored with relevance to Static IPS in some cases) they would be able to look at the files. From there, they might find something of interest to them, let alone they have the IP of the user who uploaded the file. They might try to attack the user to get more sensitive information. This may or may not happen, but it's something to think about. My advice would be to put a privacy policy in, or put the whole "We are not responsible for your data" type thing under the terms of service. I looked through, and couldn't see anything similar. Overall, looks good though. Nice job
Booooze is offline   Reply With Quote
Old Jun 11th, 2006, 11:09 PM   #4
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 371
Rep Power: 4 xavier is on a distinguished road
Send a message via Yahoo to xavier
Ok, that's cool . I really like it.
The only problem i found is when i press Save or Save As - on IE or Firefox it takes forever to save. I don't know why it takes that long but ... it blocks the browser completly.
Actulay, i don't think it's saving ... because after it finaly finishes it doesn't apear in the Open File window .

I saw that IT works for other people, cause they have saved files ... i guess it's just me
__________________
Don't take life too seriously, it's not permanent !
xavier is offline   Reply With Quote
Old Jun 11th, 2006, 11:09 PM   #5
splinter9x
Hobbyist Programmer
 
splinter9x's Avatar
 
Join Date: Jun 2006
Posts: 137
Rep Power: 0 splinter9x is an unknown quantity at this point
Ya a "were not responsable for your code" thing is a good idea in case your server crashes and you loose the data...
__________________
Visit my Blog
I support WINDOWS...
splinter9x is offline   Reply With Quote
Old Jun 11th, 2006, 11:54 PM   #6
Toro
Hobbyist Programmer
 
Toro's Avatar
 
Join Date: Apr 2006
Posts: 136
Rep Power: 0 Toro is an unknown quantity at this point
Great work man! That is awesome! How do you develop this? What made you think of doing something like this?
Toro is offline   Reply With Quote
Old Jun 11th, 2006, 11:56 PM   #7
splinter9x
Hobbyist Programmer
 
splinter9x's Avatar
 
Join Date: Jun 2006
Posts: 137
Rep Power: 0 splinter9x is an unknown quantity at this point
It is pretty good. I would also like to know what made you think of this...
__________________
Visit my Blog
I support WINDOWS...
splinter9x is offline   Reply With Quote
Old Jun 12th, 2006, 12:46 AM   #8
mrynit
Hobbyist Programmer
 
mrynit's Avatar
 
Join Date: Mar 2006
Location: olympia,WA
Posts: 332
Rep Power: 3 mrynit is on a distinguished road
Send a message via AIM to mrynit Send a message via MSN to mrynit Send a message via Yahoo to mrynit Send a message via Skype™ to mrynit
post your site on www.digg.com when it gets done.
__________________
i dont know much about programming but i try to help
mrynit is offline   Reply With Quote
Old Jun 12th, 2006, 1:52 AM   #9
Mocker
Hobbyist Programmer
 
Mocker's Avatar
 
Join Date: Oct 2005
Location: Indiana
Posts: 202
Rep Power: 0 Mocker is an unknown quantity at this point
Send a message via AIM to Mocker
nice, I've wrote a somewhat simpler phpNotepad app partway through, kinda similiar to this but not as complete. Will you be adding any features/formats or tryign to keep it pretty simple?
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi
freelance scripts - http://ryanguthrie.com/index.html
Mocker is offline   Reply With Quote
Old Jun 12th, 2006, 5:00 AM   #10
hervens48
Programmer
 
Join Date: Apr 2006
Location: Montreal, Canada
Posts: 93
Rep Power: 3 hervens48 is on a distinguished road
Send a message via AIM to hervens48 Send a message via MSN to hervens48
wow, this is awsome!! seriously, awsome job
i even think u should of tried selling it. And im sure its the first
text editor on the web to!!.
hervens48 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:52 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC