Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cs_comments_service
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
cs_comments_service
Commits
ea324f71
Commit
ea324f71
authored
Dec 02, 2012
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flagging done except returning abuse flaggers
parent
fc127ddf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
14 deletions
+14
-14
.redcar/lucene/segments.gen
+0
-0
.redcar/lucene_last_updated
+1
-1
.redcar/redcar.lock
+0
-1
.redcar/storage/cursor_saver.yaml
+8
-0
.redcar/storage/project_loader.yaml
+2
-1
.redcar/storage/sessions.yaml
+1
-1
.redcar/tags
+0
-0
api/flags.rb
+2
-10
No files found.
.redcar/lucene/segments.gen
View file @
ea324f71
No preview for this file type
.redcar/lucene_last_updated
View file @
ea324f71
13544
62766
13544
76788
.redcar/redcar.lock
deleted
100644 → 0
View file @
fc127ddf
20566: Locked by 20566 at Sun Dec 02 07:30:57 -0500 2012
.redcar/storage/cursor_saver.yaml
View file @
ea324f71
...
@@ -15,4 +15,12 @@ cursor_positions:
...
@@ -15,4 +15,12 @@ cursor_positions:
-
:path
:
models/comment_thread.rb
-
:path
:
models/comment_thread.rb
:cursor_offset
:
6463
:cursor_offset
:
6463
:timestamp
:
2012-12-02 08:32:40 -05:00
:timestamp
:
2012-12-02 08:32:40 -05:00
-
:path
:
api/flags.rb
:cursor_offset
:
191
:timestamp
:
2012-12-02 13:58:32 -05:00
-
:path
:
lib/helpers.rb
:cursor_offset
:
367
:timestamp
:
2012-12-02 13:22:28 -05:00
:selection_offset
:
358
:block_selection_mode
:
false
files_to_retain
:
0
files_to_retain
:
0
.redcar/storage/project_loader.yaml
View file @
ea324f71
---
---
open_files
:
open_files
:
-
.gitignore
-
api/flags.rb
-
lib/helpers.rb
.redcar/storage/sessions.yaml
View file @
ea324f71
...
@@ -4,4 +4,4 @@ bounds:
...
@@ -4,4 +4,4 @@ bounds:
y
:
24
y
:
24
width
:
1857
width
:
1857
height
:
1085
height
:
1085
tree_width
:
3
30
tree_width
:
3
99
.redcar/tags
View file @
ea324f71
This diff is collapsed.
Click to expand it.
api/flags.rb
View file @
ea324f71
put
"
#{
APIPREFIX
}
/
comments/:comment_id/abuse_flags"
do
|
comment
_id
|
put
"
#{
APIPREFIX
}
/
threads/:thread_id/abuse_flags"
do
|
thread
_id
|
flag_as_abuse
comment
flag_as_abuse
thread
end
end
put
"
#{
APIPREFIX
}
/threads/:thread_id/abuse_unflags"
do
|
thread_id
|
put
"
#{
APIPREFIX
}
/threads/:thread_id/abuse_unflags"
do
|
thread_id
|
un_flag_as_abuse
thread
un_flag_as_abuse
thread
end
end
delete
"
#{
APIPREFIX
}
/comments/:comment_id/abuse_flags"
do
|
comment_id
|
undo_flag_as_abuse
comment
end
delete
"
#{
APIPREFIX
}
/comments/:thread_id/abuse_flags"
do
|
thread_id
|
undo_flag_as_abuse
thread
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment