HackMD
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    | Req ID | Requirement | Unit Tests | |---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------| | 1.1.1.1.1 | Users shall be able to create an account using a valid and unique email address or phone number, a unique username, their name, their surname and a password. | test_signup1() test_signup2() test_signup3() test_signup4() test_signup5() test_signup6() test_signup7() test_signup8() | | 1.1.1.2.1 | Users shall be able to log into their account using their email, username or phone number; and password combination. | test_login1() test_login2() test_login3() test_login4() test_get_me() test_get_username() test_get_username2() test_get_username3() | | 1.1.1.2.2 | Users shall be able to reset their password via email verification or sms verification. | | | 1.1.1.3.1 | Users shall be able to log out of their accounts. | | | 1.1.2.1.1 | Guest users shall be able to create only one emergency. | | | 1.1.2.1.2 | Guest users shall be able to view emergencies and activities about disasters, including event types, resources available, and actions taken. | test_get_resource() test_get_all_resources() test_get_nonexistent_resource() | | 1.1.2.1.3 | Guest users shall be able to filter and sort activities about emergencies, events, resources, actions, and needs based on location, date, type etc. | 1.1.2.2.1 | Authenticated users shall have all functionalities that guest users have. | | | 1.1.2.2.2 | Authenticated users shall create activities. | test_create_resource_missing_fields() | | 1.1.2.2.3 | Authenticated users shall be able to update and delete their current active activities. | test_update_resource() test_update_nonexistent_resource() test_delete_nonexistent_resource() | | 1.1.2.2.4 | Authenticated users shall verify their accounts by verifying their phone numbers or emails unless already verified by system admins. | | | 1.1.2.2.5 | Authenticated users shall be able to delete their accounts. | | | 1.1.2.2.6 | Authenticated users shall be able to edit their profiles. | test_update_user() | | 1.1.2.2.7 | Authenticated users shall be able to confirm or reject other users' activities. | | | 1.1.2.2.8 | Authenticated users shall be able to report malicious users or activities to the admins. | | | 1.1.2.2.9 | Authenticated users should be able to receive notifications about certain topics based on location, date, type etc. | | | 1.1.2.2.10 | Authenticated users shall be able to search activities and emergencies. | | | 1.1.2.2.11 | Authenticated users shall be able to search profiles. | | | 1.1.2.2.12 | Users should be able to subscribe to topics using filter and search on topics. | | | 1.1.2.2.13 | Authenticated users should be able to add and delete topics for notifications. | | | 1.1.2.2.16 | If users have not added their phone number or email address to their profile, they shall be able to do so. | | | 1.1.2.2.17 | Authenticated users shall be able to choose a role after adding a valid phone number. | | | 1.1.2.2.18 | Authenticated users shall be able to select who can see their contact information. | | | 1.1.2.2.19 | Authenticated users shall be able to upvote/downvote an action or event to upgrade its reliability scale. | | | 1.1.2.3.1 | Role-Based users shall have all functionalities that authenticated users have. | | | 1.1.2.3.2 | Role-Based users shall be able to search for activities that are related to their proficiency. | | | 1.1.2.3.3 | Role-Based users shall be able to contact people who state their needs are related to Role-Based user proficiency. | | | 1.1.2.3.4 | Role-Based Users shall be able to add information about their proficiency and how they can help. | test_proficiency_request1() test_proficiency_request2() | | 1.1.2.4.1 | Credible users shall have all functionalities that role-based users have. | | | 1.1.2.4.2 | Credible user shall be able to create a special activity which is prioritized on lists and maps. | | | 1.1.3.1 | Admin users shall be able to create actions, such as relieving needs, sending rescue teams, etc... | | | 1.1.3.2 | Admin users shall be able to search users and see the contact information of other users. | | | 1.1.3.3 | Admin users shall be able to view the misinformation reports. | | | 1.1.3.4 | Admin users shall be able to accept or reject a misinformation report. When the misinformation report is accepted, the event will be removed. | | | 1.1.3.5 | Admin users shall be able to remove activities from the platform. | | | 1.1.3.6 | Admin users shall be able to see authenticated and verified users' activities. | | | 1.1.3.7 | Admin users shall be able to cancel verified users' verification or authenticated user's authentication. Once admin users cancel verification/authentication, they shall not be able to be verified or authenticated again. | | | 1.1.3.8 | Admin users shall be able to see and recover canceled verification or authentication. | | | 1.1.3.9 | Admin users shall be able to select or approve users as credible users. | | | 1.1.3.10 | Admin users shall be able to cancel credible users' credibility. | | | 1.1.3.11 | Admin users shall be able to pin some activities at the top to increase their visibility. | | | 1.2.1.1 | A user profile shall have these attributes: Name and surname (required), Email, Phone (at least one is required), Date of birth (optional), Nationality (optional), ID number (optional), Education (optional), Condition of health (optional), etc. | | | 1.2.1.2 | The system should show related actions, needs, resources and events to the authenticated user that has related proficiency. | | | 1.2.2.1 | The system shall allow users to report malicious users and activities. | | | 1.2.2.2 | The system shall allow users to check for a number of other users' upvotes or downvotes about activities. | | | 1.2.2.3 | The system shall carry on reports to the administration system. | | | 1.2.2.4 | The system shall not accept the restricted accounts to register again. | | | 1.2.3.1.1.1 | A resource shall have these attributes: Type, Subtype, Location, Quantity, username, creation time, last update time, status, number of approvals and rejections, reliability scale. | | | 1.2.3.1.1.2 | A resource should have attributes: different resources should have additional attributes if needed, available at certain times, extra information, related needs (optional). | | | 1.2.3.1.2.1 | Resources should be organized in a structured manner to allow for easy access and management. | | | 1.2.3.1.2.2 | The following predefined resources shall be included: food, clothing, accommodation, and human resources. | | | 1.2.3.2.1.1 | Events shall have these attributes: Type, Creation time, Creator username, Location, Interaction rate, Related needs, Confirmer username, Last confirmation time, Approval and Rejection number, Reliability scale. | | | 1.2.3.2.2 | The following predefined event types shall be included: Road Blocked Event, With Live Human Collapsed Event, Power Cut, On-Fire Event, Building Tent City Event. | | | 1.2.3.3.1.1 | Actions shall have these attributes: Type, Creation time, Creator username, Interaction rate, Related resources, needs and events, Confirmer username, Last confirmation time, Approval and Rejection number, Reliability scale, Current status. | | | 1.2.3.3.2.1 | Actions should be created with the following attributes: Start location, End location. | | | 1.2.3.4.1.1 | Needs shall have these attributes: Type, Subtype, Creation time, Creator/Demander username, Location, Quantity, Urgency, Approval and Rejection number, Reliability scale, Current status. | | | 1.2.3.6.1.1 | Emergencies shall have these attributes: Type, Location, Contact Name, Contact Number, Notes, Is Active, Is verified, Number of Upvotes, Number of Downvotes, Creation time, Creator username, Dealt by username, Dealt at time, etc. | | | 1.2.4.1 | The system shall sort activities based on location, reliability scale, date, emergency level etc. | | | 1.2.4.2 | The system shall sort emergencies based on location, reliability scale, date, emergency level etc. | | | 1.2.4.3 | The system shall sort users based on their roles and locations. | | | 1.2.5.1 | Maps shall contain some annotation on them. Annotations shall have different colours based on the emergency level. | | | 1.2.5.2 | The map shall be zoomed in and out and interactable. The annotations in the map should scale up and down accordingly. | | | 1.2.5.3 | The user’s location shall appear on the map so that users are able to understand what’s happening around them | | | 1.2.5.4 | The map shall show the locations that are filtered. | | | 1.2.6.1 | The system shall use the W3C Geolocation API standard for implementing location-related information. | | | 1.2.6.2 | The system shall provide all kinds of search functionality for models. | | | 1.2.6.3 | Users should retrieve results that are semantically similar to their queries. | | | 1.2.6.4 | Users should be able to annotate different models, and annotations should comply with W3C Web Annotation Data Model. | | | 1.2.7.1 | The system shall create in-app and push notifications. | | | 1.2.7.2 | The system should create notifications, if users click the “want to be notified” button on the activity. | | | 1.2.7.3 | The system should create notifications if users' profession might be implying that they can be a resource to a certain need. | | | 1.2.7.4 | The system should create notifications if an event takes place near users' addresses when they provide their addresses. | | | 1.2.8.1 | The system shall collect users' reports about other users in the admin dashboard. | | | 1.2.8.2 | The system shall collect users' reports about activities and events in the admin dashboard. | | | 1.2.8.3 | The system shall sort the reports according to the number of reports. | | | 1.2.8.4 | The system shall hold a list of restricted users and their phone numbers. | | | 1.2.8.5 | The system shall track the restricted users by their phone number in order to prevent new signs up. | | | 1.2.8.6 | The system shall hold the admins' logs. | | | 1.2.9.1 | The system shall support remember me feature. | | | 1.2.9.2 | The system shall support keep me logged in feature. | |

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully