angular-mojolicious.git
13 years agoCouchDB proxy for _design _view
Dobrica Pavlinusic [Mon, 15 Nov 2010 16:17:40 +0000 (17:17 +0100)]
CouchDB proxy for _design _view

13 years agoadded instructions to put view using curl
Dobrica Pavlinusic [Thu, 11 Nov 2010 22:03:57 +0000 (23:03 +0100)]
added instructions to put view using curl

13 years agoremove _rev so we can load view in empty database
Dobrica Pavlinusic [Thu, 11 Nov 2010 22:03:38 +0000 (23:03 +0100)]
remove _rev so we can load view in empty database

13 years agoreplace Symposium $resource with $xhr CouchDB view
Dobrica Pavlinusic [Thu, 11 Nov 2010 21:14:20 +0000 (22:14 +0100)]
replace Symposium $resource with $xhr CouchDB view

13 years agoadded CouchDB views used
Dobrica Pavlinusic [Thu, 11 Nov 2010 20:19:22 +0000 (21:19 +0100)]
added CouchDB views used

13 years agomake title first editable stuff in file
Dobrica Pavlinusic [Thu, 11 Nov 2010 18:23:10 +0000 (19:23 +0100)]
make title first editable stuff in file

13 years agosplit controller and rename it
Dobrica Pavlinusic [Thu, 11 Nov 2010 18:22:51 +0000 (19:22 +0100)]
split controller and rename it

13 years agomove symposiums list
Dobrica Pavlinusic [Thu, 11 Nov 2010 18:19:39 +0000 (19:19 +0100)]
move symposiums list

13 years agosplit javascript out in separate file
Dobrica Pavlinusic [Thu, 11 Nov 2010 17:45:24 +0000 (18:45 +0100)]
split javascript out in separate file

13 years agomove static application under /app/
Dobrica Pavlinusic [Thu, 11 Nov 2010 17:44:44 +0000 (18:44 +0100)]
move static application under /app/

13 years agoMerge branch 'master' into app
Dobrica Pavlinusic [Thu, 11 Nov 2010 17:02:45 +0000 (18:02 +0100)]
Merge branch 'master' into app

13 years agohide submitted registration checkbox
Dobrica Pavlinusic [Thu, 11 Nov 2010 17:02:10 +0000 (18:02 +0100)]
hide submitted registration checkbox

13 years agoupdated to angular 0.9.3
Dobrica Pavlinusic [Thu, 11 Nov 2010 16:52:40 +0000 (17:52 +0100)]
updated to angular 0.9.3

13 years agodisplay symposiums from CouchDB query
Dobrica Pavlinusic [Wed, 10 Nov 2010 23:38:33 +0000 (00:38 +0100)]
display symposiums from CouchDB query

13 years agohide fields after submission, messages instead
Marijana Glavica [Wed, 10 Nov 2010 03:24:04 +0000 (04:24 +0100)]
hide fields after submission, messages instead

13 years agomore changes but working
Marijana Glavica [Wed, 10 Nov 2010 00:23:32 +0000 (01:23 +0100)]
more changes but working

13 years agosymposium participant need to enter title of the symposium
Marijana Glavica [Tue, 9 Nov 2010 20:46:52 +0000 (21:46 +0100)]
symposium participant need to enter title of the symposium

13 years agomore changes after testing
Marijana Glavica [Tue, 9 Nov 2010 20:20:35 +0000 (21:20 +0100)]
more changes after testing

13 years agosplit out replication into own tool
Dobrica Pavlinusic [Tue, 9 Nov 2010 16:51:08 +0000 (17:51 +0100)]
split out replication into own tool

This change also involves using angular REST API for replication
as opposed to hitting CouchDB directly so it's more general

13 years agofix map for /data/database entities
Dobrica Pavlinusic [Tue, 9 Nov 2010 16:50:43 +0000 (17:50 +0100)]
fix map for /data/database entities

13 years agowarn on PUT error
Dobrica Pavlinusic [Tue, 9 Nov 2010 16:21:14 +0000 (17:21 +0100)]
warn on PUT error

Mojolicious doesn't really like when we die inside put callback

13 years agoremove _replicate
Dobrica Pavlinusic [Tue, 9 Nov 2010 16:08:22 +0000 (17:08 +0100)]
remove _replicate

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Tue, 9 Nov 2010 14:10:58 +0000 (15:10 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Tue, 9 Nov 2010 14:10:23 +0000 (15:10 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agofix IE errors with extra , at end of structures
Dobrica Pavlinusic [Tue, 9 Nov 2010 14:10:18 +0000 (15:10 +0100)]
fix IE errors with extra , at end of structures

13 years agochanges after first testing
Marijana Glavica [Tue, 9 Nov 2010 14:09:11 +0000 (15:09 +0100)]
changes after first testing

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Tue, 9 Nov 2010 13:47:57 +0000 (14:47 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agofirst test with users
Marijana Glavica [Tue, 9 Nov 2010 02:09:23 +0000 (03:09 +0100)]
first test with users

13 years agoput contact information first, then type
Dobrica Pavlinusic [Mon, 8 Nov 2010 23:48:56 +0000 (00:48 +0100)]
put contact information first, then type

this is a work-around for ng:required bug I'm hitting with radio buttons

13 years agofinishing second refactore of page flow
Dobrica Pavlinusic [Mon, 8 Nov 2010 23:41:27 +0000 (00:41 +0100)]
finishing second refactore of page flow

13 years agocleanup ng:show logic
Dobrica Pavlinusic [Mon, 8 Nov 2010 23:17:23 +0000 (00:17 +0100)]
cleanup ng:show logic

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Mon, 8 Nov 2010 22:15:02 +0000 (23:15 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agoalmost there
Marijana Glavica [Mon, 8 Nov 2010 22:14:27 +0000 (23:14 +0100)]
almost there

13 years agocleanup reset code
Dobrica Pavlinusic [Mon, 8 Nov 2010 22:12:56 +0000 (23:12 +0100)]
cleanup reset code

this allows us to use same code to provide reset button regardless of
type of work submitted

13 years agoadded max_length validator for summary fields
Dobrica Pavlinusic [Mon, 8 Nov 2010 19:34:35 +0000 (20:34 +0100)]
added max_length validator for summary fields

13 years agohttp://angularjs.org/Validator
Dobrica Pavlinusic [Mon, 8 Nov 2010 18:39:44 +0000 (19:39 +0100)]
http://angularjs.org/Validator

13 years agofix update in CouchDB by passing _rev around
Dobrica Pavlinusic [Mon, 8 Nov 2010 18:26:57 +0000 (19:26 +0100)]
fix update in CouchDB by passing _rev around

13 years agoMerge branch 'master' into drzb2011.3 drzb2011.3
Dobrica Pavlinusic [Mon, 8 Nov 2010 17:54:00 +0000 (18:54 +0100)]
Merge branch 'master' into drzb2011.3

13 years agofix replication and document it
Dobrica Pavlinusic [Mon, 8 Nov 2010 17:51:30 +0000 (18:51 +0100)]
fix replication and document it

13 years agoalmost working
Marijana Glavica [Mon, 8 Nov 2010 17:28:50 +0000 (18:28 +0100)]
almost working

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Mon, 8 Nov 2010 12:06:51 +0000 (13:06 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agodesign
Marijana Glavica [Mon, 8 Nov 2010 10:56:36 +0000 (11:56 +0100)]
design

13 years agohttp://wiki.apache.org/couchdb/HTTP_view_API
Dobrica Pavlinusic [Sun, 7 Nov 2010 22:34:45 +0000 (23:34 +0100)]
http://wiki.apache.org/couchdb/HTTP_view_API

13 years agodocument $resource get, query and $save support
Dobrica Pavlinusic [Sun, 7 Nov 2010 22:21:54 +0000 (23:21 +0100)]
document $resource get, query and $save support

13 years agosimple Symposium CRUD
Dobrica Pavlinusic [Sun, 7 Nov 2010 22:14:05 +0000 (23:14 +0100)]
simple Symposium CRUD

13 years ago/data/:database/:entity using CouchDB _all_docs
Dobrica Pavlinusic [Sun, 7 Nov 2010 21:58:50 +0000 (22:58 +0100)]
/data/:database/:entity using CouchDB _all_docs

13 years agoAngular /data/database REST API using CouchDB view
Dobrica Pavlinusic [Sun, 7 Nov 2010 21:42:59 +0000 (22:42 +0100)]
Angular /data/database REST API using CouchDB view

13 years agoadded $id to symposium.works
Dobrica Pavlinusic [Sun, 7 Nov 2010 21:23:38 +0000 (22:23 +0100)]
added $id to symposium.works

13 years agofix symposium
Dobrica Pavlinusic [Sun, 7 Nov 2010 21:12:23 +0000 (22:12 +0100)]
fix symposium

13 years agoregistration.symposium.organizers
Dobrica Pavlinusic [Sun, 7 Nov 2010 21:03:48 +0000 (22:03 +0100)]
registration.symposium.organizers

13 years agofix symposium $resource
Dobrica Pavlinusic [Sun, 7 Nov 2010 20:55:08 +0000 (21:55 +0100)]
fix symposium $resource

13 years agoregistration.person is preserved on next symposium
Dobrica Pavlinusic [Sun, 7 Nov 2010 20:49:21 +0000 (21:49 +0100)]
registration.person is preserved on next symposium

13 years agohides rest of form for registration.type=''
Dobrica Pavlinusic [Sun, 7 Nov 2010 20:33:39 +0000 (21:33 +0100)]
hides rest of form for registration.type=''

13 years agofirst cut as slightly modified registration form
Dobrica Pavlinusic [Sun, 7 Nov 2010 20:16:10 +0000 (21:16 +0100)]
first cut as slightly modified registration form

Idea is to first ask for user data, and then offer to submit work or be
part of conference

13 years agoadded ng:validate="email"
Dobrica Pavlinusic [Sun, 7 Nov 2010 17:37:38 +0000 (18:37 +0100)]
added ng:validate="email"

13 years agomake current work bold in list using ng:show
Dobrica Pavlinusic [Sun, 7 Nov 2010 17:22:30 +0000 (18:22 +0100)]
make current work bold in list using ng:show

13 years agodata is now in CouchDB
Dobrica Pavlinusic [Sun, 7 Nov 2010 17:07:49 +0000 (18:07 +0100)]
data is now in CouchDB

13 years agodon't use _id in server anymore, just $id
Dobrica Pavlinusic [Sun, 7 Nov 2010 16:11:02 +0000 (17:11 +0100)]
don't use _id in server anymore, just $id

13 years agocleanup $id usage and leave _id for CouchDB
Dobrica Pavlinusic [Sun, 7 Nov 2010 16:00:58 +0000 (17:00 +0100)]
cleanup $id usage and leave _id for CouchDB

This also makes this implementation more similar to hosting service

13 years agoupdate upstream angular
Dobrica Pavlinusic [Sun, 7 Nov 2010 15:21:37 +0000 (16:21 +0100)]
update upstream angular

13 years agoremove in-memory data store and use CouchDB only
Dobrica Pavlinusic [Sun, 7 Nov 2010 15:20:06 +0000 (16:20 +0100)]
remove in-memory data store and use CouchDB only

13 years agoimplement _couchdb_get to get stored entries back
Dobrica Pavlinusic [Sun, 7 Nov 2010 14:45:12 +0000 (15:45 +0100)]
implement _couchdb_get to get stored entries back

This change allows (for the first time) server restart without data
loss since all records are stored in CouchDB

13 years agostore entities in couchdb
Dobrica Pavlinusic [Sun, 7 Nov 2010 12:55:16 +0000 (13:55 +0100)]
store entities in couchdb

13 years agofix first save
Dobrica Pavlinusic [Sun, 7 Nov 2010 08:58:56 +0000 (09:58 +0100)]
fix first save

we need to copy data into last_saved_work after we modify symposium

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Sat, 6 Nov 2010 22:58:54 +0000 (23:58 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agofix spelling
Dobrica Pavlinusic [Sat, 6 Nov 2010 17:02:37 +0000 (18:02 +0100)]
fix spelling

13 years agodocument working examples and limitations
Dobrica Pavlinusic [Sat, 6 Nov 2010 17:00:17 +0000 (18:00 +0100)]
document working examples and limitations

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Sat, 6 Nov 2010 16:45:11 +0000 (17:45 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agouse last_saved_work object to detect dirty form
Dobrica Pavlinusic [Sat, 6 Nov 2010 16:43:36 +0000 (17:43 +0100)]
use last_saved_work object to detect dirty form

this approach is used in AdvancedForm cookbook example

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Fri, 5 Nov 2010 22:56:51 +0000 (23:56 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agocleanup code and remove unsused table layout
Dobrica Pavlinusic [Fri, 5 Nov 2010 22:56:26 +0000 (23:56 +0100)]
cleanup code and remove unsused table layout

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Fri, 5 Nov 2010 22:44:38 +0000 (23:44 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

Conflicts:
templates/conference/Work.html.ep

13 years agofinish translation
Dobrica Pavlinusic [Fri, 5 Nov 2010 22:43:17 +0000 (23:43 +0100)]
finish translation

13 years agotranslate example app back into english
Dobrica Pavlinusic [Fri, 5 Nov 2010 22:40:23 +0000 (23:40 +0100)]
translate example app back into english

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Fri, 5 Nov 2010 22:28:55 +0000 (23:28 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agoMerge branch 'symposium-resource'
Dobrica Pavlinusic [Fri, 5 Nov 2010 16:55:46 +0000 (17:55 +0100)]
Merge branch 'symposium-resource'

This enables saving of symposium with all works as separate resource.

However, this introduce additional REST requirest on each save.
Alternative implementation might be server side or implemented as
quiery if overhad is prohibitive (single symposium many many works
will create huge request since all works data is duplicated in symposium)

13 years agofirst work doesn't have symposium._id, but we used same _id symposium-resource
Dobrica Pavlinusic [Fri, 5 Nov 2010 16:54:32 +0000 (17:54 +0100)]
first work doesn't have symposium._id, but we used same _id

13 years agoreload symposium using _id stored in work
Dobrica Pavlinusic [Fri, 5 Nov 2010 16:16:40 +0000 (17:16 +0100)]
reload symposium using _id stored in work

13 years agofix record reload from hashPath
Dobrica Pavlinusic [Fri, 5 Nov 2010 16:14:37 +0000 (17:14 +0100)]
fix record reload from hashPath

It seems it's still a bit tricky on my brain :-) I don't need to reset
it manually because reset is called on every page load, and removes
work._id

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Fri, 5 Nov 2010 12:14:23 +0000 (13:14 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agoMerge branch 'master' of github.com:dpavlin/angular-mojolicious
Dobrica Pavlinusic [Fri, 5 Nov 2010 10:39:11 +0000 (11:39 +0100)]
Merge branch 'master' of github.com:dpavlin/angular-mojolicious

13 years agoexperiment to serialize whole symposium as resource
Dobrica Pavlinusic [Fri, 5 Nov 2010 00:14:38 +0000 (01:14 +0100)]
experiment to serialize whole symposium as resource

This work well, but doesn't update until save (which is nice indicator
that you didn't press save button), but currently doesn't have code
(or data in work) to correctly load full symposium data

13 years agomake labels for radio buttons
Dobrica Pavlinusic [Thu, 4 Nov 2010 22:19:47 +0000 (23:19 +0100)]
make labels for radio buttons

this makes it easier to click on mobile devices

13 years agostore changes inside work
Dobrica Pavlinusic [Thu, 4 Nov 2010 17:31:18 +0000 (18:31 +0100)]
store changes inside work

so it persists on server

13 years agocount changes in for using ng:eval
Dobrica Pavlinusic [Thu, 4 Nov 2010 17:22:15 +0000 (18:22 +0100)]
count changes in for using ng:eval

and use that to show/hide save button and provide useful title

13 years agocount number of works within symposium
Dobrica Pavlinusic [Thu, 4 Nov 2010 15:40:45 +0000 (16:40 +0100)]
count number of works within symposium

13 years agoupdate subprojects
Dobrica Pavlinusic [Thu, 4 Nov 2010 15:22:59 +0000 (16:22 +0100)]
update subprojects

13 years agoprefill all fields with invalid empty values
Dobrica Pavlinusic [Wed, 3 Nov 2010 22:26:59 +0000 (23:26 +0100)]
prefill all fields with invalid empty values

this will reset form correctly

13 years agohide also reset button
Dobrica Pavlinusic [Wed, 3 Nov 2010 22:22:19 +0000 (23:22 +0100)]
hide also reset button

13 years agomock console.debug
Dobrica Pavlinusic [Wed, 3 Nov 2010 22:19:15 +0000 (23:19 +0100)]
mock console.debug

13 years agoshow number of required fields instead of save button
Dobrica Pavlinusic [Wed, 3 Nov 2010 22:15:25 +0000 (23:15 +0100)]
show number of required fields instead of save button

13 years agoshow reset button only for saved work
Dobrica Pavlinusic [Tue, 2 Nov 2010 22:48:47 +0000 (23:48 +0100)]
show reset button only for saved work

13 years agometa charset utf-8
Dobrica Pavlinusic [Tue, 2 Nov 2010 22:24:33 +0000 (23:24 +0100)]
meta charset utf-8

13 years agochanged design back into single controller page
Dobrica Pavlinusic [Tue, 2 Nov 2010 22:06:59 +0000 (23:06 +0100)]
changed design back into single controller page

13 years agoadd Symposium
Dobrica Pavlinusic [Tue, 2 Nov 2010 18:43:47 +0000 (19:43 +0100)]
add Symposium

13 years agoadded Symposium selection to Work submit page
Dobrica Pavlinusic [Tue, 2 Nov 2010 18:41:18 +0000 (19:41 +0100)]
added Symposium selection to Work submit page

13 years agomove controllers and add Symposium entity
Dobrica Pavlinusic [Tue, 2 Nov 2010 17:58:20 +0000 (18:58 +0100)]
move controllers and add Symposium entity

13 years agoextract Work controller
Dobrica Pavlinusic [Tue, 2 Nov 2010 17:35:57 +0000 (18:35 +0100)]
extract Work controller

13 years agoinclude Mojolicious as submodule
Dobrica Pavlinusic [Tue, 2 Nov 2010 16:47:29 +0000 (17:47 +0100)]
include Mojolicious as submodule

13 years agohashPath now tracks work._id
Dobrica Pavlinusic [Tue, 2 Nov 2010 16:11:24 +0000 (17:11 +0100)]
hashPath now tracks work._id