-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed captcha tests and bugs. Fixed 'find' to detect count (:first/:a…
…ll) from query.
- Loading branch information
Showing
9 changed files
with
61 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
module Zena | ||
module Status | ||
Red = 70 | ||
# Redaction (initial state of an element) | ||
Red = 70 | ||
# Proposed along with another node (images/documents in the node) | ||
PropWith = 65 | ||
Prop = 60 | ||
Pub = 50 | ||
Rep = 20 | ||
Rem = 10 | ||
Del = 0 | ||
# Proposed for publication | ||
Prop = 60 | ||
# Published | ||
Pub = 50 | ||
# Replaced (a new publication takes over) | ||
Rep = 20 | ||
# Removed (unpublished by hand) | ||
Rem = 10 | ||
# Deleted (not used) | ||
Del = 0 | ||
|
||
def self.[](key) | ||
self.const_get(key.to_s.camelize) | ||
end | ||
end # Status | ||
end # Zena |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters