Tuesday, December 25, 2007

Last preparations

Hi all,
I have spent a loit of time for these to fix some last bugs and add a few features. Moreover, I have created a few sample docs to show on my site.
Actually, the site is almost ready for testing and launching.
Maybe the release will be tomorrow...

Time spent (for these days): ~12 hours
Bye

Wednesday, December 19, 2007

Three months have passed!

Hi,

Three months have passed since I started my project. Yesterday and Today I adjust the site, test and fix a lot of bugs....

Let's calculate how many hoursand how much money I have spent ...

Hours: ~272 +/- 10
Money: $83

The last problem was some unstable email sending and I 'm doing some enhancements for user interface.
The most important news is that My site is started and I will tell you its name in nearest days...
Bye

Monday, December 17, 2007

Ugh!

Hi all,
it were very hard days because I have fixed a lot of little but ugly bugs and I have wrote a lot of texts for site and have made a lot of pages for site:
1. About
2. Service
3. How it works
4. FAQ
5. Support
6. News
7. Features
And most important I have deployed my site to the live server! Then I have fixed some bugs in web.config and pages.
I will say you the web address soon, very soon. Maybe tomorrow. Or the day after tomorrow.

Bye
Time spent (for these days): ~ 10 hours

Wednesday, December 12, 2007

Accounts and Plimus

Hi all,
I was working at payment system and account these days. As result I have Account page (see below) where user can mode to paid account.
Bye
Time spent (for these days): ~ 10 hours

Friday, December 7, 2007

Texts, texts, texts...

Hi all,
These days I was writing texts for my site (about 6 pages). Then I have translated them into English (English is not my native langiage as you can guess). The next step will be - to give the texts to professional translator for proof reading.
Now my nearest task is to integrate texts, design and layout of my site.
Then I should integrate it with Plimus payment system. After that I will need to deploy my site and test, test and test it....
Bye

Time spent (for these days): ~9 hours

Wednesday, December 5, 2007

Back count started

Hi all,
I have said on my current work that I'm going to leave them... It will we at the end of the year.
Yes, I will start my free flying. Wish me good luck!
Now I'm working at the design of my site.
It's not a difficult work but it requiers aome time anyway.

Bye

Time spent (for these days): 7 hours

Monday, December 3, 2007

Design

Hi all,
I can't believe in it! I have bought the design template for my site!
And now I'm adjusting it. Not so easy as you can think....
The template is from www.4templates.com. What template? Have patience.... =)

Bye
Time spent (for these days): ~7 hours
Money spent: $30

Friday, November 30, 2007

Some features were added and some bugs were fixed

Hi all,
for the last days I have made some work:
1. I have fixed bugs with sending of email after registration and assignment of a forgot password.
2. I have drawn the favicon for the site.
3. I have discovered some bugs that I have no time just now to fix!

And, of course, I'm continuing to study the typing by the blind method...

Bye

Time spent (for these days): ~4 hours

Wednesday, November 28, 2007

Some significant enhancements

Hi,
I have made some engancements that I hope will user to make his work easier. There are:

1. Now user can take content not only from text editor but from Internet too. That is he or she can indicate URL and content will be taken from this url.

2. User now can indicate a some label or identifier for every node. And then insert it into the link where the doc is opening from. When user click this link the given node will be opened not default one (first).

3. User can edit the title of window with docs.

4. Some refactoring have been made. Particularly, I am gradually moving from prototype library to ajax.net.

5. I have wrote some texts for site.

Tome spent (for these days): 11 hours

Friday, November 23, 2007

Security and other issues

Hi all,
Thinking about the last bug with JavaScript I unexpectedly have discovered the serious problems with security. That is I was doing last days. In addition I have wrote the license and fixed a lot of little bugs with css and appearance.
By the way that JS bug I have solved mentally too. It remained only to sit and write the code.
Moreover! I have started to practise typing in blind method.
The nearest tasks are: some enhancements in Control panel, then public web site.
Time spent (for these days): 7 hours
Bye

