wenbert / clientarea Goto Github PK
View Code? Open in Web Editor NEWClient Area
Client Area
Create a model to store unread/read message ids...
add CSS
Wrong counting for Read Messages, New Replies
This is good so that users can discuss around the files.
Curved Boxes!!! Curved corners!!!
Show Unread/Read for Messages and Replies..
Bug: if walay message, then naa new reply, dili mo-display ang reply?
when an admin renames a groupname, the folder name created is updated.
catch update signal for group model and rename the folder.
Admin and current user will be able to edit forms...
Link Categories to Group so that all categories will be under a group.
Group A Category 1 A sample post Another sample post Group B Category 2 Yet another post Yet another sample post
This is disabled for now. Will have to confirm if Python creates a zipfile in the memory. The ideal thing would be to create a temp zip file and pass the "path" of that zip through x-sendfile.
Create a .lock file when a user edits a description.
Log edit in the database: username, date and time.
For files: if we have a file named "myawesomefile.txt" your corresponding README
file for it will be "myawesomefile.txt.README". Since this is a little tedious,
I will probably implement one single "READMEFILES" containing all the
description and filename in the current directory. I am looking at using a YAML
file for this.
If group directory is not set, then create it.
best way to handle this?
ajax on click in the form view message form? (my vote)
static form? (too much work)
have a checkbox so that when a user posts something, the user can notify other members of the group through email.
save the "checked" users in the database... they will be notified everytime when someone replies to the message...
the poster can remove/add users for the "subscriber" list. OR the current member can remove/add himself from the list.
add admin for userlogin
If user is not member of message, it will display an error...
Basin g-allow gihapon ang user ug view sa By_Category even if wala cya na subscribe sa message. --> Do not show sa by_category na list if wala na subscribe...
Exception Type: UnboundLocalError
Exception Value:
local variable 'readme_for_current_dir' referenced before assignment
Exception Location: /home/client/application/home/views.py in browse_files, line 164
Python Executable: /usr/bin/python
When updating a message, a new record is inserted instead of updating
should we have ajax for comments? no need to reload everything.
Sorting of Items by click on the header
Upload files...
users will be able to upload files when posting a message.
the user has an option on where to save the file.
allow multiple files. try to use uploadify...
message/views.py
near:
"""
Get all users in the group an save to Unread model
"""
this line:
marked_read_on = datetime.now().replace(microsecond=0).isoformat(' '),
should not be there. make a condition that if it is the current user, set the "marked_read_on"...
FIX def forbidden(request) in home/views.py
it is used in:
@permission_required('home.add_desclogs',login_url='/home/forbidden')
and in browse_files.html
} else if (data.status=="forbidden") { alert('You are not permitted to do this action');
fancy and useful.
add a "Add User to Discussion" feature...
Message board style.
auto create profile when creating a user...
when adding a new user, the new user will not have new messages. this is because the user does not have entries in "Unread" model.
Big problem: do we need to add to "Unread" model everytime we add a user? If we do this, we will have to put "ALL" the posts, etc. to the model.
Possible solution: ????
add admin for log (for monitoring downloads / clicked links)
monitor downloads
monitor client downloads and login time, etc.
For now all comments will be unread except for the submitter/poster.
Need to have a "mark as read" button for comments.
cannot use "-" in group name
this is probably due to the urls.py for the "browse_files"
error404 when there is no User Profile for a user.
Example:
http://localhost:8080/profiles/wenbert
Page not found (404)
Post message.
Have categories.
monitor login.
include login attempts!
Redirect to "/message/view/1" after posting...
create a def to display the message.
when the user is: is_client = 1
Hide all messages for client -- i'm talking about the dashboard.
Hide "Post message in this group" link at the browse files.
Show error if client tries to view the post message form...
IMPORTANT:
*make sure to put a "red marker" that says "CLIENT" beside all client usernames.
*do not add client to "employee groups"...
Use BB tags in message body...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.