-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forum Thread paging #2473
Merged
Merged
Forum Thread paging #2473
Changes from 16 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
62b7fa1
Basic Infinite Scroll
scopeInfinity eab7c91
Merge branch 'master' of https://github.com/Submitty/Submitty into fo…
scopeInfinity 8b6a488
DB query refactoring
scopeInfinity 43a903f
Reload threads on scroll down
scopeInfinity 0206b19
Merge branch 'master' of https://github.com/Submitty/Submitty into fo…
scopeInfinity 8d07973
Pull all threads at once for MergeThread
scopeInfinity 15d4f64
Bug fixes
scopeInfinity b9dbe08
Filter status within sql query
scopeInfinity 78e2edc
Thread status in cookies
scopeInfinity fa0903d
Minor bug fix
scopeInfinity e51f8ec
input_forum_data.py changes due to Thread Status PR
scopeInfinity 2f3fd90
Load merge thread list when needed
scopeInfinity 89ef166
JS optimization
scopeInfinity f23bdad
Bug Fixes
scopeInfinity edbbc8d
Fixed active thread on next page bug
scopeInfinity 91448f1
Spinner on loading
scopeInfinity 14da976
Bug Fixed
scopeInfinity c00bc18
Merge branch 'master' of https://github.com/Submitty/Submitty into fo…
scopeInfinity 4b260b0
Fixed bug related to edit post
scopeInfinity 0d94e8e
Merge branch 'master' into forum_thread_paging
andrewaikens87 d5aa3a8
Better validation
scopeInfinity e2f8edd
Merge branch 'forum_thread_paging' of https://github.com/Submitty/Sub…
scopeInfinity 6d201b8
Merge branch 'master' into forum_thread_paging
andrewaikens87 9ee5af3
Merge branch 'master' into forum_thread_paging
bmcutler 257ba71
Merge branch 'master' into forum_thread_paging
bmcutler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be validating the lower bound of this page number, i.e. what if the page number is input as -15 (this can be done by simply changing the
next_page
html attribute). This will throw an exception since the offset in the query can't be negative.