Wednesday, November 21, 2007

Bugs, bugs, bugs....

Hi all,
Today I have fixed some small but ugly bugs. As result I have now one new big and very nasty bug... but let's go step by step. The bugs that have been fixed:
1. Bug with guid. If I replace guid in request string by some letters the big error occured
2. When a project has many nested nodes I can't delete this project
3. Now tree I load through string in aspx file - it's a little faster (it's not bug, it's a feature :))
4. The style for tree was always default
5. The nodes has urls that doesn't work

Result: The adding and editing of nodes is broken! A-a-a-a!!!
Ugh... let's look aside and solve this problem a little later...
Bye
Time spent: 4 hours

Tuesday, November 20, 2007

Some tasks have been done

Hi all,
Yesterday and today I was fixing different bugs and adding some little but inportant features. These issues were concerned with security and interface.
Time spent (for these 2 days): 6 hours

Monday, November 19, 2007

Summing up...

Hi all,
Yesterday was 2 month as I began my work. The application has changed a lot for that time.
Okay, let's look what I spent and what expenses and profits I have.
Total time spent: 187,5 hours +/- 7
Total money spent: ~$53
Profits: $0.... but I learned much that was new and familiarize with very interesting technologies such as ajax, client's call-backs, security issues and more else.

Bye!

Security issues

Hi all,
Yesterday I have spent time to create good security barriers. Just now I can't say what the result is, but I hope something secure works well. Moreover, I was doing the projects panel to control the web doc projects: create, delete, edit accordingly the account (this issue requires additional revision).
Now the prohects panel looks like that:


The K-Meleon was added to the list of supporting browsers!
Time spent (for these days) : 8 hours
Bye

Thursday, November 15, 2007

Some work

Hi,
today I have fixed some bugs and added some features. There are:
1. The bug with adding of node - fixed
2. "IE aborted" error on ControlPanel - fixed
3. Select node in IE6 bug - fixed
4. Added 120 nodes, the speed of loading is acceptable.
5. Show or hide navigation panel accordingly settings - added
6. The bug concerned with vertical alignment of block - fixed
7. Now user can use the tags symbols "<" and ">" in node's name - added
Bye
Time spent: 2 hours

Wednesday, November 14, 2007

IE aborted and in search of good design

Hi,
yesterday I was solving the awful problem- sometimes when I worked with IE 6 (just IE 6!) the strange error occured - IE showed me the "red-cross error" with text "Internet Explorer aborted". Digging in Internet I had found the advices how to solve this problem. I had deleted all the JS scripts from the body element and it such as helped...
The rest of free time I was searching the good design. It was very hard task because there a lot of design sites in Internet but most part of them are only affiliates and they copy the content each from another. Finally I have retirned to the http://www.4templates.com/ - the site I liked most of all. I wanted to find the suit template based on CSS but I failed and I'm going to buy the simple but striking template based on HTML and tables. I think I can change it later. What template you want to know??? Have patience.... =))
Yeah, I almost forget to say about a registrator. I have created the account on http://www.plimus.com/ and they suggest to free integration theirs payment system with my site. Ok, as soon as the site is ready I will use your offer.
Bye
Time spent (for these days): 4,5 hours

Monday, November 12, 2007

Authentication ... to be continued...4... that's all!

Hi,
Finally I have done the all features of authentication. The problem with last error was that I at first forgot to set up the membership for recovery password control. And I had to pesswordRecovery= false in web.config if I wanted to use the hashed password. I tryed to use just encrypted password bit I didn't like the idea to use the open keys in web.config.
Moreover I have done the change password control.
Bye
Time spent: 4,5 hours

Sunday, November 11, 2007

Authentication... to be continue 3... and other routine

Hi,
I have spent a lot of time and strengths to make the aithentification and validation on the forms where it needs:
1. Login form (checks if the user is activated)
2. Activate form
3. Some enhancement of register page's design
4. Validating everywhere...
huh!
And the last trouble I have is .... "You must specify a non-autogenerated machine key to store passwords in the encrypted format. Either specify a different passwordFormat, or change the machineKey configuration to use a non-autogenerated decryption key."
It's because I tried to use only the encrypted password instead hashed. And what should I do now? I don't know yet.... just now I want to sleep...
Bye
Time spent: 4,5 hours

Friday, November 9, 2007

Authentication ... to be continued...2

Hi all,
I continue to do the authentication module. It turns out that it's not so simple yo provide the proper registration, login, activating etc. even if you use memberships and other tools.
No my user can register, get confirmation letter (doesn't work locally =(( ) and activate his/her account.
The nearest tasks:
1. to provide the login for the registered userd.
2. And I should restrict all the pages for unregistered users.
3. And to add the code to the every page checking if the user can see this page.

And I have bought the domain name! What? Know later...

Money spent: 9 euros
Time spent: 4,5 hours

Tuesday, November 6, 2007

Authentication ... to be continued...

Hi,
I'm continuing to deal with login and register pages. Today I have added the captcha control into my register page and I add new user to the member role. And now user should select the country and enter his/her first and last names. Now I should add the checking of inputted symbols - they should not contain "danger symbols" as <, > and so on.
Bye
Time spent: 4 hours

Monday, November 5, 2007

Authentication

Hi,
I spent these days to add the login, register and so on features into my system.
Some things from Microsoft are really puzzles. For example, I want user in my system can input passwords without non-numeric symbols. And membership provider has the special attribute for it: minRequiredNonalphanumericCharacters. MSDN says: minRequiredNonAlphanumericCharacters, but it can't be recognized! Why??? The answer is very simple: because you should write minRequiredNonalphanumericCharacters, not minRequiredNonAlphanumericCharacters. Feel the difference?

There a lot of work: register, login, login failure, activate, activation failure and so on.
Bye
Time spent: 4 hours

Saturday, November 3, 2007

Tabs

Hi all,After some torments I have finally the fine-looking tabs (and cross-brower). These browsers can drive mad! I had to write the special code to change css if browser is IE (I have not just right IE6, I know it works for IE7):
if (window.navigator.appName.indexOf('Microsoft') > -1)
{ var navNodes = dojo.byId('nav').childNodes;
for (var i = 0; i < tagname ="="" paddingtop = "4px">
var navNodesCP = dojo.byId('navCP').childNodes;
for (var i = 0; i < tagname ="="" paddingtop = "4px">
}

I suspect strongly that cause is using of Dojo (because the browsers changes are only on a page where Dojo is used) but it can't be helped.Now the tabs look like:
Oh, my God! Tis blog engine is so glitched! After I have moved the text block before the picture all the styles disappear!
Bye
Time spent: 5 hours

Thursday, November 1, 2007

Personal section with tabs

Hi,
Yesterday I began to do the personal section where user can navigate using tabs:

Moreover I have fixed some bugs and added a few little features.
Bye
Time spent: 4,5 hours

Wednesday, October 31, 2007

Control panel is done. New editor

Hi,
I have done the control panel (almost). A few features are remaining to be fixed and added:
1. Add spellchecker
2. Check how the print works
3. Change the default text style for editor
4. If no node is selected the Save button should not worked.
5. The Refresh node button
The last screenshot:


Bye
Time spent: 2,5 hours

Tuesday, October 30, 2007

To be continued...

Hi,
All the last bugs were fixed, hurrah!!!
There were:
1. DropDown and ContextMenu in Safari (thanks to Jack Hermanto)
2. Scrolling plus wrong appearance of edit text box (when you try to edit or add some node)

Time spent: 1,5 hours

Illness and troubles

Hi all,
these days I'm ill (bad pain in my throat and snivel) but I'm trying to work anyway.
The main task was to make over the control panel to it works in Safari. But there I confronted with sudden trouble - it turns out that NlsTree has bug and it can't have drop&down feature and context menu simeltaneously. I have spent about 3 hours to understand what's the problem and then I wrote to AddObjects and asked them to fix this bug. Today I have fix from Jack!
The one more problem is concerned with tree's size. It turns out that the tree sizes don't change and cause the useless scroll bar:



I think the solution is using the dojo panel just for tree.

Time spent (for these days): 6 hours

Friday, October 26, 2007

A few features more

Hi all,
Today I have done a few simple but important things:
1. Fixed some bugs with styles
2. Back and Forward buttons
3. After doc opening the first node content is shown.
There is a new screenshot:Bye,
Time spent: 2,5 hours

Thursday, October 25, 2007

A few bugs are fixed

Hi all,
I have fixed a few bugs:
1. Title - now the window has title that is project's name
2. MoveTo in IE... I just catch the exception because it seems to me there is security problem that can not be solved.
3. I excluded yje link to the prototype,js file adding my own XMLHttpRequest request in my code. Maybe it's not very nice solution but just now I jave no time to write code of dynamic loading of scripts.
4. Bug with scrolling was fixed
Bye

Time spent: 2,5 hours

Wednesday, October 24, 2007

A lot of problem was solved but a bulk of them remains...

Hi all,
These day I have spent enormous amount of time trying to avoid of using of frame. But I failed. Because in that case I should to create all the elements dynamically that can be very difficulty and unreliable.
The last prolems solved:
1. Opening and clisong window
2. Cross browsernity
3. Different bugs
I have these troubles now:
1. MoveTo doesn't work in IE
2. I sjould avoid using link to prototypr.js in user's code.
3. Window's title should be name of the project.
4. Bug with scrolling on Safari

That's what my doc frame look like to:

Bye,
Time spent: (24 hours)

Sunday, October 21, 2007

Split panels - yes!

Hi all,
I had very difficult work but very interesting experimenting with Dojo's split panels (http://www.dojotoolkit.org/). At first I had problems because panels didn't want to be splitted and locally without getting data from Internet. Then then didn't wanted to have 100% height. To solve this problem I take the example page from dojo's site, delete all the unnecessary content and insert the residual code into my page. Finally I got the perfect working page!!! With splitters and 100%- height and width!
I have done the following thinhs for these days:
1. Generation of code
2. Opening the doc as separate window, current window and as block.
3. Button for closing the doc
4. Splitted panels working well
5. Compatibility with IE6, IE7, Opera, FireFox and Safari! And (maybe with K-meleon and Netscape)

The nearest task are:
1. To load tree and content into splitted panels
2. Showing the content correspondingly the clicked link in the tree
3. Navigation - "back" and "forward" buttons
4. Printing the current content page
5. To get rid of the using of IFrame

Bye
Time spent (for these days): 7 hours

Friday, October 19, 2007

Links and windows

Hi all,
tha last deals were creating of new links and appropriate windows that will occured on the user'd screen.
The main troubles now are:
1. Dragging of doc when it's block
2. Very slow loading of content! It's really awful and disturbing.
As soon as I do the dragging I will show screenshots...
Bye
Time spent (these days): 11 hours

Monday, October 15, 2007

Generating links

Hi all,
I had no time to do this work for a few days... It's a pity, but now I'm commisioned now. And now my task is to generate links devending of view properties of showing doc. For example, if some doc should be shoved in a separate window with 2 frames, we should get the one code, if this doc is showing as a block on a page - another one.
Yesterday I had spent about 1,5 hours to find some library that allows me to show contents as splitted blocks and one free library is Dojo. I have spent about 1,5 hours more to provide the appropriate code.
Time spent (for these days): 6 hours

Thursday, October 11, 2007

Saving the view parameters

Hi all,
Finally I made the form save data into database. Now user can set up the display parameters on the future doc: how many frames does it have and how will be it displayes and more.
Time spent: 0,5 hours

Tuesday, October 9, 2007

General settings again

Hi all,
Two last days I spent to the general settings. And I can't say that all the things work well yet...
Moreover 2 troubles arrived:
1. It turns out that Control Panel is ugly in IE6. I think I will work over the panel.
2. I have the potential problem with non-english symbols. I don't know if this problem is on live server...
Time spent (for 2 days): 5,5 hours

Monday, October 8, 2007

General settings page

Hi,
Today I have added the generak settings page. But I have not develope the code to provide an access to the database, only the layout:

Time spent: 2 hours

Sunday, October 7, 2007

Appearance v.1 is done!

Hi all!
Today I have done the first version of my appearance settings page. Now an user can set up not only fonts and color but icons too. Just now you can change icons for root node, normal, selected normal and normal and selected parent ones. You can select from predefined list or input web-address and preview it just now!
Time spent: 5 hours
Bye!

Saturday, October 6, 2007

For 2 days

Yesterday I had no strength to write diary so I do that today. That's what I have done for this time:
1. Fixed bugs with saving of styles
2. Now an user can set up the appearance of tree fully! See image:



3. Separate the appearance page into 2 tabs - Appearance and icons:
4.Created a new table for icon settings, saved data into database (although this process is with bugs that I will fix tomorrow).
Bye
Time spent (yesterday): 4 hours
Time spent (today): 6,5 hours

Thursday, October 4, 2007

Saving data and colors block

Hi,
today I have took about 4 hours to provide optimal saving data to the server from Appearance page. I had to save values of 60 controls! I'm interested, how fast it will work on remote server...
More, I have added the color block to the page. To be true, for one button only. It looks nice, especially in Safari:


Bye!
Time spent: 6 hours

Wednesday, October 3, 2007

Styles settings page

Hi,
today I have done the new page - styles settings where user can set up all the settings how he wants the tree to look. I have just made settings for node itself without icons. Here is the page looks:

Not too much and not to nise, I agree... but it's only sketch actually.
Of course, I have developed data changes with database in asyncronous mode.
One more trouble appears: my control page doesn't work in Safari! I should fix it later.
Time spent: 6 hours
Bye

Tuesday, October 2, 2007

Really hard day...

Hi all
It was really hard day - because I tryed to use tinyMCE and I had big problems with data. I think it was because I used tynyMCE and prototype library together and they as it turned out, are not good friends. It first I had problems with viewing of toolbar. It looks well in IE7 and Opera but bad in FF. Then I had problems with getting data - something was wrong, to be true, I didn't what exactly. Then the troubles began with saving data. In short, after 5 (!) hours of fighting I decided to return to the first variant.
After that, I have fixed the big bug with moving of nodes.
And I began to make the interface for styles settings. I have created table, file of handler and interface file. Moreover, I have made some refactoring of code (and then fixed its consequences).
Time spent: 8,5 hours

Monday, October 1, 2007

Routine

I have done some tasks:
1. Move up, move down
.... that's all...
Good luck
Time spent: 1,5 hours

Sunday, September 30, 2007

A few tasks have been solved

Hi,
today I have solved a few tasks:
1. Deep copy... hmmm it turns out more complicated than expected. I decided to solve this tasks later. Now I did only surface coping.
2. Some bugs were fixed. For example the numerating of nodes in parent node was wrong.
3. Finally I have fixed drop-down!
The tasks for tomorrow:
1. Do Move up and Move down
2. Insert before and insert after

Time spent: 4 hours.

Saturday, September 29, 2007

Ugh!

A lot of work has been executed today. Here is a little list:
1.The "Expand all" button - implementation
2.The "Refresh node" button - implementation
3. Menu Add node
4. Edit node
5. Delete node
6. Cut node to clipboard
7. Insert as child
Of course, all the implementations were related with both sides: client and server.
Now my window with menu looks like:

My nearest task is to omplement the deep copy.
Bye!

Thursday, September 27, 2007

Ajax problems & solutions

Big whoooops!!
It turned out that problem with prototype was not client's but server's. Server refuged to get data because it thought that they were dangerous.
Solution: ValidateRequest="false" on the page
But then was another bigger trouble - how to fill iframe by data from database? There were a few ways:
1. Load from page when ifram page is loading (through iframe's attributes or Javascript's var) - this way is very unreliable and doesn't work in most cases).
2. Load as XML from page and parse into DOM then. Alas! The content of iframe can have absolutely any structure so the using of XML is impossible.
3! Load using XMLHttpRequest into iframe directly immediately after loading of the page:

function GetData()
{
var url = 'NodeContentProcess.aspx';
var params = {nodeId:nodeId, action:'getxmlcontent'};
var request = new Ajax.Request(
url,
{
encoding: 'UTF-8',
method: 'post',
contentType: 'application/x-www-form-urlencoded',
parameters: params,
onSuccess: GetSuccess
});
}
function GetSuccess(request)
{
var xmlDoc = request.responseText;
if ($(editFrame).contentDocument)
$(editFrame).contentDocument.body.innerHTML = xmlDoc;
else
$(editFrame).contentWindow.document.body.innerHTML = xmlDoc;
}


This way is fast and elegant but has one significant defect - it requires one more request to the server. The solution I think is very simple: I will not load a separate page into iframe but have only div with iframe and load data into it after a clik on node.
TODO: I will do that later, really.

Time spent: 6 hours

Editor was added

Hi all,
today I have added the editor to my page and now when you click some node the information is loaded from database into editor. Then you click Save to save changes.
I was using the Prototype library for Javascript. Almost all the things were well but one... I can't send data from form if the text is formatted. For example, if I have AAA text, then I make it bold and use the escape function and have A%3CSTRONG%3EA%3C/STRONG%3EA. That's all, data is going to infinity not to the base. That's some mistery! Now I want to sleep maybe someone can help me tomorrow...
The screen today:

Bye !
Time spent: 6 hours

Wednesday, September 26, 2007

First tree built from database

Hi all,
what's a cool day!
I have done many useful things:
1. Created project for data layer
2. Created project for business layer
3. Loaded data from database, built the XML file, loaded tree with the data from this file!
The most important thing you should keep in your mind while creating the tree (using the AddObjects tree) is you should set attribute "exp" = "true" for the root node otherwise the tree is not expanded at all.
Not very nice but very smart page:


Time spent: 6 hours

Tuesday, September 25, 2007

Hard weekend

Hi all,
I have very loaded and hard weekends... loaded by vodka, beer etc. I had awful feelings after. And of cource, I didn't work. But today I have 2 hours to create the new prototype of the Control panel. Now ot looks a little better. But it has only 4 tabs: Content, Styles, Images, Settings and 2 buttons (Expand all and Refresh and these buttons are related to Content tab only). Too little to show, really.
Bye
Time spent: 2 hours

Friday, September 21, 2007

It was hard day...

Hi all,
it was very hard day and I had no time to work at my project. I have only read the documentation to AddObject's tree. It's interesting, really!
Good night... :-0

Thursday, September 20, 2007

First purchase

Hi all,
today I have bought... tree for my page. It took about 1,5 hours to understand that I can't use the asp.net tree and find the proper control in Internet.
I have looked through dozen different trees and the best impression I took from AddObjects.
Theirs tree contains all the features I need.
Let's see what will turn out.
Time spent: 2 hours
Money spent: $39.95

Wednesday, September 19, 2007

First page - Editor

Hi all again!


I have created a first page. The left part is for the tree of objects, right one is for content.


Now the page is very ugly, yes... but it's only beginning.
Time spent: 1,5 hours.



Welcome

Hello all,
I'm starting my everyday's diary where I will tell you about the development of my new project.
It's web-based project, created with using of ASP.NET (C#), Ajax, JavaScript, some ORM technology.
Let's go!